Commit Graph

46 Commits

Author SHA1 Message Date
git 4edf0a2bbf feat: Enhance logging with detailed function tracing and argument conversion utilities 2026-01-04 01:58:08 +00:00
git 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
git 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
git b5af532c19 feat: Add TraceFunctionWithArgs for enhanced function entry logging with arguments 2026-01-04 00:41:59 +00:00
git 80609fcf22 feat: Replace trace logging with new logging system and remove trace.hpp 2026-01-04 00:39:49 +00:00
git deea1cc19e feat: Enable Vulkan validation layers and improve GPU diagnostics logging 2026-01-04 00:34:04 +00:00
git 6d542f1046 feat: Integrate logging system for improved error handling and debugging in application components 2026-01-04 00:13:04 +00:00
git 33ca375034 feat: Implement logging system and integrate into application 2026-01-04 00:10:20 +00:00
git e9b944680c feat: Enhance ScriptEngine with Shader and Scene Management
- Added ShaderManager to handle shader paths loading from Lua.
- Integrated SceneManager for managing scene objects within ScriptEngine.
- Updated ScriptEngine to utilize ShaderManager and SceneManager.
- Refactored audio command handling to use AudioManager.
- Improved error handling and Lua integration for shader and scene loading.
- Cleaned up code structure and dependencies in script_engine.hpp.
2026-01-04 00:05:05 +00:00
git 9719c46a39 Add Lua bindings and mesh loading functionality for enhanced scripting support 2026-01-03 23:52:34 +00:00
git 5a4dd23df2 Implement PhysicsBridge and ScriptEngine for enhanced physics and scripting capabilities
- Added PhysicsBridge class to manage physics interactions using Bullet Physics.
- Introduced ScriptEngine class to handle Lua scripting, including loading scene objects and managing audio commands.
- Updated test_cube_script to utilize ScriptEngine instead of CubeScript, ensuring compatibility with new architecture.
- Implemented methods for loading meshes, creating physics objects, and handling audio playback within the ScriptEngine.
- Enhanced error handling and input management for Lua scripts.
2026-01-03 23:44:01 +00:00
git 0ee1f5bc0e Add GPU diagnostics reporting for error handling in rendering 2026-01-03 23:33:11 +00:00
git e27528b110 Implement timeout handling for first frame rendering and enhance swapchain recreation diagnostics 2026-01-03 23:22:43 +00:00
git 0a8b300e14 Add timeout and signal handling for window dimension retrieval in RecreateSwapChain 2026-01-03 23:10:09 +00:00
git 265302fec3 Implement signal handling to gracefully stop the application 2026-01-03 22:59:38 +00:00
git 3a4fc2ea8b Enhance validation and error handling across the application
- Implement early Vulkan validation to check availability and version.
- Add comprehensive GPU detection and selection feedback.
- Validate swap chain support and window dimensions before creation.
- Introduce buffer size validation and memory checks during buffer creation.
- Improve error messages with actionable troubleshooting steps.
- Create scripts for rebuilding and testing the application with validation improvements.
2026-01-03 22:56:37 +00:00
git 070992935c Implement comprehensive error handling and feedback for SDL and Vulkan initialization 2026-01-03 22:43:02 +00:00
Richard Ward 8f434d8fd0 lua audio support 2025-12-19 17:21:23 +00:00
Richard Ward d690516c2c sound work 2025-12-19 17:11:38 +00:00
Richard Ward 9ce36f3839 glm stuff 2025-12-19 16:44:45 +00:00
Richard Ward 1a37903435 bullet3 support 2025-12-19 16:39:30 +00:00
Richard Ward 96ac0fbba6 load from stl 2025-12-19 16:30:00 +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 2b23dbb79a repair 2025-12-19 11:32:32 +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 42545375cf better feedback 2025-12-19 11:19:12 +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 302b2e49a8 gui framework 2025-12-19 02:56:59 +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 49843d6664 extract out code 2025-12-18 21:28:40 +00:00
Richard Ward 0832cd0fc7 various fixes 2025-12-18 21:21:12 +00:00
Richard Ward 748288300a break up blob 2025-12-18 19:19:56 +00:00
Richard Ward 3ca9ce773d code 2025-12-18 19:13:31 +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