diff options
Diffstat (limited to 'src/game-settings.hpp')
| -rw-r--r-- | src/game-settings.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game-settings.hpp b/src/game-settings.hpp index 2f7fb26..a624bd6 100644 --- a/src/game-settings.hpp +++ b/src/game-settings.hpp @@ -1,6 +1,7 @@ #ifndef PKE_GAME_SETTINGS_HPP #define PKE_GAME_SETTINGS_HPP +#include <chrono> #include <cstdint> struct GameSettings { @@ -9,6 +10,7 @@ struct GameSettings { bool isFramerateUnlocked = true; bool isShowingEditor = true; bool isRenderingDebug = false; + std::chrono::steady_clock steadyClock; int64_t targetFPS = 144; int64_t minFPS = 20; double deltaPerFrame = 1 / double(targetFPS); |
