Commit Graph

38 Commits

Author SHA1 Message Date
7328eaa517 refactor: Introduce command line and JSON config writer services, enhance runtime configuration handling 2026-01-04 18:51:53 +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
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
f76be2d4e2 refactor: Remove AudioPlayer references and transition to service-based audio management 2026-01-04 14:58:27 +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
38db5b76c9 feat: Move width, height, and device extensions constants into app namespace 2026-01-04 13:54:14 +00:00
59e3b9509e feat: Introduce service-based architecture with Scene and Graphics services for improved rendering and scene management 2026-01-04 13:47:33 +00:00
b6c697196a feat: Enforce "no macros" policy with CI checks, compiler warnings, and documentation 2026-01-04 02:12:48 +00:00
e86f277b19 feat: Include string_utils.hpp in audio_player, platform, main, and lua_helpers for enhanced logging capabilities 2026-01-04 02:00:41 +00:00
4edf0a2bbf feat: Enhance logging with detailed function tracing and argument conversion utilities 2026-01-04 01:58:08 +00:00
d8d1c0a557 feat: Enhance logging system with platform-specific error handling and trace functionality
- Added platform detection and user configuration directory retrieval in platform.cpp and platform.hpp.
- Implemented detailed error reporting for Windows in platform.cpp.
- Updated logger to use std::source_location for improved trace logging in logger.hpp.
- Refactored existing trace guards in various application files to remove function name parameters, utilizing the new logger functionality.
- Introduced a new script (add_traces.sh) to automate the addition of logging includes in relevant source files.
- Enhanced audio_player.cpp and other script files to include detailed logging for function entries and variable states.
2026-01-04 01:38:31 +00:00
198179bfca Refactor logging and tracing in SDL3 application
- Replaced macro-based logging with a dedicated Logger class for improved readability and maintainability.
- Introduced TraceGuard class for automatic function entry/exit logging.
- Updated all relevant source files to utilize the new logging and tracing mechanisms.
- Consolidated SDL_MAIN_HANDLED definition into a separate header file (sdl_macros.hpp) for better organization.
- Ensured consistent logging practices across the application, including error handling and debug information.
2026-01-04 01:14:05 +00:00
80609fcf22 feat: Replace trace logging with new logging system and remove trace.hpp 2026-01-04 00:39:49 +00:00
33ca375034 feat: Implement logging system and integrate into application 2026-01-04 00:10:20 +00:00
e27528b110 Implement timeout handling for first frame rendering and enhance swapchain recreation diagnostics 2026-01-03 23:22:43 +00:00
265302fec3 Implement signal handling to gracefully stop the application 2026-01-03 22:59:38 +00:00
070992935c Implement comprehensive error handling and feedback for SDL and Vulkan initialization 2026-01-03 22:43:02 +00:00
Richard Ward
22e49a73be better docs and things 2025-12-19 13:57:53 +00:00
Richard Ward
845aea848b add lua debug mode 2025-12-19 12:13:22 +00:00
Richard Ward
57380381a9 repair 2025-12-19 11:50:08 +00:00
Richard Ward
65255adfa7 improve trace 2025-12-19 11:30:46 +00:00
Richard Ward
ff3c7c6eb5 repqir 2025-12-19 11:25:58 +00:00
Richard Ward
4cf3f2d2f0 better debug 2025-12-19 11:25:05 +00:00
Richard Ward
b6f8a6dee8 tidy 2025-12-19 11:14:59 +00:00
Richard Ward
36f1c5f198 json debug stuff 2025-12-19 11:07:32 +00:00
Richard Ward
c6c7491beb ship it squrrel 2025-12-19 03:29:34 +00:00
Richard Ward
e771913059 better help 2025-12-19 03:07:22 +00:00
Richard Ward
eb95a296ec mod cli 2025-12-19 02:21:04 +00:00
Richard Ward
9bb09e593f nice cli 2025-12-19 02:17:05 +00:00
Richard Ward
4f31fa3725 add cli and config 2025-12-19 02:05:22 +00:00
Richard Ward
748288300a break up blob 2025-12-18 19:19:56 +00:00
Richard Ward
be008b19ca break it up a bit 2025-12-18 18:56:31 +00:00
Richard Ward
bc6794787e multi object support 2025-12-18 18:49:15 +00:00
Richard Ward
30fc2d74a4 lua cplusplus cube spinner 2025-12-18 18:29:33 +00:00
Richard Ward
067881dac6 more initial code 2025-12-18 18:05:14 +00:00