From 6a5c90864dcddd924488c4b5ded34ab6bd7863dd Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 31 Aug 2023 14:00:32 -0400 Subject: first pass add ImGui console --- src/game.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.hpp') diff --git a/src/game.hpp b/src/game.hpp index fad551b..7159e0c 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -4,6 +4,8 @@ #include #include +#include "event.hpp" +#include "imgui.h" #include "ecs.hpp" using GameTimeDuration = std::chrono::duration; @@ -15,6 +17,7 @@ struct GameSettings { bool isGameRunning = true; bool isGamePaused = false; bool isFramerateUnlocked = true; + bool isShowingEditor = true; int64_t targetFPS = 144; int64_t minFPS = 20; double deltaPerFrame = 1 / double(targetFPS); @@ -23,6 +26,7 @@ struct GameSettings { extern GameSettings pkeSettings; +void GameInit(); void GameTick(double delta); #endif /* PKE_GAME_HPP */ -- cgit v1.2.3