aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:13:37 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:13:37 +0100
commite7d90aa34ebb5898785d8432e01f25c5b03d021b (patch)
tree62ceadaa9e06a2751de98fc0a4fa1febf81c1703
parent9a8bc1fb1f7da2164cef6fa8cc1f4b48bd9c1769 (diff)
removed white line and standard target fps = 60
-rw-r--r--src/crepe/api/LoopManager.cpp1
-rw-r--r--src/crepe/manager/LoopTimerManager.h2
2 files changed, 1 insertions, 2 deletions
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)