|
Public Member Functions |
bool | isKey (int key) |
void | clearKey (int key) |
| Engine () |
void | destroy () |
void | getInput () |
int | getMouseX () |
int | getMouseY () |
bool | getJoyLeft () |
bool | getJoyRight () |
bool | getJoyUp () |
bool | getJoyDown () |
int | getJoyX (int max) |
int | getJoyY (int max) |
void | lockJoy (Uint32 ticks) |
void | setMouse (int x, int y) |
bool | userAccepts () |
bool | loadJoystickConfig () |
bool | saveJoystickConfig () |
bool | loadKeyConfig () |
bool | saveKeyConfig () |
void | restoreKeyDefaults () |
bool | getKeyState (int key) |
void | setKeyState (int key) |
void | doPause () |
void | clearCheatVars () |
bool | compareLastKeyInputs () |
void | addKeyEvent () |
void | flushInput () |
void | clearInput () |
void | setUserHome (char *path) |
Pak * | getPak () |
bool | unpack (char *filename, int fileType) |
bool | loadData (char *filename) |
void | reportFontFailure () |
void | setPlayerPosition (int x, int y, int limitLeft, int limitRight, int limitUp, int limitDown) |
int | getFrameLoop () |
void | doFrameLoop () |
void | doTimeDifference () |
float | getTimeDifference () |
void | resetTimeDifference () |
void | setInfoMessage (char *message, int priority, int type) |
void | deleteWidgets () |
void | addWidget (Widget *widget) |
bool | loadWidgets (char *filename) |
Widget * | getWidgetByName (char *name) |
void | showWidgetGroup (char *groupName, bool show) |
void | enableWidgetGroup (char *groupName, bool show) |
void | showWidget (char *name, bool show) |
void | enableWidget (char *name, bool enable) |
void | setWidgetVariable (char *name, int *variable) |
bool | widgetChanged (char *name) |
void | highlightWidget (int dir) |
void | highlightWidget (char *name) |
int | processWidgets () |
bool | loadDefines () |
int | getValueOfDefine (char *word) |
char * | getDefineOfValue (char *prefix, int value) |
int | getValueOfFlagTokens (char *line) |
Public Attributes |
int | extremeAvailable |
char | keyState [350] |
char | mouseLeft |
char | mouseRight |
SDL_Joystick * | joystick [2] |
Joystick | joypad |
Keyboard | keyboard |
bool | waitForButton |
bool | waitForKey |
bool | allowJoypad |
bool | paused |
bool | saveConfig |
bool | allowQuit |
char | userHomeDirectory [PATH_MAX] |
int | useAudio |
int | fullScreen |
int | skill |
bool | practice |
bool | devNoMonsters |
SDL_RWops * | sdlrw |
unsigned char * | binaryBuffer |
unsigned char * | dataBuffer |
int | messageTime |
int | messagePriority |
int | messageType |
char | message [100] |
char | saveSlot [10][50] |
int | continueSaveSlot |
int | playerPosX |
int | playerPosY |
List | widgetList |
Widget * | highlightedWidget |
Entity | world |
List | defineList |
bool | cheats |
int | cheatHealth |
int | cheatExtras |
int | cheatFuel |
int | cheatLevels |
int | cheatBlood |
int | cheatInvulnerable |
int | cheatReload |
int | cheatSpeed |
int | cheatSkipLevel |
Private Attributes |
SDL_Event | event |
signed char | frameLoop |
int | mouseX |
int | mouseY |
unsigned int | time1 |
unsigned int | time2 |
float | timeDifference |
char | lastKeyPressed [25] |
char | lastKeyEvents [25] |
int | lastButtonPressed |
Pak | pak |
int | joyX |
int | joyY |
Uint32 | joyNavAvail |