Large refactor - IMGUI to Nuklear
This commit is contained in:
14
source/engine/timer.h
Normal file
14
source/engine/timer.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user