Pol  Revision:cb584c9
gameclck.h
Go to the documentation of this file.
1 
7 #ifndef GAMECLCK_H
8 #define GAMECLCK_H
9 
10 namespace Pol
11 {
12 namespace Core
13 {
14 typedef unsigned int gameclock_t;
15 
18 
20 void start_gameclock();
21 
23 void stop_gameclock();
24 
26 void update_gameclock();
27 
29 gameclock_t read_gameclock();
30 }
31 }
32 #endif
unsigned int gameclock_t
Definition: gameclck.h:14
void stop_gameclock()
Stops the game clock and saves the current value into "gameclock".
Definition: gameclck.cpp:52
gameclock_t read_gameclock()
Reads the current value of the game clock.
Definition: gameclck.cpp:57
void start_gameclock()
The functions below deal with reading and updating the gameclock. The state is protected by a mutex...
Definition: gameclck.cpp:27
void update_gameclock()
Saves the current value into the global cprop "gameclock".
Definition: gameclck.cpp:45
Definition: berror.cpp:12