Commit Graph

16 Commits

Author SHA1 Message Date
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
6d542f1046 feat: Integrate logging system for improved error handling and debugging in application components 2026-01-04 00:13:04 +00:00
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
9719c46a39 Add Lua bindings and mesh loading functionality for enhanced scripting support 2026-01-03 23:52:34 +00:00
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
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
845aea848b add lua debug mode 2025-12-19 12:13:22 +00:00
Richard Ward
c6c7491beb ship it squrrel 2025-12-19 03:29:34 +00:00
Richard Ward
302b2e49a8 gui framework 2025-12-19 02:56:59 +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