summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-17 00:16:38 +0200
committeraap <aap@papnet.eu>2019-06-17 00:23:19 +0200
commit0add48abf589330ae6fe11e304c111d9f52ce009 (patch)
treee9f4374bf520a2fdfb9f3d66cd4ed0aa822a020b /src/Timer.h
parentupdated guidelines (diff)
downloadre3-0add48abf589330ae6fe11e304c111d9f52ce009.tar
re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.gz
re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.bz2
re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.lz
re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.xz
re3-0add48abf589330ae6fe11e304c111d9f52ce009.tar.zst
re3-0add48abf589330ae6fe11e304c111d9f52ce009.zip
Diffstat (limited to '')
-rw-r--r--src/Timer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Timer.h b/src/Timer.h
index c369777a..10bb5d84 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -19,18 +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 Bool GetIsUserPaused() { return m_UserPause; }
- 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);