annotate Time.h @ 1:ac0fb48cd27a

Texture, hwl loading, video player
author Nomad
date Tue, 09 Oct 2012 13:09:08 +0200
parents 8b8875f5b359
children 93bf1d5f6a6d
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 61 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct Timer
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 static Timer *Create() {return new Timer;}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 Timer():
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 bReady(false), bPaused(false)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 void Initialize();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 unsigned __int64 Time();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 int Update();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 void Pause();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 void Resume();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 void TrackGameTime();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 void StopGameTime();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 unsigned int bReady;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 unsigned int bPaused;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 int bTackGameTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 unsigned int uStartTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 unsigned int uStopTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 int uGameTimeStart;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 unsigned int uTimeElapsed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 int dt_in_some_format;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 unsigned int uTotalGameTimeElapsed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 extern Timer *pMiscTimer;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 extern Timer *pEventTimer;