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);
Definition: project_item.h:84
Definition: time_event_info.h:33
void load(SimpleFile *file) override
void setPersisent(bool val)
Definition: time_event_info.h:99
void postLoad(uint ticks, CProjectItem *project)
void save(SimpleFile *file, int indent) override
Definition: time_event_info.h:102
void setPersisent(uint id, bool flag)
void postLoad(uint ticks, CProjectItem *project)
Definition: tree_item.h:37
Definition: simple_file.h:49
T MAX(T a, T b)
Definition: util.h:66