From 7fc4b088085200e4ea212d57c00899b221ae9a6c Mon Sep 17 00:00:00 2001 From: CatChow0 Date: Wed, 17 Sep 2025 00:01:13 +0200 Subject: [PATCH] Minor - Improves scene loading and audio component - V13.6.0 Refactors scene loading to properly initialize models and textures from the scene file. Adds audio component deserialization and file path handling. Fixes model loading and texture application in scene manager. Addresses potential issues with missing components during scene loading. --- .../.idea/workspace.xml | 51 +++--- enginecustom/DemoScene_V13.6.0.ker | 8 + enginecustom/src/inc/system/ecs/component.h | 2 + .../system/ecs/components/audio_component.h | 17 +- .../system/ecs/components/render_component.h | 124 +++++++++++-- enginecustom/src/src/system/model_class.cpp | 27 +-- enginecustom/src/src/system/scene_manager.cpp | 165 +++++------------- 7 files changed, 223 insertions(+), 171 deletions(-) create mode 100644 enginecustom/DemoScene_V13.6.0.ker diff --git a/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml b/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml index 4adbfc5..467c771 100644 --- a/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml +++ b/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml @@ -6,13 +6,11 @@ - + - - - - + + + @@ -42,7 +41,6 @@ - {} @@ -64,26 +62,26 @@