summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-06-17 12:37:59 +0200
committerGitHub <noreply@github.com>2019-06-17 12:37:59 +0200
commit0bb8bf9d1505792a0fd4f9872fd57fca8f197d13 (patch)
treecc2c85e0ccf486546de22074639d0e8fbe032f65 /src/Timer.h
parentMerge pull request #7 from GTAmodding/master (diff)
parentMerge pull request #20 from gennariarmando/master (diff)
downloadre3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.gz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.bz2
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.lz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.xz
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.tar.zst
re3-0bb8bf9d1505792a0fd4f9872fd57fca8f197d13.zip
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Timer.h b/src/Timer.h
index fa93a65e..10bb5d84 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -19,17 +19,18 @@ public:
static uint32 GetFrameCounter(void) { return m_FrameCounter; }
static uint32 GetTimeInMilliseconds(void) { return m_snTimeInMilliseconds; }
- static inline Bool GetIsPaused() { return m_UserPause || m_CodePause; }
- static inline void SetTimeScale(Float ts) { ms_fTimeScale = ts; }
+ 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; }
static void Initialise(void);
static void Shutdown(void);
static void Update(void);
static void Suspend(void);
static void Resume(void);
- static UInt32 GetCyclesPerMillisecond(void);
- static UInt32 GetCurrentTimeInCycles(void);
- static Bool GetIsSlowMotionActive(void);
+ static uint32 GetCyclesPerMillisecond(void);
+ static uint32 GetCurrentTimeInCycles(void);
+ static bool GetIsSlowMotionActive(void);
static void Stop(void);
static void StartUserPause(void);
static void EndUserPause(void);