mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-30 08:34:59 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user