2016-12-19 11:52:02 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CSaveRestoreData;
|
|
|
|
|
|
|
|
class CGlobalVarsBase {
|
|
|
|
public:
|
|
|
|
float realtime;
|
|
|
|
int framecount;
|
|
|
|
float absoluteframetime;
|
|
|
|
float curtime;
|
|
|
|
float frametime;
|
|
|
|
int maxClients;
|
|
|
|
int tickcount;
|
|
|
|
float interval_per_tick;
|
|
|
|
float interpolation_amount;
|
|
|
|
int simTicksThisFrame;
|
|
|
|
int network_protocol;
|
|
|
|
CSaveRestoreData* pSaveData;
|
|
|
|
private:
|
|
|
|
bool m_bClient;
|
|
|
|
int nTimestampNetworkingBase;
|
|
|
|
int nTimestampRandomizeWindow;
|
2016-12-20 15:09:50 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
extern CGlobalVarsBase* globalvars;
|