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.
This commit is contained in:
2026-01-04 17:14:06 +00:00
parent e4278de6d8
commit 1e6be869e0
33 changed files with 589 additions and 1527 deletions

View File

@@ -37,6 +37,7 @@ void ScriptEngineService::Initialize() {
bindingContext_->meshService = meshService_;
bindingContext_->audioCommandService = audioCommandService_;
bindingContext_->physicsBridgeService = physicsBridgeService_;
bindingContext_->logger = logger_;
engine_ = std::make_unique<script::ScriptEngine>(scriptPath_, bindingContext_.get(), debugEnabled_);
initialized_ = true;