Commit Graph

269 Commits

Author SHA1 Message Date
4b72ecce00 feat: Refactor target_link_libraries for sdl3_app and script_engine_tests for improved readability 2026-01-05 04:35:44 +00:00
40bf31964b feat: Integrate cpptrace for enhanced crash reporting and stack trace generation 2026-01-05 04:13:30 +00:00
ec7c3fd880 fix: Ensure boolean values are correctly converted to strings in TraceVariable method 2026-01-05 04:01:00 +00:00
da79e4b566 feat: Enhance logging in CreateWindow method for SDL initialization and window creation 2026-01-05 03:41:50 +00:00
4ec64c1666 feat: Add logging configuration to ServiceBasedApp and initialize SDL video subsystem correctly 2026-01-05 03:34:25 +00:00
f5be339aab feat: Add _strip_leading_double_dash function to clean up argument handling in CLI commands 2026-01-05 03:14:37 +00:00
b034c3760c docs: Update README.md for improved clarity and structure, enhancing overview, prerequisites, quick start, and runtime configuration sections 2026-01-05 03:12:56 +00:00
821c207915 feat: Enhance language-specific guidelines for Kotlin and Python in codex-skill.yaml 2026-01-05 03:07:17 +00:00
38862416d5 feat: Add 8x8 monochrome bitmap font and update include path in gui_renderer 2026-01-05 03:02:55 +00:00
efc19b6d98 refactor: Change FindScriptPath method from static to instance method in JsonConfigService 2026-01-05 02:55:36 +00:00
dc81e03221 refactor: Update CMake argument handling for toolchain and cache detection 2026-01-05 02:53:19 +00:00
14163d5e5a refactor: Add functions to handle Conan toolchain detection and integration 2026-01-05 02:36:50 +00:00
147d373a5d Enhance logging across various services
- Added detailed logging to the ScriptEngineService to trace initialization status.
- Improved logging in SdlAudioService to track audio operations including initialization, shutdown, and playback functions.
- Enhanced SdlInputService with logging for key and mouse events, as well as state retrieval.
- Updated SdlWindowService to log window creation, destruction, and event polling.
- Added logging to ShaderScriptService for shader path loading and Lua state retrieval.
- Implemented logging in SwapchainService for swapchain operations, including creation, cleanup, and querying support details.
- Enhanced VulkanDeviceService with logging for device creation, shutdown, and memory type queries.
- Improved VulkanGuiService with logging for GUI initialization, frame preparation, and rendering operations.
2026-01-05 00:51:42 +00:00
dd8a9cf4e7 refactor: Replace PhysicsBridge with PhysicsBridgeService and update related implementations 2026-01-05 00:04:03 +00:00
bb497aaae2 refactor: Restructure GUI renderer implementation and update service dependencies 2026-01-04 23:59:09 +00:00
c727d7ff38 refactor: Update physics bridge integration and service architecture 2026-01-04 23:51:31 +00:00
19c369aac1 Refactor script services to improve Lua integration and logging
- Updated MeshService to use MeshPayload directly instead of script::MeshPayload.
- Enhanced SceneScriptService with detailed logging and error handling for Lua interactions.
- Introduced ILogger dependency in SceneScriptService and ShaderScriptService for better traceability.
- Implemented Lua state management in ScriptEngineService, allowing direct access to Lua functions.
- Added new types for mesh and scene management, including MeshPayload and SceneObject.
- Refactored shader loading logic in ShaderScriptService to utilize Lua for shader path retrieval.
- Created GuiInputSnapshot and GuiCommand structures for GUI input handling.
- Updated input and GUI script services to use new types and improved interfaces.
- Enhanced test_cube_script to validate new service implementations and Lua interactions.
2026-01-04 23:46:46 +00:00
7328eaa517 refactor: Introduce command line and JSON config writer services, enhance runtime configuration handling 2026-01-04 18:51:53 +00:00
7503dc440a refactor: Replace controllers with service-based architecture for application lifecycle and rendering 2026-01-04 18:29:04 +00:00
3a0707cceb refactor: Introduce GUI renderer service and update application service architecture 2026-01-04 18:19:27 +00:00
00a359d85f refactor: Enhance service architecture by introducing IPlatformService and updating dependencies
- Removed core/platform.hpp and core/vulkan_utils.cpp, integrating their functionality into new platform_service implementations.
- Updated service registrations to utilize IPlatformService for improved modularity.
- Refactored event bus usage across services to leverage IEventBus interface.
- Enhanced buffer management in BufferService with detailed logging and error handling.
- Updated GUI rendering services to utilize buffer service for resource management.
- Cleaned up includes and improved overall code organization for better maintainability.
2026-01-04 17:43:18 +00:00
1e6be869e0 Refactor script and audio services to enhance logging and remove unused components
- Removed the LuaScriptService implementation and interface as it was redundant.
- Updated ShaderManager and ScriptEngine to utilize ILogger for improved logging.
- Enhanced SdlAudioService with detailed logging for audio operations and error handling.
- Refactored physics bridge service to include logging for physics operations.
- Updated interfaces to remove IScriptService and adjust dependencies accordingly.
- Cleaned up includes and organized namespaces for better code clarity.
2026-01-04 17:14:06 +00:00
e4278de6d8 refactor: Remove PhysicsBridge integration from script engine and services for improved modularity 2026-01-04 16:11:48 +00:00
9eb4383ef8 refactor: Remove MeshLoader implementation to streamline script handling 2026-01-04 15:54:58 +00:00
1fee867237 stuff 2026-01-04 15:54:52 +00:00
704dd7f2f1 stuff 2026-01-04 15:54:42 +00:00
6b98369bd7 stuff 2026-01-04 15:54:28 +00:00
41b58afc69 refactor: Introduce script engine and related services for enhanced scripting capabilities 2026-01-04 15:39:07 +00:00
0a893172c1 refactor: Update audio service integration and logger usage in application components 2026-01-04 15:07:30 +00:00
2caecabd63 refactor: Integrate audio update mechanism in ApplicationController for improved audio management 2026-01-04 15:06:34 +00:00
7b101f23ef refactor: Update SdlAudioService to use SDL audio stream for playback and cleanup 2026-01-04 15:06:27 +00:00
87e8de27f3 refactor: Implement SDL audio initialization, playback, and cleanup in SdlAudioService 2026-01-04 15:06:13 +00:00
9bf9d0c8e9 refactor: Enhance SdlAudioService by adding AudioData struct and related methods for improved audio handling 2026-01-04 15:03:15 +00:00
e2be23ddf0 refactor: Remove logger implementation and update CMakeLists to reflect changes 2026-01-04 15:03:09 +00:00
4a8e454d60 refactor: Update LogRuntimeConfig to cast width and height to int for logging and adjust log level declaration 2026-01-04 14:59:47 +00:00
0b3a0432f6 refactor: Update LogRuntimeConfig to use fully qualified ILogger type and stub SetAudioPlayer method in LuaScriptService for service-based audio handling 2026-01-04 14:59:33 +00:00
b5d9438253 refactor: Remove SetAudioPlayer method from AudioManager and ScriptEngine, transitioning to service-based audio handling 2026-01-04 14:59:10 +00:00
e79759329b refactor: Remove ExecuteAudioCommand from AudioManager, transitioning to service-based audio handling 2026-01-04 14:59:01 +00:00
965bf28a8f refactor: Remove audio player command execution from AudioManager, transitioning to service-based handling 2026-01-04 14:58:54 +00:00
445db77bb0 refactor: Remove AudioPlayer integration from AudioManager and transition to service-based audio handling 2026-01-04 14:58:48 +00:00
f76be2d4e2 refactor: Remove AudioPlayer references and transition to service-based audio management 2026-01-04 14:58:27 +00:00
8d269b8c67 Remove SDL3 application rendering and swapchain management code
- Deleted sdl3_app_render.cpp and sdl3_app_swapchain.cpp files, which contained the rendering and swapchain management logic for the SDL3 application.
- Removed associated header files and macros that were no longer needed.
- Eliminated the Vulkan API wrapper functions and the script service implementation, streamlining the codebase.
- This cleanup reduces complexity and potential maintenance overhead for the SDL3 application.
2026-01-04 14:55:18 +00:00
a4802179e0 fix: Update error handling in ServiceBasedApp and main to fallback to console logging when logger is unavailable 2026-01-04 14:54:43 +00:00
7b549804f9 feat: Refactor LogRuntimeConfig to use ILogger for improved logging consistency 2026-01-04 14:54:21 +00:00
471b18e58c feat: Add ConfigureLogging method and GetLogger for improved logging configuration 2026-01-04 14:54:12 +00:00
b24e1062a0 feat: Add ConfigureLogging method to ServiceBasedApp for enhanced logging configuration 2026-01-04 14:54:02 +00:00
da0499a469 fix: Correct logging calls in RecreateSwapchain and OnWindowResized for consistency 2026-01-04 14:51:09 +00:00
80d8866924 feat: Add ILogger dependency to SwapchainService and update logging calls for consistency 2026-01-04 14:51:03 +00:00
084c71e9a6 feat: Replace logging calls with ILogger in SwapchainService for improved consistency 2026-01-04 14:50:53 +00:00
954d7dd897 feat: Add ILogger dependency to SwapchainService for improved logging 2026-01-04 14:50:44 +00:00