OpenTTD Source
20241108-master-g80f628063a
|
Timer that represents the game-ticks. More...
#include <timer_game_tick.h>
Data Structures | |
struct | TPeriod |
struct | TStorage |
Public Types | |
enum | Priority { NONE , COMPETITOR_TIMEOUT } |
using | Ticks = int32_t |
The type to store ticks in. | |
using | TickCounter = uint64_t |
The type that the tick counter is stored in. | |
using | TElapsed = uint |
Static Public Attributes | |
static TickCounter | counter = 0 |
Monotonic counter, in ticks, since start of game. | |
Timer that represents the game-ticks.
It will pause when the game is paused.
Definition at line 22 of file timer_game_tick.h.
Enumerator | |
---|---|
NONE | These timers can be executed in any order; the order is not relevant. |
Definition at line 27 of file timer_game_tick.h.