summaryrefslogtreecommitdiff
path: root/src/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.hpp')
-rw-r--r--src/game.hpp4
1 files changed, 4 insertions, 0 deletions
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 <chrono>
#include <cstdint>
+#include "event.hpp"
+#include "imgui.h"
#include "ecs.hpp"
using GameTimeDuration = std::chrono::duration<int64_t, std::nano>;
@@ -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 */