📄 timer.h
字号:
// Timer.h: interface for the Timer class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TIMER_H__721BBE68_043B_11D5_8FAA_00C026DC0C35__INCLUDED_)
#define AFX_TIMER_H__721BBE68_043B_11D5_8FAA_00C026DC0C35__INCLUDED_
#include "typedef.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Timer
{
public:
WI32 PrevGameTime;
WI32 GameTime;
unsigned int Roll(unsigned int dice_var);
Timer();
virtual ~Timer();
void checkkey();
//inline void checktimers( void );
void checktimers( void );
void processkey(int c);
int secure;
char overflow;
timeval timeout;
unsigned int starttime;
unsigned int endtime;
unsigned int lclock;
unsigned int CurTime;
WI32 NextCheckConn;
WL32 tempSecs;
WL32 tempMilli;
WL32 loopSecs;
WL32 loopMilli;
WL32 tempTime;
int networkTime;
int timerTime;
int autoTime;
int loopTime;
int networkTimeCount;
int timerTimeCount;
int autoTimeCount;
int loopTimeCount;
};
#endif // !defined(AFX_TIMER_H__721BBE68_043B_11D5_8FAA_00C026DC0C35__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -