prosperon/source/engine/timer.h

14 lines
235 B
C
Raw Normal View History

2022-06-21 12:48:19 -05:00
#ifndef TIMER
#define TIMER
struct timer {
int timerid;
double fire_time;
};
void timer_init();
struct timer *timer_make(int interval, void *(*callback)(void *param), void *param);
void timer_remove(struct timer *t);
#endif