From e7d90aa34ebb5898785d8432e01f25c5b03d021b Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 9 Dec 2024 17:13:37 +0100 Subject: removed white line and standard target fps = 60 --- src/crepe/api/LoopManager.cpp | 1 - src/crepe/manager/LoopTimerManager.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp index 464dab9..de249ec 100644 --- a/src/crepe/api/LoopManager.cpp +++ b/src/crepe/api/LoopManager.cpp @@ -1,5 +1,4 @@ #include "../facade/SDLContext.h" - #include "../manager/EventManager.h" #include "../system/AnimatorSystem.h" #include "../system/CollisionSystem.h" diff --git a/src/crepe/manager/LoopTimerManager.h b/src/crepe/manager/LoopTimerManager.h index 84178eb..8fc69ed 100644 --- a/src/crepe/manager/LoopTimerManager.h +++ b/src/crepe/manager/LoopTimerManager.h @@ -138,7 +138,7 @@ private: private: //! Target frames per second - int target_fps = 50; + int target_fps = 60; //! Actual frames per second int actual_fps = 0; //! Time scale for speeding up or slowing down the game (0 = pause, < 1 = slow down, 1 = normal speed, > 1 = speed up) -- cgit v1.2.3