summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-25 14:25:39 +0200
committer_AG <gennariarmando@outlook.com>2019-06-25 14:26:41 +0200
commit28509e216f64a75e77ccb5d040d79001802ec594 (patch)
tree6a3a1c3dd9cfb6820b535c93c6b99520404efedc /src/Timer.h
parentFrontend clean up (diff)
downloadre3-28509e216f64a75e77ccb5d040d79001802ec594.tar
re3-28509e216f64a75e77ccb5d040d79001802ec594.tar.gz
re3-28509e216f64a75e77ccb5d040d79001802ec594.tar.bz2
re3-28509e216f64a75e77ccb5d040d79001802ec594.tar.lz
re3-28509e216f64a75e77ccb5d040d79001802ec594.tar.xz
re3-28509e216f64a75e77ccb5d040d79001802ec594.tar.zst
re3-28509e216f64a75e77ccb5d040d79001802ec594.zip
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Timer.h b/src/Timer.h
index 10bb5d84..c3269d60 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -18,7 +18,8 @@ public:
static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static uint32 GetFrameCounter(void) { return m_FrameCounter; }
static uint32 GetTimeInMilliseconds(void) { return m_snTimeInMilliseconds; }
-
+ static uint32 GetTimeInMillisecondsPauseMode(void) { return m_snTimeInMillisecondsPauseMode; }
+
static inline bool GetIsPaused() { return m_UserPause || m_CodePause; }
static inline bool GetIsUserPaused() { return m_UserPause; }
static inline void SetTimeScale(float ts) { ms_fTimeScale = ts; }