diff --git a/.idea/.idea.KhaoticEngineReborn/.idea/projectSettingsUpdater.xml b/.idea/.idea.KhaoticEngineReborn/.idea/projectSettingsUpdater.xml
index 4bb9f4d..64af657 100644
--- a/.idea/.idea.KhaoticEngineReborn/.idea/projectSettingsUpdater.xml
+++ b/.idea/.idea.KhaoticEngineReborn/.idea/projectSettingsUpdater.xml
@@ -1,6 +1,7 @@
-
+
+
\ No newline at end of file
diff --git a/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml b/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml
index 6e04e8f..fc53c90 100644
--- a/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml
+++ b/.idea/.idea.KhaoticEngineReborn/.idea/workspace.xml
@@ -5,21 +5,10 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
@@ -37,36 +26,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -85,7 +45,7 @@
"keyToString": {
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
"C++ Project.enginecustom.executor": "Run",
- "C/C++ Project.enginecustom.executor": "Run",
+ "C/C++ Project.enginecustom.executor": "Debug",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
@@ -98,21 +58,13 @@
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
- },
- "keyToStringList": {
- "rider.external.source.directories": [
- "C:\\Users\\arivas\\AppData\\Roaming\\JetBrains\\Rider2024.1\\resharper-host\\DecompilerCache",
- "C:\\Users\\arivas\\AppData\\Roaming\\JetBrains\\Rider2024.1\\resharper-host\\SourcesCache",
- "C:\\Users\\arivas\\AppData\\Local\\Symbols\\src"
- ]
}
}]]>
-
+
-
+
-
@@ -120,18 +72,19 @@
+
+
-
+
-
@@ -139,8 +92,10 @@
+
+
@@ -177,6 +132,8 @@
+
+
@@ -219,6 +176,13 @@
+
+
+
+
+
+
+
diff --git a/enginecustom/src/src/system/Systemclass.cpp b/enginecustom/src/src/system/Systemclass.cpp
index dfab63e..949808b 100644
--- a/enginecustom/src/src/system/Systemclass.cpp
+++ b/enginecustom/src/src/system/Systemclass.cpp
@@ -150,7 +150,7 @@ void SystemClass::Run()
// Ask For the scene file
- SetScenePath();
+ GetScenePath();
m_Application->LoadScene();
diff --git a/enginecustom/src/src/system/applicationclass.cpp b/enginecustom/src/src/system/applicationclass.cpp
index c24fe21..651d8b8 100644
--- a/enginecustom/src/src/system/applicationclass.cpp
+++ b/enginecustom/src/src/system/applicationclass.cpp
@@ -2253,5 +2253,10 @@ void ApplicationClass::SaveScene()
void ApplicationClass::LoadScene()
{
// Read the file and load the scene
+ // File is in a custom format
+ // every object is defined by a line with the following format:
+ // m_id,m_scaleMatrix,m_rotateMatrix,m_translateMatrix,m_srMatrix,
+ // m_worldMatrix,m_mass,m_isPhysicsEnabled,m_name,m_type,m_activeShader,
+ // m_boundingRadius,m_texture[n],m_demoSpinning
}
\ No newline at end of file