quake4-sdk/source/mpgame/Lagometer.h

22 lines
292 B
C
Raw Normal View History

2007-06-15 00:00:00 +00:00
#ifndef __LAGOMETER_H__
#define __LAGOMETER_H__
#define LAGOMETER_HISTORY 64
class idLagometer
{
public:
idLagometer();
void Update(int ahead, int dupe);
void Draw();
protected:
int aheadOfServer[LAGOMETER_HISTORY];
byte dupeUserCmds[LAGOMETER_HISTORY];
int frameIndex;
};
#endif