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 bTackGameTime = 0;
|
|
14 uStartTime = 0;
|
|
15 uStopTime = 0;
|
|
16 uGameTimeStart = 0;
|
|
17 field_18 = 0;
|
|
18 uTimeElapsed = 0;
|
|
19 dt_in_some_format = 0;
|
|
20 uTotalGameTimeElapsed = 0;
|
|
21 }
|
|
22
|
|
23 void Initialize();
|
|
24 unsigned __int64 Time();
|
783
|
25 void Update();
|
0
|
26 void Pause();
|
|
27 void Resume();
|
|
28 void TrackGameTime();
|
|
29 void StopGameTime();
|
|
30
|
|
31 unsigned int bReady;
|
|
32 unsigned int bPaused;
|
|
33 int bTackGameTime;
|
|
34 unsigned int uStartTime;
|
|
35 unsigned int uStopTime;
|
|
36 int uGameTimeStart;
|
|
37 int field_18;
|
|
38 unsigned int uTimeElapsed;
|
|
39 int dt_in_some_format;
|
|
40 unsigned int uTotalGameTimeElapsed;
|
|
41 };
|
|
42 #pragma pack(pop)
|
|
43
|
|
44
|
|
45
|
|
46 extern Timer *pMiscTimer;
|
|
47 extern Timer *pEventTimer; |