|
void | restart () |
|
void | readConfigurationSettings () |
|
void | writeConfigurationSettings () |
|
void | mainLoop () |
|
void | processEvents (bool handleKeyEvents=true) |
|
void | runCycle () |
|
int16 | getRandomNumber (int max) |
|
void | changePaletteRange () |
|
void | playSoundInRange () |
|
void | resetSortedKeyCharsTable () |
|
void | setupEpisode (int num) |
|
void | setupNewEpisode () |
|
void | drawKeyChar (KeyChar *key) |
|
void | sortKeyChars () |
|
void | runKeyCharScript (KeyChar *key) |
|
void | runCurrentKeyCharScript (int mode) |
|
void | executeScriptOpcode (int16 param) |
|
void | initKeyChars (int keyChar) |
|
void | setKeyCharTextColor (int keyChar, uint16 color) |
|
void | waitForKeyCharPosition (int keyChar) |
|
void | setKeyCharBox (int keyChar, int value) |
|
void | setKeyCharFrame (int keyChar, int16 type, int16 value1, int16 value2) |
|
void | setKeyCharFacingDirection (int keyChar, int16 dir) |
|
void | initKeyCharScript (int keyChar, int16 spriteNum, int16 seqDataIndex, int16 seqDataOffs) |
|
uint16 | findProgramKeyCharScriptOffset (int keyChar) const |
|
bool | scrollRoom (int keyChar) |
|
void | drawIcon (int x, int y, int num) |
|
void | centerScreenToKeyChar (int keyChar) |
|
void | waitForKeyCharsSet () |
|
void | redrawRoom () |
|
void | fadePalette (int firstColor, int colorCount, int scale, int scaleInc, int fadingStepsCount) |
|
void | fadePaletteFromFlags () |
|
void | moveKeyChar (uint8 *dst, int dstPitch, KeyChar *key) |
|
void | changeKeyCharFrame (KeyChar *key, int keyChar) |
|
void | setKeyCharRandomFrame (KeyChar *key) |
|
void | setKeyCharMoney () |
|
const char * | getString (int num) const |
|
int | getStringWidth (int num) const |
|
void | drawString (uint16 color, int x, int y, int16 num, StringType strType=kStringTypeDefault) |
|
void | drawGameString (uint16 color, int x1, int y, const char *str) |
|
int | restartKeyCharScriptOnAction (int action, int obj1, int obj2) |
|
void | buildSpriteScalingTable (int z1, int z2) |
|
void | drawSpriteOnBackdrop (int num, int x, int y) |
|
void | updateTalkFrames (int keyChar) |
|
void | setKeyCharTalkingFrame (int keyChar) |
|
void | lockUnlockHitBox (int num, int lock) |
|
void | drawHitBoxes () |
|
void | showCursor (bool show) |
|
void | setCursor (int num) |
|
void | setDefaultCursor (int num) |
|
void | handleLeftMouseButtonClickOnInventory () |
|
void | handleRightMouseButtonClickOnInventory () |
|
void | handleMouseInput (int flag) |
|
void | handleMouseClickOnRoom (int flag) |
|
void | handleMouseClickOnInventory (int flag) |
|
void | scrollScreenToPos (int num) |
|
void | clearRoomArea () |
|
void | startNewMusic () |
|
void | startNewSound () |
|
void | updateSpeech () |
|
int | handleActionMenuUnderCursor (const int16 *actions, int offs, int y, int str) |
|
void | redrawBackground () |
|
void | addRoomArea (int num, int flag) |
|
void | updateRoomAreas (int num, int flags) |
|
void | setRoomAreaState (int num, uint16 state) |
|
void | findAndRedrawRoomRegion (int num) |
|
void | updateRoomRegions () |
|
void | redrawRoomRegion (int num, bool markForRedraw) |
|
void | initInventoryObjectsTable () |
|
void | initInventoryLists () |
|
void | setupInventoryAreas () |
|
void | drawInventory (int index, int flag) |
|
void | drawAmountOfMoneyInInventory () |
|
void | packInventoryItems (int index) |
|
void | appendItemToInventoryList (int index) |
|
void | addItemToInventory (int inventory, int16 item) |
|
void | removeItemFromInventory (int inventory, int16 item) |
|
void | resetTalkingVars () |
|
int | updateKeyCharTalk (int pauseFlag) |
|
const char * | formatTalkText (int *y, int *h, const char *text) |
|
void | addToTalkTable (int talkingKeyChar, int num, int otherKeyChar) |
|
void | removeFromTalkTable (int keyChar) |
|
void | addConversationChoice (int16 num) |
|
void | removeConversationChoice (int16 num) |
|
void | runConversationScript (uint16 offset) |
|
void | findConversationByNum (int16 num) |
|
void | clearConversationChoices () |
|
void | scrollDownConversationChoice () |
|
void | scrollUpConversationChoice () |
|
void | drawCharacterConversation () |
|
void | drawConversationString (int num, uint16 color) |
|
void | clearConversationArea () |
|
void | setupConversationScript (int num) |
|
void | handleConversation () |
|
void | buildWalkPointsList (int keyChar) |
|
int | findWalkDataNum (int pointNum1, int pointNum2) |
|
void | changeWalkPath (int num1, int num2, int16 val) |
|
void | adjustKeyCharPosToWalkBox (KeyChar *key, int moveType) |
|
void | lockWalkPath (int num1, int num2) |
|
void | unlockWalkPath (int num1, int num2) |
|
void | resetPointsData (int num) |
|
bool | sortPointsData (int num1, int num2) |
|
void | updateKeyCharWalkPath (KeyChar *key, int16 dx, int16 dy, int16 dz) |
|
void | markWalkPoints (int keyChar) |
|
void | buildWalkPath (int dstPosX, int dstPosY, int keyChar) |
|
void | addToAnimationTable (int num, int posNum, int keyChar, int delayCounter) |
|
void | copyAnimationImage (int dstX, int dstY, int w, int h, const uint8 *src, int srcX, int srcY, int fillColor) |
|
void | drawAnimationImage (AnimationEntry *anim) |
|
void | processAnimationTable () |
|
void | clearAnimationTable () |
|
void | addToDirtyRect (const Common::Rect &r) |
|
void | clearDirtyRects () |
|
void | setPalette (int firstColor, int colorCount, int redScale, int greenScale, int blueScale) |
|
void | updateScreenArea (int x, int y, int w, int h) |
|
void | updateEntireScreen () |
|
void | updateDirtyScreenAreas () |
|
void | updatePalette () |
|
void | saveGameStateData (Common::WriteStream *stream) |
|
void | loadGameStateData (Common::ReadStream *stream) |
|
Common::Error | saveGameState (int num, const Common::String &description, bool isAutosave=false) override |
|
Common::Error | loadGameState (int num) override |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::String | getSaveStateName (int slot) const override |
|
void | setupOpcodes () |
|
void | op_nop () |
|
void | op_jnz () |
|
void | op_jz () |
|
void | op_jmp () |
|
void | op_true () |
|
void | op_false () |
|
void | op_push () |
|
void | op_not () |
|
void | op_add () |
|
void | op_sub () |
|
void | op_mul () |
|
void | op_div () |
|
void | op_mod () |
|
void | op_and () |
|
void | op_or () |
|
void | op_neg () |
|
void | op_testGreater () |
|
void | op_testEquals () |
|
void | op_testLower () |
|
void | op_fetchScriptWord () |
|
void | op_testGreaterOrEquals () |
|
void | op_testLowerOrEquals () |
|
void | op_testNotEquals () |
|
void | op_endConversation () |
|
void | op_stopScript () |
|
void | op_getFlag () |
|
void | op_setFlag () |
|
void | op_fetchScriptByte () |
|
void | op_getKeyCharWalkBox () |
|
void | op_startSound () |
|
void | op_moveKeyCharToPos () |
|
void | op_loadRoom () |
|
void | op_updateRoom () |
|
void | op_startTalk () |
|
void | op_loadSprite () |
|
void | op_loadSequence () |
|
void | op_setKeyCharBox () |
|
void | op_initKeyCharScript () |
|
void | op_setKeyCharFrame () |
|
void | op_setKeyCharDirection () |
|
void | op_clearConversationChoices () |
|
void | op_addConversationChoice () |
|
void | op_removeConversationChoice () |
|
void | op_getInventoryItem () |
|
void | op_setInventoryItem () |
|
void | op_startEpisode () |
|
void | op_setConversationNum () |
|
void | op_enableInput () |
|
void | op_disableInput () |
|
void | op_faceKeyChar () |
|
void | op_getKeyCharCurrentAnim () |
|
void | op_getCurrentKeyChar () |
|
void | op_isKeyCharActive () |
|
void | op_setPalette () |
|
void | op_changeWalkPath () |
|
void | op_lockWalkPath () |
|
void | op_initializeKeyChar () |
|
void | op_setupWaitingKeyChars () |
|
void | op_updateRoomAreas () |
|
void | op_unlockWalkPath () |
|
void | op_addItemToInventoryAndRedraw () |
|
void | op_giveItemTo () |
|
void | op_setHitBoxText () |
|
void | op_fadePalette () |
|
void | op_getInventoryItemFlags () |
|
void | op_drawInventory () |
|
void | op_stopKeyCharScript () |
|
void | op_restartKeyCharScript () |
|
void | op_getKeyCharCurrentWalkBox () |
|
void | op_getKeyCharPointsDataNum () |
|
void | op_setupFollowingKeyChar () |
|
void | op_startAnimation () |
|
void | op_setKeyCharTextColor () |
|
void | op_startMusic () |
|
void | op_sleep () |
|
void | op_setKeyCharDelay () |
|
void | op_lockHitBox () |
|
void | op_removeItemFromInventory () |
|
void | op_unlockHitBox () |
|
void | op_addRoomArea () |
|
void | op_setKeyCharFlags () |
|
void | op_unsetKeyCharFlags () |
|
void | op_loadSpeechSegment () |
|
void | op_drawSpriteOnBackdrop () |
|
void | op_startPaletteFadeIn () |
|
void | op_startPaletteFadeOut () |
|
void | op_setRoomAreaState () |
|
void | res_openDataFile () |
|
void | res_closeDataFile () |
|
void | res_allocateTables () |
|
void | res_deallocateTables () |
|
uint32 | res_getDataOffset (ResourceType type, int num, uint32 *size=NULL) |
|
void | res_loadSpriteImage (int num, uint8 *dst) |
|
void | res_loadProgram (int num) |
|
void | res_decodeProgramData () |
|
void | res_loadRoom (int num) |
|
void | res_loadSprite (int num, int index) |
|
void | res_loadSequence (int num, int index) |
|
void | res_decodeScanLineImageRLE (uint8 *dst, int lineWidth) |
|
void | res_loadBackdrop () |
|
void | res_loadImage (int num, uint8 *dst) |
|
void | res_loadImageHelper (uint8 *imgData, int imgWidth, int imgHeight) |
|
void | res_loadSound (int flag, int num) |
|
void | res_stopSound () |
|
void | res_loadMusic (int num) |
|
void | res_loadSpeech (int num) |
|
void | res_loadSpeechSegment (int num) |
|
void | res_stopSpeech () |
|
void | drawButton (Button *button) |
|
void | redrawMenu (MenuData *menu) |
|
void | handleMenuAction (MenuData *menu, int actionId) |
|
void | handleOptions (int forceDisplay) |
|
void | drawActionsPanel (int dstX, int dstY, int deltaX, int deltaY) |
|
void | drawConversationPanelBorder (int dstY, int srcX, int srcY) |
|
void | drawConversationPanel () |
|
void | printStatusString (const char *str) |
|
void | clearStatusString () |
|
int | displayQuitDialog () |
|
void | displayTextMode (int str) |
|
Common::Point | getMousePos () const |
|
void | initMusic () |
|
int | getMusicVolume () |
|
void | setMusicVolume (int volume) |
|
void | adjustMusicVolume (int diff) |
|
virtual int | runDialog (GUI::Dialog &dialog) |
|
void | defaultSyncSoundSettings () |
|
virtual void | pauseEngineIntern (bool pause) |
|