From 958ee36629199464c4d26ff3614e426a6265d70e Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 9 Oct 2023 14:12:30 -0400 Subject: move GameSettings --- src/game.hpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/game.hpp') diff --git a/src/game.hpp b/src/game.hpp index 2156c8f..69b916c 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -19,25 +19,6 @@ using GameTimePoint = std::chrono::steady_clock::time_point; #define NANO_DENOM std::chrono::nanoseconds::period::den #define NANO_DENOM_DOUBLE double(std::chrono::nanoseconds::period::den) -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); - double minimumDeltaPerFrame = 1 / double(minFPS); - struct { - bool isShowingConsole = true; - bool isShowingEntityList = true; - bool isShowingSceneEditor = true; - bool isShowingUBO = true; - } editorSettings; -}; - -extern GameSettings pkeSettings; - void Game_Init(); void Game_Tick(double delta); void Game_Teardown(); -- cgit v1.2.3