From e44281b87fed03b8552a5ebd9f6a9d3a1a2a93a8 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 6 Sep 2023 14:46:44 -0400 Subject: refactor imgui editor stuff --- src/game.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game.hpp') 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; 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; -- cgit v1.2.3