#ifndef PKE_GAME_HPP #define PKE_GAME_HPP #include #include using GameTimeDuration = std::chrono::duration; using GameTimePoint = std::chrono::steady_clock::time_point; struct GameSettings { bool isGameRunning = true; bool isGamePaused = false; bool isFramerateUnlocked = true; int64_t targetFPS = 144; GameTimeDuration nanosecondsPerFrame = GameTimeDuration(std::chrono::nanoseconds::period::den / targetFPS); }; extern GameSettings pkeSettings; #endif /* PKE_GAME_HPP */