diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-06 14:46:44 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-06 17:24:27 -0400 |
| commit | e44281b87fed03b8552a5ebd9f6a9d3a1a2a93a8 (patch) | |
| tree | c25adedcd39979805c5d88c69c826071efdcb40d /src/game.hpp | |
| parent | 8f89b7146db95fb0613683fa8d1e89ed3db1f167 (diff) | |
refactor imgui editor stuff
Diffstat (limited to 'src/game.hpp')
| -rw-r--r-- | src/game.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.hpp b/src/game.hpp index d8e1833..b780b4a 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -7,6 +7,7 @@ #include "event.hpp" #include "imgui.h" #include "ecs.hpp" +#include "window.hpp" using GameTimeDuration = std::chrono::duration<int64_t, std::nano>; using GameTimePoint = std::chrono::steady_clock::time_point; @@ -22,6 +23,10 @@ struct GameSettings { int64_t minFPS = 20; double deltaPerFrame = 1 / double(targetFPS); double minimumDeltaPerFrame = 1 / double(minFPS); + struct { + bool isShowingConsole = true; + bool isShowingEntityList = true; + } editorSettings; }; extern GameSettings pkeSettings; |
