summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
committeraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
commitc4f9b9573f1535d3297946fbb5c73393594ffa24 (patch)
tree47acb1934d86d3ab220035258a2345f526c9b922 /src/Timer.h
parentmore work on CPhysical (diff)
downloadre3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.gz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.bz2
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.lz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.xz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.zst
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.zip
Diffstat (limited to '')
-rw-r--r--src/Timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Timer.h b/src/Timer.h
index a96574ce..e92fe9e1 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -14,6 +14,7 @@ class CTimer
static bool &m_CodePause;
public:
static float GetTimeStep(void) { return ms_fTimeStep; }
+ static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static uint32 GetFrameCounter(void) { return m_FrameCounter; }
static uint32 GetTimeInMilliseconds(void) { return m_snTimeInMilliseconds; }
};