22 #ifndef TITANIC_TIMER_H 23 #define TITANIC_TIMER_H 25 #include "common/algorithm.h" 26 #include "titanic/core/list.h" 38 void lock() { ++_lockCounter; }
44 _lockCounter =
MAX(_lockCounter - 1, 0);
66 CTimeEventInfo(uint ticks,
bool repeated, uint firstDuration, uint repeatDuration,
94 bool update(uint ticks);
122 void update(uint ticks);
void load(SimpleFile *file) override
void save(SimpleFile *file, int indent) override
Definition: simple_file.h:49
void setPersisent(bool val)
Definition: time_event_info.h:99
Definition: tree_item.h:37
Definition: project_item.h:84
Definition: time_event_info.h:33
T MAX(T a, T b)
Definition: util.h:62
void postLoad(uint ticks, CProjectItem *project)
Definition: time_event_info.h:102