summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-01 20:50:26 +0200
committeraap <aap@papnet.eu>2020-06-01 20:50:26 +0200
commitc00f7a8d222dae3f9a3989fefdd875ca2ef19c04 (patch)
treecb5380b1130b6e96be7e53e6d248246a4cbeda6a /src
parenthanim fix (diff)
downloadre3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar.gz
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar.bz2
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar.lz
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar.xz
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.tar.zst
re3-c00f7a8d222dae3f9a3989fefdd875ca2ef19c04.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/Timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h
index e7b6fec8..4e8b8805 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -18,10 +18,10 @@ public:
static const float &GetTimeStep(void) { return ms_fTimeStep; }
static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static float GetTimeStepInSeconds() { return ms_fTimeStep / 50.0f; }
- static float GetTimeStepInMilliseconds() { return ms_fTimeStep / 50.0f * 1000.0f; }
+ static uint32 GetTimeStepInMilliseconds() { return ms_fTimeStep / 50.0f * 1000.0f; }
static const float &GetTimeStepNonClipped(void) { return ms_fTimeStepNonClipped; }
static float GetTimeStepNonClippedInSeconds(void) { return ms_fTimeStepNonClipped / 50.0f; }
- static float GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; }
+ static uint32 GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; }
static void SetTimeStepNonClipped(float ts) { ms_fTimeStepNonClipped = ts; }
static const uint32 &GetFrameCounter(void) { return m_FrameCounter; }
static void SetFrameCounter(uint32 fc) { m_FrameCounter = fc; }