56 #define SDL_TICKS_PASSED(A, B) ((Sint32)((B) - (A)) <= 0) SDL_TimerID SDL_AddTimer(Uint32 interval, SDL_TimerCallback callback, void *param)
Add a new timer to the pool of timers already running.
Uint32(* SDL_TimerCallback)(Uint32 interval, void *param)
Uint64 SDL_GetPerformanceFrequency(void)
Get the count per second of the high resolution counter.
Uint32 SDL_GetTicks(void)
Get the number of milliseconds since the SDL library initialization.
static Uint32 callback(Uint32 interval, void *param)
SDL_bool SDL_RemoveTimer(SDL_TimerID id)
Remove a timer knowing its ID.
void SDL_Delay(Uint32 ms)
Wait a specified number of milliseconds before returning.
Uint64 SDL_GetPerformanceCounter(void)
Get the current value of the high resolution counter.