25 lines
		
	
	
		
			475 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			475 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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;
 | |
| };
 | |
| 
 | |
| extern CGlobalVarsBase* globalvars; |