32 #ifndef WSDL_NO_KEYSYM
33 # include "SDL_keysym.h"
43 #define SDL_INIT_VIDEO 0
44 #define SDL_INIT_AUDIO 0
45 #define SDL_INIT_TIMER 0
46 #define SDL_INIT_JOYSTICK 0
47 #define SDL_INIT_NOPARACHUTE 0
72 #define SDL_FULLSCREEN 1
73 #define SDL_RESIZABLE 2
146 #define SDL_DEFAULT_REPEAT_DELAY 500
147 #define SDL_DEFAULT_REPEAT_INTERVAL 30
148 #define SDL_EnableKeyRepeat(delay, interval)
170 #define SDL_LIL_ENDIAN 1234
171 #define SDL_BIG_ENDIAN 4321
173 #define SDL_BYTEORDER SDL_LIL_ENDIAN
175 #define SDL_Swap16 swap16
176 #define SDL_Swap32 swap32
177 #define SDL_Swap64 swap64
184 #ifndef WSDL_NO_KEYSYM
200 #endif // #ifndef WSDL_NO_KEYSYM
233 #define SDL_BUTTON(b) (1u << (b-1))
234 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT)
235 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE)
236 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT)
237 #define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1)
238 #define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2)
304 #ifndef WSDL_NO_KEYSYM
334 #define SDL_GetError() ""
341 #define SDL_VERSION_ATLEAST(X, Y, Z) ((X) == 1 && (Y) <= 2)
343 #endif // #ifndef INCLUDED_WSDL
int SDL_PollEvent(SDL_Event *ev)
int SDL_JoystickNumAxes(SDL_Joystick *joystick)
int SDL_ShowCursor(int toggle)
Uint8 SDL_GetMouseState(int *x, int *y)
int SDL_JoystickEventState(int state)
void SDL_WarpMouse(int x, int y)
SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode)
void SDL_Delay(Uint32 ms)
SDL_VideoInfo * SDL_GetVideoInfo()
void * SDL_GL_GetProcAddress(const char *name)
SDL_MouseButtonEvent_state
LIB_API int SDL_WaitEvent(SDL_Event *)
SDL_MouseButtonEvent_button
void SDL_GL_SwapBuffers()
int SDL_GL_SetAttribute(SDL_GLattr attr, int value)
SDL_MouseMotionEvent motion
void SDL_DestroySemaphore(SDL_sem *sem)
void SDL_WM_SetCaption(const char *title, const char *icon)
SDL_MouseButtonEvent button
Uint8 * SDL_GetKeyState(int *num_keys)
Sint16 SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis)
SDL_Joystick * SDL_JoystickOpen(int device_index)
SDL_Surface * SDL_GetVideoSurface()
int SDL_Init(Uint32 flags)
int SDL_EnableUNICODE(int enable)
SDL_sem * SDL_CreateSemaphore(int cnt)
const char * SDL_JoystickName(int device_index)
int SDL_PushEvent(SDL_Event *ev)
int SDL_InitSubSystem(Uint32 flags)
int SDL_SetGamma(float r, float g, float b)
int SDL_SemPost(SDL_sem *sem)
SDL_Surface * SDL_SetVideoMode(int w, int h, int bpp, Uint32 flags)
int SDL_SemWait(SDL_sem *sem)