aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 18:33:06 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 18:33:06 +0100
commit1087daecae46cd7acc3f64c5169e56f59953b599 (patch)
treef2f2d941374a6e72afea50d698d2cfdde12d18c4 /src
parent98a850627aaf9f506ba60bbd4b33e91f9d0471a1 (diff)
fps to unsigned
Diffstat (limited to 'src')
-rw-r--r--src/crepe/manager/LoopTimerManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/manager/LoopTimerManager.h b/src/crepe/manager/LoopTimerManager.h
index 0eda156..91403e4 100644
--- a/src/crepe/manager/LoopTimerManager.h
+++ b/src/crepe/manager/LoopTimerManager.h
@@ -149,9 +149,9 @@ private:
private:
//! Target frames per second.
- int target_fps = 60;
+ unsigned target_fps = 60;
//! Actual frames per second.
- int actual_fps = 0;
+ unsigned actual_fps = 0;
//! Time scale for speeding up or slowing down the game (0 = pause, < 1 = slow down, 1 = normal speed, > 1 = speed up).
float time_scale = 1;
//! Maximum delta time in seconds to avoid large jumps.