Apocalypse mirror
Sourceforge mirror |
News | Info | Characters | Arenas | Screenshots | Forums | Download | ||||
Developer: | Making of | Character-HOWTO | AI Design | Submit a Character | |||
Documentation: | Main Page | Modules | Class Hierarchy | Class List | File List |
Go to the source code of this file.
Enumerations | |
enum | TMortalEventEnum { Me_NOTHING, Me_QUIT, Me_MENU, Me_SKIP, Me_PLAYERKEYDOWN, Me_PLAYERKEYUP } |
enum | TMortalKeysEnum { Mk_UP = 0, Mk_DOWN = 1, Mk_LEFT = 2, Mk_RIGHT = 3, Mk_BLOCK = 4, Mk_LPUNCH = 5, Mk_HPUNCH = 6, Mk_LKICK = 7, Mk_HKICK = 8 } |
Functions | |
bool | TranslateEvent (const SDL_Event *a_poInSDLEvent, SMortalEvent *a_poOutEvent) |
TranslateEvent is an important function in the OpenMortal event processing chain. | |
bool | MortalPollEvent (SMortalEvent &a_roOutEvent) |
MortalPollEvent works like SDL_PollEvent, except that it returns an SMortalEvent. | |
void | MortalWaitEvent (SMortalEvent &a_roOutEvent) |
MortalWaitEvent works like SDL_WaitEvent, except that it returns an SMortalEvent. |
|
|
|
|
|
MortalPollEvent works like SDL_PollEvent, except that it returns an SMortalEvent.
|
|
MortalWaitEvent works like SDL_WaitEvent, except that it returns an SMortalEvent.
|
|
TranslateEvent is an important function in the OpenMortal event processing chain. It takes an SDL_Event and converts it to a game related event. This allows for the "transparent" handling of joysticks and such.
|