r5sdk/r5dev/engine/clockdriftmgr.h
Kawe Mazidjatari 34a06147d7 Fix spelling errors
Overall spelling improvements and cleanup..
2022-09-09 19:47:31 +02:00

28 lines
554 B
C

#ifndef CLOCKDRIFTMGR_H
#define CLOCKDRIFTMGR_H
struct __declspec(align(4)) CClockDriftMgr
{
void Clear();
float GetCurrentClockDifference() const;
enum
{
// This controls how much it smooths out the samples from the server.
NUM_CLOCKDRIFT_SAMPLES = 24
};
float field_0[4];
int field_10;
float m_ClockOffsets[NUM_CLOCKDRIFT_SAMPLES];
int m_iCurClockOffset;
float field_78;
float field_7C;
int m_nSimulationTick;
float m_flClientTickTime;
float m_flServerTickTime;
int m_nClientTick;
int m_nServerTick;
};
#endif // CLOCKDRIFTMGR_H