58 timers_table[i].
delay--;
59 if (timers_table[i].delay == 0) {
65 if (timers_table[i].delay <=
seconds()) {
119 timers_table[id].
mode = mode;
122 timers_table[id].
delay = delay;
object * find_obj_by_type_subtype(const object *who, int type, int subtype)
static void cftimer_process_event(tag_t ob_tag)
int cftimer_destroy(int id)
void cftimer_process_timers(void)
cftimer timers_table[MAX_TIMERS]
object * find_object(tag_t i)
int cftimer_find_free_id(void)
#define TIMER_MODE_CYCLES
int cftimer_create(int id, long delay, object *ob, int mode)
#define TIMER_MODE_SECONDS
int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)