|
Pol
Revision:cb584c9
|
#include "gameclck.h"#include <ctime>#include <string>#include "../clib/spinlock.h"#include "../clib/stlutil.h"#include "globals/uvars.h"#include "polclock.h"Go to the source code of this file.
Namespaces | |
| Pol | |
| Pol::Core | |
Functions | |
| gameclock_t | Pol::Core::read_gameclock () |
| Reads the current value of the game clock. More... | |
| void | Pol::Core::start_gameclock () |
| The functions below deal with reading and updating the gameclock. The state is protected by a mutex. More... | |
| void | Pol::Core::stop_gameclock () |
| Stops the game clock and saves the current value into "gameclock". More... | |
| void | Pol::Core::update_gameclock () |
| Saves the current value into the global cprop "gameclock". More... | |
Variables | |
| static Clib::SpinLock | Pol::Core::_gameclock_lock |
| static gameclock_t | Pol::Core::gameclock |
| static time_t | Pol::Core::last_read |
Definition in file gameclck.cpp.