61 static void SetInstance(
EngineCore& engineCore);
64 bool isEditor =
false;
65 const char* applicationModuleName =
nullptr;
66 const char* applicationTitle =
nullptr;
67 const char* projectPath =
nullptr;
68 const char* engineBinaryPath =
nullptr;
74 virtual void LoadPluginList();
75 virtual void InitializeScene(
bool shouldLoadSceneFromDefaults,
const char* scenePath =
nullptr);
76 virtual void ShowMainWindow();
80 virtual void RunEditorLoopIteration();
81 virtual void RunLoopIteration();
82 virtual void UpdateWindows();
97 virtual std::filesystem::path GetProjectPath()
const;
98 virtual std::filesystem::path GetBinaryPath()
const;
99 virtual std::filesystem::path GetEngineBinaryPath()
const;
100 virtual std::filesystem::path GetAssetsPath()
const;
101 virtual std::filesystem::path GetEngineAssetsPath()
const;
102 virtual std::filesystem::path GetAssetPath(std::string subPath)
const;
103 virtual entt::registry& GetEntityRegistry();
104 virtual void ReloadCsharpBinaries();
108 virtual void CalculateDeltaTime();
109 virtual double GetTimeSinceLaunch()
const;
110 virtual double GetDeltaTime()
const;
118 std::function<void()> callbackReloadCsharp;
119 bool isEditor =
false;
121 double currentTime = 0.0;
122 double deltaTime = 0.0;
123 std::chrono::steady_clock::time_point firstFrameTime;
124 std::chrono::steady_clock::time_point lastFrameTime;
134 bool shouldClose =
false;
135 std::filesystem::path projectPath;
136 std::filesystem::path binaryPath;
137 std::filesystem::path engineBinaryPath;
138 std::filesystem::path engineAssetsPath;
139 std::filesystem::path assetsPath;
Definition WorldContextManager.hpp:12