hlsdk-portable/cl_dll/aghl/aghudtimer.h

27 lines
439 B
C
Raw Normal View History

//++ BulliT
#if !defined(_AG_TIMER_HUD_)
#define _AG_TIMER_HUD_
class AgHudTimer: public CHudBase
{
public:
int Init( void );
int VidInit( void );
int Draw(float flTime);
void Reset(void);
int MsgFunc_Timer(const char *pszName, int iSize, void *pbuf);
char m_szTime[64];
private:
long m_lTimelimit;
long m_lEffectiveTime;
float m_flTurnoff;
void LiveUpdate();
};
#endif //_AG_TIMER_HUD_
//-- Martin Webrant