0
|
1 #pragma once
|
|
2
|
|
3
|
|
4 /* 61 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct Timer
|
|
7 {
|
|
8 static Timer *Create() {return new Timer;}
|
|
9
|
|
10 Timer():
|
|
11 bReady(false), bPaused(false)
|
|
12 {}
|
|
13
|
|
14 void Initialize();
|
|
15 unsigned __int64 Time();
|
|
16 int Update();
|
|
17 void Pause();
|
|
18 void Resume();
|
|
19 void TrackGameTime();
|
|
20 void StopGameTime();
|
|
21
|
|
22 unsigned int bReady;
|
|
23 unsigned int bPaused;
|
|
24 int bTackGameTime;
|
|
25 unsigned int uStartTime;
|
|
26 unsigned int uStopTime;
|
|
27 int uGameTimeStart;
|
|
28 int field_18;
|
|
29 unsigned int uTimeElapsed;
|
|
30 int dt_in_some_format;
|
|
31 unsigned int uTotalGameTimeElapsed;
|
|
32 };
|
|
33 #pragma pack(pop)
|
|
34
|
|
35
|
|
36
|
|
37 extern Timer *pMiscTimer;
|
|
38 extern Timer *pEventTimer; |