Add CTimeStep

This commit is contained in:
Wes Hampson 2020-03-13 13:46:59 -07:00
parent 0283dbcd12
commit 8280dda9cb
2 changed files with 15 additions and 0 deletions

5
src/core/TimeStep.cpp Normal file
View File

@ -0,0 +1,5 @@
#include "TimeStep.h"
float &CTimeStep::ms_fTimeScale = *(float*)0x5F76C8;
float &CTimeStep::ms_fFramesPerUpdate = *(float*)0x5F76CC;
float &CTimeStep::ms_fTimeStep = *(float*)0x5F76D0;

10
src/core/TimeStep.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
// Pretty sure this class is not used by the game
class CTimeStep
{
public:
static float &ms_fTimeScale;
static float &ms_fFramesPerUpdate;
static float &ms_fTimeStep;
};