Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Add CTimeStep
  • Loading branch information
whampson committed Mar 13, 2020
1 parent 0283dbc commit 8280dda9cba53608be137a7e6a82ea45aca339c4
Showing with 15 additions and 0 deletions.
  1. +5 −0 src/core/TimeStep.cpp
  2. +10 −0 src/core/TimeStep.h
@@ -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;
@@ -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;
};

0 comments on commit 8280dda

Please sign in to comment.