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