|
UFO: Alien Invasion
|
#include <ui_timer.h>

Data Fields | |
| struct uiTimer_s * | next |
| struct uiTimer_s * | prev |
| int | nextTime |
| uiNode_t * | owner |
| timerCallback_t | callback |
| int | calledTime |
| int | delay |
| void * | userData |
| bool | isRunning |
Definition at line 36 of file ui_timer.h.
| timerCallback_t uiTimer_t::callback |
function called every delay
Definition at line 42 of file ui_timer.h.
| int uiTimer_t::calledTime |
time we call the function. For the first call the value is 1
Definition at line 43 of file ui_timer.h.
| int uiTimer_t::delay |
delay in millisecond between each call of
Definition at line 45 of file ui_timer.h.
| bool uiTimer_t::isRunning |
true if the timer is running
Definition at line 47 of file ui_timer.h.
| struct uiTimer_s* uiTimer_t::next |
next timer in the ordered list of active timers
Definition at line 37 of file ui_timer.h.
Referenced by TEST_F(), and UI_InsertTimerInActiveList().
| int uiTimer_t::nextTime |
next time we must call the callback function. Must node be edited, it used to sort linkedlist of timers
Definition at line 39 of file ui_timer.h.
Referenced by UI_InsertTimerInActiveList().
| uiNode_t* uiTimer_t::owner |
| struct uiTimer_s* uiTimer_t::prev |
previous timer in the ordered list of active timers
Definition at line 38 of file ui_timer.h.
Referenced by UI_InsertTimerInActiveList().
| void* uiTimer_t::userData |
free to use data, not used by the core functions
Definition at line 46 of file ui_timer.h.