Add CTimeStep
This commit is contained in:
parent
0283dbcd12
commit
8280dda9cb
5
src/core/TimeStep.cpp
Normal file
5
src/core/TimeStep.cpp
Normal 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
10
src/core/TimeStep.h
Normal 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;
|
||||
};
|
Loading…
Reference in New Issue
Block a user