Conversation
…ate, and PlayState classes
…xt, and related interfaces
…guration handling and initialization
… in composer files
… and improve documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several significant enhancements and new features to the Sendama CLI, focusing on editor and debugging capabilities, as well as improvements to project scaffolding and dependency management. Key highlights include the addition of a new in-console editor command, extensive editor-related classes, a robust debugging/logging system, and updates to project generation logic.
Editor and Scene Management Enhancements:
editcommand (EditGame) that allows users to edit game configuration directly from the CLI, leveraging the newEditorinfrastructure.EditorSettings,EditorSceneSettings,ExecutionContext, andFocusTargetContext, enabling structured management of editor state, scene settings, and execution context. [1] [2] [3] [4]ChronoUnit,EventType,EditorEvent, andKeyboardEvent. [1] [2] [3] [4]Debugging and Logging System:
Debugclass with support for configurable log levels, log directories, and methods for logging debug, info, warning, and error messages. This is complemented by aLogLevelenum and a customDebugExceptionfor error handling. [1] [2] [3]Project Generation and Dependency Management:
NewGamecommand to ensure theconfigdirectory is created and to include a template-basedconfig/input.phpfile in new projects. [1] [2] [3]pestphp/pestto^4.3.GenerateScenecommand to support new options for scene type and class/meta file generation. [1] [2]Dependency and Autoloading Updates:
composer.jsonto require PHP^8.4, added theatatusoft-ltd/termutildependency, and configured autoloading for theAtatusoft\Termutilnamespace. [1] [2]Documentation:
README.mdfor improved project branding.Editor and Scene Management
editcommand (EditGame) and supporting editor infrastructure, including settings, context, and event handling classes. [1] [2] [3] [4] [5] [6] [7] [8] [9]Debugging and Logging
Debugclass,LogLevelenum, andDebugExceptionfor structured logging and error handling. [1] [2] [3]Project Generation
configdirectory and a generatedconfig/input.phpfile; updated dev dependencies for new projects. [1] [2] [3] [4]GenerateScenecommand with new options for scene type and file format. [1] [2]Dependencies and Autoloading
atatusoft-ltd/termutilas a dependency, and configured autoloading for new namespaces. [1] [2]Documentation
README.md.