7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_TIMER_H
14 #define SUPERTUX_TIMER_H
17 typedef struct timer_type
24 void timer_init(timer_type* ptimer);
25 void timer_start(timer_type* ptimer, unsigned int period);
26 void timer_stop(timer_type* ptimer);
27 int timer_check(timer_type* ptimer);
28 int timer_started(timer_type* ptimer);
29 int timer_get_left(timer_type* ptimer);
30 int timer_get_gone(timer_type* ptimer);
32 #endif /*SUPERTUX_TIMER_H*/