Minor - Improves scene editor and adds audio support - V13.1.0

Improves the scene editor by adding an inspector window to view and modify entity components.

Adds audio component support with basic playback controls integrated into the inspector.

Adds default audio files.
This commit is contained in:
2025-09-10 02:00:21 +02:00
parent 42c44b9ff1
commit 7d33e2da72
15 changed files with 504 additions and 337 deletions

View File

@@ -2,6 +2,7 @@
#include <memory>
#include <typeindex>
#include <typeinfo>
#include <imgui.h>
/**
* namespace for the Entity-Component-System (ECS)
@@ -45,6 +46,12 @@ public:
* @return True if deserialization was successful, otherwise false.
*/
virtual bool Deserialize(const std::string& data) { return false;}
/**
* Virtual function to render ImGui controls for the component.
* This can be overridden by derived components to provide custom UI.
*/
virtual void OnImGuiRender() { /* Default implementation does nothing */ }
};