HGeneric HTimer
Definition HandleDefs.h:36
struct SDTimerPool TP_InitTimerPool(int initialSize)
Definition TimerPool.c:7
HTimer TP_GetTimer(struct SDTimerPool *pPool, const struct SDTimer *pTimer)
Definition TimerPool.c:21
void TP_FreeTimer(struct SDTimerPool *pPool, HTimer timer)
Definition TimerPool.c:44
void TP_DoTimers(struct SDTimerPool *pPool, double deltaT)
Definition TimerPool.c:67
bool(* TimerCallbackFn)(struct SDTimer *)
return true for the timer to be removed
Definition TimerPool.h:14
struct SDTimerPool TP_DestroyTimerPool(struct SDTimerPool *pPool)
Definition TimerPool.c:16
Definition TimerPool.h:35
HTimer hTimerListend
Definition TimerPool.h:38
struct SDTimer * pPool
Definition TimerPool.h:36
HTimer hTimerListhead
Definition TimerPool.h:37
SD == stardew to avoid name collisions.
Definition TimerPool.h:18
double total
Definition TimerPool.h:22
TimerCallbackFn fnCallback
Definition TimerPool.h:24
double elapsed
Definition TimerPool.h:28
bool bRepeat
Definition TimerPool.h:20
void * pUserData
Definition TimerPool.h:25
HTimer HPrev
Definition TimerPool.h:30
HTimer HNext
Definition TimerPool.h:29
bool bActive
Definition TimerPool.h:19
bool bAutoReset
Definition TimerPool.h:21