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