From 1087daecae46cd7acc3f64c5169e56f59953b599 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 11 Dec 2024 18:33:06 +0100 Subject: fps to unsigned --- src/crepe/manager/LoopTimerManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crepe/manager/LoopTimerManager.h') 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. -- cgit v1.2.3