aboutsummaryrefslogtreecommitdiff
path: root/src/core/Timer.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-29 11:57:51 +0300
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:32:44 +0300
commitf741101e4458d2515c57ae11f3f6c0088206524f (patch)
tree4e7d72af74ebd8194020ac70ee8e82509e8709db /src/core/Timer.h
parentcacec36dd1dd6141986631ae22d6d40a64358a41 (diff)
Fix redone + add hud fix
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r--src/core/Timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h
index ebde1747..7b68303a 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -13,6 +13,7 @@ class CTimer
static float ms_fTimeStepNonClipped;
#ifdef FIX_BUGS
static uint32 m_LogicalFrameCounter;
+ static uint32 m_LogicalFramesPassed;
#endif
public:
static bool m_UserPause;
@@ -65,6 +66,7 @@ public:
static float GetDefaultTimeStep(void) { return 50.0f / 30.0f; }
static float GetTimeStepFix(void) { return GetTimeStep() / GetDefaultTimeStep(); }
static uint32 GetLogicalFrameCounter(void) { return m_LogicalFrameCounter; }
+ static uint32 GetLogicalFramesPassed(void) { return m_LogicalFramesPassed; }
#endif
};