World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
49 #define SDL_RELEASED 0
223 #define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32)
232 char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE];
238 #define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
247 char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
759 #define SDL_DISABLE 0
773 #define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY)
struct SDL_CommonEvent SDL_CommonEvent
Fields shared by every event.
A video driver dependent system event (event.syswm.*) This event is disabled by default,...
@ SDL_CONTROLLERDEVICEREMOVED
struct SDL_TouchFingerEvent SDL_TouchFingerEvent
Touch finger event structure (event.tfinger.*)
SDL_ControllerButtonEvent cbutton
struct SDL_TextEditingEvent SDL_TextEditingEvent
Keyboard text editing event structure (event.edit.*)
Keyboard button event structure (event.key.*)
Mouse motion event structure (event.motion.*)
@ SDL_APP_DIDENTERBACKGROUND
@ SDL_APP_DIDENTERFOREGROUND
Mouse wheel event structure (event.wheel.*)
SDL_MouseMotionEvent motion
SDL_MouseButtonEvent button
Joystick device event structure (event.jdevice.*)
struct SDL_MouseMotionEvent SDL_MouseMotionEvent
Mouse motion event structure (event.motion.*)
Controller device event structure (event.cdevice.*)
A user-defined event type (event.user.*)
SDL_TextEditingEvent edit
@ SDL_CONTROLLERBUTTONDOWN
EGLSyncKHR EGLint EGLTimeKHR timeout
SDL_ControllerAxisEvent caxis
DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event *events, int numevents, SDL_eventaction action, Uint32 minType, Uint32 maxType)
The "quit requested" event.
Dollar Gesture Event (event.dgesture.*)
SDL_JoyDeviceEvent jdevice
DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter, void *userdata)
struct SDL_ControllerDeviceEvent SDL_ControllerDeviceEvent
Controller device event structure (event.cdevice.*)
Joystick hat position change event structure (event.jhat.*)
struct SDL_MouseButtonEvent SDL_MouseButtonEvent
Mouse button event structure (event.button.*)
char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]
@ SDL_CONTROLLERDEVICEADDED
union SDL_Event SDL_Event
General event structure.
@ SDL_APP_WILLENTERFOREGROUND
struct SDL_JoyBallEvent SDL_JoyBallEvent
Joystick trackball motion event structure (event.jball.*)
@ SDL_CONTROLLERAXISMOTION
@ SDL_RENDER_TARGETS_RESET
DECLSPEC void SDLCALL SDL_DelEventWatch(SDL_EventFilter filter, void *userdata)
Joystick axis motion event structure (event.jaxis.*)
struct SDL_KeyboardEvent SDL_KeyboardEvent
Keyboard button event structure (event.key.*)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
struct SDL_SysWMEvent SDL_SysWMEvent
A video driver dependent system event (event.syswm.*) This event is disabled by default,...
struct SDL_DollarGestureEvent SDL_DollarGestureEvent
Dollar Gesture Event (event.dgesture.*)
struct SDL_JoyDeviceEvent SDL_JoyDeviceEvent
Joystick device event structure (event.jdevice.*)
Keyboard text input event structure (event.text.*)
struct SDL_MouseWheelEvent SDL_MouseWheelEvent
Mouse wheel event structure (event.wheel.*)
struct SDL_JoyAxisEvent SDL_JoyAxisEvent
Joystick axis motion event structure (event.jaxis.*)
struct SDL_DropEvent SDL_DropEvent
An event used to request a file open by the system (event.drop.*) This event is enabled by default,...
DECLSPEC void SDLCALL SDL_PumpEvents(void)
SDL_TouchFingerEvent tfinger
Keyboard text editing event structure (event.edit.*)
struct SDL_DisplayEvent SDL_DisplayEvent
Display state change event data (event.display.*)
DECLSPEC int SDLCALL SDL_WaitEventTimeout(SDL_Event *event, int timeout)
Waits until the specified timeout (in milliseconds) for the next available event.
int(SDLCALL * SDL_EventFilter)(void *userdata, SDL_Event *event)
SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event)==56)
Sensor event structure (event.sensor.*)
struct SDL_ControllerButtonEvent SDL_ControllerButtonEvent
Game controller button event structure (event.cbutton.*)
DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event *event)
Add an event to the event queue.
Touch finger event structure (event.tfinger.*)
DECLSPEC SDL_bool SDLCALL SDL_HasEvent(Uint32 type)
DECLSPEC SDL_bool SDLCALL SDL_HasEvents(Uint32 minType, Uint32 maxType)
Fields shared by every event.
SDL_DollarGestureEvent dgesture
SDL_AudioDeviceEvent adevice
@ SDL_APP_WILLENTERBACKGROUND
DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents)
struct SDL_ControllerAxisEvent SDL_ControllerAxisEvent
Game controller axis motion event structure (event.caxis.*)
struct SDL_OSEvent SDL_OSEvent
OS Specific event.
DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType)
Audio device event structure (event.adevice.*)
struct SDL_AudioDeviceEvent SDL_AudioDeviceEvent
Audio device event structure (event.adevice.*)
SDL_MultiGestureEvent mgesture
DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event *event)
Waits indefinitely for the next available event.
Game controller axis motion event structure (event.caxis.*)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
@ SDL_RENDER_DEVICE_RESET
struct SDL_WindowEvent SDL_WindowEvent
Window state change event data (event.window.*)
The SDL keysym structure, used in key events.
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE]
struct SDL_TextInputEvent SDL_TextInputEvent
Keyboard text input event structure (event.text.*)
struct SDL_JoyButtonEvent SDL_JoyButtonEvent
Joystick button event structure (event.jbutton.*)
An event used to request a file open by the system (event.drop.*) This event is enabled by default,...
Window state change event data (event.window.*)
struct SDL_JoyHatEvent SDL_JoyHatEvent
Joystick hat position change event structure (event.jhat.*)
struct SDL_MultiGestureEvent SDL_MultiGestureEvent
Multiple Finger Gesture Event (event.mgesture.*)
SDL_EventType
The types of events that can be delivered.
Multiple Finger Gesture Event (event.mgesture.*)
struct SDL_UserEvent SDL_UserEvent
A user-defined event type (event.user.*)
SDL_JoyButtonEvent jbutton
DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event *event)
Polls for currently pending events.
DECLSPEC Uint8 SDLCALL SDL_EventState(Uint32 type, int state)
DECLSPEC SDL_bool SDLCALL SDL_GetEventFilter(SDL_EventFilter *filter, void **userdata)
struct SDL_SensorEvent SDL_SensorEvent
Sensor event structure (event.sensor.*)
@ SDL_CONTROLLERDEVICEREMAPPED
SDL_ControllerDeviceEvent cdevice
struct SDL_QuitEvent SDL_QuitEvent
The "quit requested" event.
DECLSPEC void SDLCALL SDL_AddEventWatch(SDL_EventFilter filter, void *userdata)
DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter, void *userdata)
DECLSPEC void SDLCALL SDL_FlushEvent(Uint32 type)
Joystick trackball motion event structure (event.jball.*)
Display state change event data (event.display.*)
SDL_MouseWheelEvent wheel