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 |
#include <stdio.h>
#include <stdarg.h>
#include "common.h"
#include "State.h"
#include "Joystick.h"
#include "SDL.h"
#include "Event.h"
Functions | |
void | debug (const char *format,...) |
bool | FindPlayerKey (SDLKey a_enKey, int &a_riOutPlayer, int &a_riOutKey) |
bool | TranslateEvent (const SDL_Event *a_poInEvent, 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. | |
Variables | |
SDL_Surface * | gamescreen = NULL |
|
|
|
|
|
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.
|
|
|