|
void | seq_showStarcraftLogo () |
|
int | seq_playIntro () |
|
int | seq_playOutro () |
|
int | seq_playDemo () |
|
void | seq_pausePlayer (bool toggle) |
|
Common::Error | init () override |
|
Common::Error | go () override |
|
void | startup () |
|
void | runLoop () |
|
void | cleanup () |
|
void | registerDefaultSettings () override |
|
void | writeSettings () override |
|
void | readSettings () override |
|
void | initStaticResource () |
|
void | setupTimers () override |
|
void | setupOpcodeTable () override |
|
void | loadMouseShapes () |
|
void | loadItemShapes () |
|
void | update () override |
|
void | updateWithText () override |
|
void | updateMouse () |
|
void | dinoRide () |
|
void | handleInput (int x, int y) |
|
bool | handleInputUnkSub (int x, int y) |
|
int | inputSceneChange (int x, int y, int unk1, int unk2) override |
|
void | processKeyboardSfx (int inputFlag) |
|
void | backUpPage0 () |
|
void | restorePage0 () |
|
void | backUpGfxRect24x24 (int x, int y) |
|
void | restoreGfxRect24x24 (int x, int y) |
|
void | backUpGfxRect32x32 (int x, int y) |
|
void | restoreGfxRect32x32 (int x, int y) |
|
void | freeSceneShapePtrs () |
|
void | loadCharacterShapes (int shapes) override |
|
void | loadInventoryShapes () |
|
void | resetScaleTable () |
|
void | setScaleTableItem (int item, int data) |
|
int | getScale (int x, int y) override |
|
void | setDrawLayerTableEntry (int entry, int data) |
|
int | getDrawLayer (int x, int y) |
|
int | initAnimationShapes (uint8 *filedata) override |
|
void | uninitAnimationShapes (int count, uint8 *filedata) override |
|
void | restorePage3 () override |
|
void | clearAnimObjects () override |
|
void | refreshAnimObjects (int force) override |
|
void | drawAnimObjects () override |
|
void | drawSceneAnimObject (AnimObj *obj, int x, int y, int drawLayer) override |
|
void | drawCharacterAnimObject (AnimObj *obj, int x, int y, int drawLayer) override |
|
void | updateItemAnimations () |
|
void | updateCharFacing () |
|
void | updateCharacterAnim (int) override |
|
void | updateSceneAnim (int anim, int newFrame) override |
|
void | setCharacterAnimDim (int w, int h) override |
|
void | resetCharacterAnimDim () override |
|
void | enterNewScene (uint16 newScene, int facing, int unk1, int unk2, int unk3) override |
|
void | enterNewSceneUnk1 (int facing, int unk1, int unk2) |
|
void | enterNewSceneUnk2 (int unk1) |
|
void | unloadScene () |
|
void | loadScenePal () |
|
void | loadSceneMsc () |
|
void | fadeScenePal (int srcIndex, int delay) |
|
void | startSceneScript (int unk1) |
|
void | runSceneScript2 () |
|
void | runSceneScript4 (int unk1) |
|
void | runSceneScript7 () |
|
void | initSceneAnims (int unk1) |
|
void | initSceneScreen (int unk1) |
|
int | trySceneChange (int *moveTable, int unk1, int updateChar) override |
|
int | checkSceneChange () |
|
bool | lineIsPassable (int x, int y) override |
|
void | setMouseCursor (Item item) override |
|
int | checkItemCollision (int x, int y) |
|
void | updateWaterFlasks () |
|
bool | dropItem (int unk1, Item item, int x, int y, int unk2) |
|
bool | processItemDrop (uint16 sceneId, Item item, int x, int y, int unk1, int unk2) |
|
void | itemDropDown (int startX, int startY, int dstX, int dstY, int itemSlot, Item item) |
|
void | exchangeMouseItem (int itemPos) |
|
bool | pickUpItem (int x, int y) |
|
bool | isDropable (int x, int y) |
|
bool | itemIsFlask (Item item) |
|
int | getInventoryItemSlot (Item item) |
|
void | removeSlotFromInventory (int slot) |
|
bool | checkInventoryItemExchange (Item item, int slot) |
|
void | drawInventoryShape (int page, Item item, int slot) |
|
void | clearInventorySlot (int slot, int page) |
|
void | redrawInventory (int page) |
|
void | scrollInventoryWheel () |
|
int | findFreeVisibleInventorySlot () |
|
void | loadButtonShapes () |
|
void | setupLangButtonShapes () |
|
void | initInventoryButtonList () |
|
int | scrollInventory (Button *button) |
|
int | buttonInventory (Button *button) |
|
int | bookButton (Button *button) |
|
int | cauldronButton (Button *button) |
|
int | cauldronClearButton (Button *button) |
|
void | loadBookBkgd () |
|
void | showBookPage () |
|
void | bookLoop () |
|
void | bookDecodeText (uint8 *text) |
|
void | bookPrintText (int dstPage, const uint8 *text, int x, int y, uint8 color) |
|
int | bookPrevPage (Button *button) |
|
int | bookNextPage (Button *button) |
|
int | bookClose (Button *button) |
|
void | resetCauldronStateTable (int idx) |
|
bool | addToCauldronStateTable (int data, int idx) |
|
void | setCauldronState (uint8 state, bool paletteFade) |
|
void | clearCauldronTable () |
|
void | addFrontCauldronTable (int item) |
|
void | cauldronItemAnim (int item) |
|
void | cauldronRndPaletteFade () |
|
bool | updateCauldron () |
|
void | listItemsInCauldron () |
|
void | loadCCodeBuffer (const char *file) |
|
void | loadOptionsBuffer (const char *file) |
|
void | loadChapterBuffer (int chapter) |
|
uint8 * | getTableEntry (uint8 *buffer, int id) |
|
Common::String | getTableString (int id, uint8 *buffer, bool decode) |
|
Common::String | getChapterString (int id) |
|
void | changeFileExtension (Common::String &file) |
|
int | getItemCommandStringDrop (Item item) |
|
int | getItemCommandStringPickUp (Item item) |
|
int | getItemCommandStringInv (Item item) |
|
void | updateCharPal (int unk1) |
|
void | setCharPalEntry (int entry, int value) |
|
int | getCharacterWalkspeed () const override |
|
void | updateCharAnimFrame (int *table) override |
|
bool | checkCharCollision (int x, int y) |
|
void | showMessageFromCCode (int id, int16 palIndex, int) |
|
void | showMessage (const Common::String &string, int16 palIndex) |
|
void | clearMessage () |
|
void | showChapterMessage (int id, int16 palIndex) |
|
void | updateCommandLineEx (int str1, int str2, int16 palIndex) |
|
void | fadeMessagePalette () |
|
int | chatGetType (const char *text) |
|
int | chatCalcDuration (const Common::String &text) |
|
void | objectChat (const Common::String &text, int object, int vocHigh=-1, int vocLow=-1) |
|
void | objectChatInit (const Common::String &text, int object, int vocHigh=-1, int vocLow=-1) |
|
void | objectChatPrintText (const Common::String &text, int object) |
|
void | objectChatProcess (const char *script) |
|
void | objectChatWaitToFinish () |
|
void | startDialogue (int dlgIndex) |
|
void | zanthSceneStartupChat () |
|
void | randomSceneChat () override |
|
void | updateDlgBuffer () |
|
void | loadDlgHeader (int &csEntry, int &vocH, int &scIndex1, int &scIndex2) |
|
void | processDialogue (int dlgOffset, int vocH=0, int csEntry=0) |
|
void | npcChatSequence (const Common::String &str, int objectId, int vocHigh=-1, int vocLow=-1) |
|
void | setDlgIndex (int dlgIndex) override |
|
void | initTalkObject (int index) |
|
void | deinitTalkObject (int index) |
|
void | playTim (const char *filename) |
|
int | t2_initChat (const TIM *tim, const uint16 *param) |
|
int | t2_updateSceneAnim (const TIM *tim, const uint16 *param) |
|
int | t2_resetChat (const TIM *tim, const uint16 *param) |
|
int | t2_playSoundEffect (const TIM *tim, const uint16 *param) |
|
void | openTalkFile (int newFile) |
|
void | snd_playVoiceFile (int id) override |
|
void | snd_loadSoundFile (int id) |
|
void | playVoice (int high, int low) |
|
void | snd_playSoundEffect (int track, int volume=0xFF) override |
|
void | timerFadeOutMessage (int) |
|
void | timerCauldronAnimation (int) |
|
void | timerFunc4 (int) |
|
void | timerFunc5 (int) |
|
void | timerBurnZanthia (int) |
|
void | setTimer1DelaySecs (int secs) |
|
void | setNextIdleAnimTimer () |
|
void | showIdleAnim () |
|
void | runIdleScript (int script) |
|
void | setWalkspeed (uint8 speed) override |
|
void | seq_makeBookOrCauldronAppear (int type) |
|
void | seq_makeBookAppear () |
|
void | loadInvWsa (const char *filename, int run, int delay, int page, int sfx, int sFrame, int flags) |
|
void | closeInvWsa () |
|
void | updateInvWsa () |
|
void | displayInvWsaLastFrame () |
|
int | o2_setCharacterFacingRefresh (EMCState *script) |
|
int | o2_setCharacterPos (EMCState *script) |
|
int | o2_defineObject (EMCState *script) |
|
int | o2_refreshCharacter (EMCState *script) |
|
int | o2_setSceneComment (EMCState *script) |
|
int | o2_setCharacterAnimFrame (EMCState *script) |
|
int | o2_setCharacterFacing (EMCState *script) |
|
int | o2_customCharacterChat (EMCState *script) |
|
int | o2_soundFadeOut (EMCState *script) |
|
int | o2_showChapterMessage (EMCState *script) |
|
int | o2_restoreTalkTextMessageBkgd (EMCState *script) |
|
int | o2_wsaClose (EMCState *script) |
|
int | o2_meanWhileScene (EMCState *script) |
|
int | o2_backUpScreen (EMCState *script) |
|
int | o2_restoreScreen (EMCState *script) |
|
int | o2_displayWsaFrame (EMCState *script) |
|
int | o2_displayWsaSequentialFramesLooping (EMCState *script) |
|
int | o2_wsaOpen (EMCState *script) |
|
int | o2_displayWsaSequentialFrames (EMCState *script) |
|
int | o2_displayWsaSequence (EMCState *script) |
|
int | o2_addItemToInventory (EMCState *script) |
|
int | o2_drawShape (EMCState *script) |
|
int | o2_addItemToCurScene (EMCState *script) |
|
int | o2_loadSoundFile (EMCState *script) |
|
int | o2_removeSlotFromInventory (EMCState *script) |
|
int | o2_removeItemFromInventory (EMCState *script) |
|
int | o2_countItemInInventory (EMCState *script) |
|
int | o2_countItemsInScene (EMCState *script) |
|
int | o2_wipeDownMouseItem (EMCState *script) |
|
int | o2_getElapsedSecs (EMCState *script) |
|
int | o2_getTimerDelay (EMCState *script) |
|
int | o2_playCompleteSoundEffect (EMCState *script) |
|
int | o2_delaySecs (EMCState *script) |
|
int | o2_setTimerDelay (EMCState *script) |
|
int | o2_setScaleTableItem (EMCState *script) |
|
int | o2_setDrawLayerTableItem (EMCState *script) |
|
int | o2_setCharPalEntry (EMCState *script) |
|
int | o2_loadZShapes (EMCState *script) |
|
int | o2_drawSceneShape (EMCState *script) |
|
int | o2_drawSceneShapeOnPage (EMCState *script) |
|
int | o2_disableAnimObject (EMCState *script) |
|
int | o2_enableAnimObject (EMCState *script) |
|
int | o2_loadPalette384 (EMCState *script) |
|
int | o2_setPalette384 (EMCState *script) |
|
int | o2_restoreBackBuffer (EMCState *script) |
|
int | o2_backUpInventoryGfx (EMCState *script) |
|
int | o2_disableSceneAnim (EMCState *script) |
|
int | o2_enableSceneAnim (EMCState *script) |
|
int | o2_restoreInventoryGfx (EMCState *script) |
|
int | o2_setSceneAnimPos2 (EMCState *script) |
|
int | o2_fadeScenePal (EMCState *script) |
|
int | o2_enterNewScene (EMCState *script) |
|
int | o2_switchScene (EMCState *script) |
|
int | o2_setPathfinderFlag (EMCState *script) |
|
int | o2_getSceneExitToFacing (EMCState *script) |
|
int | o2_setLayerFlag (EMCState *script) |
|
int | o2_setZanthiaPos (EMCState *script) |
|
int | o2_loadMusicTrack (EMCState *script) |
|
int | o2_setSceneAnimPos (EMCState *script) |
|
int | o2_setCauldronState (EMCState *script) |
|
int | o2_showItemString (EMCState *script) |
|
int | o2_isAnySoundPlaying (EMCState *script) |
|
int | o2_setDrawNoShapeFlag (EMCState *script) |
|
int | o2_setRunFlag (EMCState *script) |
|
int | o2_showLetter (EMCState *script) |
|
int | o2_playFireflyScore (EMCState *script) |
|
int | o2_encodeShape (EMCState *script) |
|
int | o2_defineSceneAnim (EMCState *script) |
|
int | o2_updateSceneAnim (EMCState *script) |
|
int | o2_addToSceneAnimPosAndUpdate (EMCState *script) |
|
int | o2_useItemOnMainChar (EMCState *script) |
|
int | o2_startDialogue (EMCState *script) |
|
int | o2_addCauldronStateTableEntry (EMCState *script) |
|
int | o2_setCountDown (EMCState *script) |
|
int | o2_getCountDown (EMCState *script) |
|
int | o2_pressColorKey (EMCState *script) |
|
int | o2_objectChat (EMCState *script) |
|
int | o2_changeChapter (EMCState *script) |
|
int | o2_getColorCodeFlag1 (EMCState *script) |
|
int | o2_setColorCodeFlag1 (EMCState *script) |
|
int | o2_getColorCodeFlag2 (EMCState *script) |
|
int | o2_setColorCodeFlag2 (EMCState *script) |
|
int | o2_getColorCodeValue (EMCState *script) |
|
int | o2_setColorCodeValue (EMCState *script) |
|
int | o2_countItemInstances (EMCState *script) |
|
int | o2_removeItemFromScene (EMCState *script) |
|
int | o2_initObject (EMCState *script) |
|
int | o2_npcChat (EMCState *script) |
|
int | o2_deinitObject (EMCState *script) |
|
int | o2_playTimSequence (EMCState *script) |
|
int | o2_makeBookOrCauldronAppear (EMCState *script) |
|
int | o2_resetInputColorCode (EMCState *script) |
|
int | o2_mushroomEffect (EMCState *script) |
|
int | o2_customChat (EMCState *script) |
|
int | o2_customChatFinish (EMCState *script) |
|
int | o2_setupSceneAnimation (EMCState *script) |
|
int | o2_stopSceneAnimation (EMCState *script) |
|
int | o2_processPaletteIndex (EMCState *script) |
|
int | o2_updateTwoSceneAnims (EMCState *script) |
|
int | o2_getRainbowRoomData (EMCState *script) |
|
int | o2_drawSceneShapeEx (EMCState *script) |
|
int | o2_midiSoundFadeout (EMCState *script) |
|
int | o2_getSfxDriver (EMCState *script) |
|
int | o2_getVocSupport (EMCState *script) |
|
int | o2_getMusicDriver (EMCState *script) |
|
int | o2_zanthiaChat (EMCState *script) |
|
int | o2_isVoiceEnabled (EMCState *script) |
|
int | o2_isVoicePlaying (EMCState *script) |
|
int | o2_stopVoicePlaying (EMCState *script) |
|
int | o2_getGameLanguage (EMCState *script) |
|
int | o2_demoFinale (EMCState *script) |
|
int | o2_dummy (EMCState *script) |
|
int | o2a_setCharacterFrame (EMCState *script) |
|
void | runStartScript (int script, int unk1) |
|
void | loadNPCScript () |
|
Common::Error | saveGameStateIntern (int slot, const char *saveName, const Graphics::Surface *thumbnail) override |
|
Common::Error | loadGameState (int slot) override |
|
void | allocAnimObjects (int actors, int anims, int items) |
|
AnimObj * | initAnimList (AnimObj *list, AnimObj *entry) |
|
AnimObj * | addToAnimListSorted (AnimObj *list, AnimObj *entry) |
|
AnimObj * | deleteAnimListEntry (AnimObj *list, AnimObj *entry) |
|
void | refreshAnimObjectsIfNeed () |
|
void | flagAnimObjsSpecialRefresh () |
|
void | flagAnimObjsForRefresh () |
|
void | addItemToAnimList (int item) |
|
void | deleteItemAnimEntry (int item) |
|
virtual void | animSetupPaletteEntry (AnimObj *) |
|
bool | checkSpecialSceneExit (int num, int x, int y) |
|
void | runSceneScript6 () |
|
void | freeSceneAnims () |
|
void | updateSpecialSceneScripts () |
|
void | runAnimationScript (const char *filename, int allowSkip, int resetChar, int newShapes, int shapeUnload) |
|
int | o2a_setAnimationShapes (EMCState *script) |
|
int | o2a_setResetFrame (EMCState *script) |
|
void | processAnimationScript (int allowSkip, int resetChar) |
|
uint8 * | getShapePtr (int index) const |
|
void | addShapeToPool (const uint8 *data, int realIndex, int shape) |
|
void | addShapeToPool (uint8 *shpData, int index) |
|
void | remShapeFromPool (int idx) |
|
int | findWay (int curX, int curY, int dstX, int dstY, int *moveTable, int moveTableSize) override |
|
bool | directLinePassable (int x, int y, int toX, int toY) |
|
int | pathfinderInitPositionTable (int *moveTable) |
|
int | pathfinderAddToPositionTable (int index, int v1, int v2) |
|
int | pathfinderInitPositionIndexTable (int tableLen, int x, int y) |
|
int | pathfinderAddToPositionIndexTable (int index, int v) |
|
void | pathfinderFinializePath (int *moveTable, int unk1, int x, int y, int moveTableSize) |
|
void | initItemList (int size) |
|
int | findFreeItem () |
|
int | countAllItems () |
|
int | findItem (uint16 sceneId, Item id) |
|
int | findItem (Item item) |
|
void | resetItemList () |
|
void | resetItem (int index) |
|
void | setHandItem (Item item) override |
|
void | removeHandItem () override |
|
void | moveCharacter (int facing, int x, int y) |
|
int | updateCharPos (int *table, int force=0) |
|
void | updateCharPosWithUpdate () |
|
int | o2_getCharacterX (EMCState *script) |
|
int | o2_getCharacterY (EMCState *script) |
|
int | o2_getCharacterFacing (EMCState *script) |
|
int | o2_getCharacterScene (EMCState *script) |
|
int | o2_setCharacterFacingOverwrite (EMCState *script) |
|
int | o2_trySceneChange (EMCState *script) |
|
int | o2_moveCharacter (EMCState *script) |
|
int | o2_checkForItem (EMCState *script) |
|
int | o2_defineItem (EMCState *script) |
|
int | o2_addSpecialExit (EMCState *script) |
|
int | o2_delay (EMCState *script) |
|
int | o2_update (EMCState *script) |
|
int | o2_getShapeFlag1 (EMCState *script) |
|
int | o2_waitForConfirmationClick (EMCState *script) |
|
int | o2_randomSceneChat (EMCState *script) |
|
int | o2_setDlgIndex (EMCState *script) |
|
int | o2_getDlgIndex (EMCState *script) |
|
int | o2_defineRoomEntrance (EMCState *script) |
|
int | o2_runAnimationScript (EMCState *script) |
|
int | o2_setSpecialSceneScriptRunTime (EMCState *script) |
|
int | o2_defineScene (EMCState *script) |
|
int | o2_setSpecialSceneScriptState (EMCState *script) |
|
int | o2_clearSpecialSceneScriptState (EMCState *script) |
|
int | o2_querySpecialSceneScriptState (EMCState *script) |
|
int | o2_setHiddenItemsEntry (EMCState *script) |
|
int | o2_getHiddenItemsEntry (EMCState *script) |
|
int | o2_disableTimer (EMCState *script) |
|
int | o2_enableTimer (EMCState *script) |
|
int | o2_setTimerCountdown (EMCState *script) |
|
int | o2_setVocHigh (EMCState *script) |
|
int | o2_getVocHigh (EMCState *script) |
|
Common::Error | run () override |
|
bool | hasFeature (EngineFeature f) const override |
|
void | pauseEngineIntern (bool pause) override |
|
void | setupKeyMap () |
|
void | updateInput () |
|
int | checkInput (Button *buttonList, bool mainLoop=false, int eventFlag=0x8000) |
|
void | removeInputTop () |
|
void | transposeScreenOutputY (int yAdd) |
|
virtual bool | skipFlag () const |
|
virtual void | resetSkipFlag (bool removeEvent=true) |
|
int | o1_queryGameFlag (EMCState *script) |
|
int | o1_setGameFlag (EMCState *script) |
|
int | o1_resetGameFlag (EMCState *script) |
|
int | o1_getRand (EMCState *script) |
|
int | o1_hideMouse (EMCState *script) |
|
int | o1_showMouse (EMCState *script) |
|
int | o1_setMousePos (EMCState *script) |
|
int | o1_setHandItem (EMCState *script) |
|
int | o1_removeHandItem (EMCState *script) |
|
int | o1_getMouseState (EMCState *script) |
|
int | o1_setDeathHandler (EMCState *script) |
|
int | o1_playWanderScoreViaMap (EMCState *script) |
|
int | o1_fillRect (EMCState *script) |
|
int | o1_blockInWalkableRegion (EMCState *script) |
|
int | o1_blockOutWalkableRegion (EMCState *script) |
|
int | o1_playSoundEffect (EMCState *script) |
|
int16 | emcSafeReadStack (EMCState *s, int x, int line, const char *file) |
|
virtual int | convertVolumeToMixer (int value) |
|
virtual int | convertVolumeFromMixer (int value) |
|
int | findSubPath (int x, int y, int toX, int toY, int *moveTable, int start, int end) |
|
int | getFacingFromPointToPoint (int x, int y, int toX, int toY) |
|
int | getOppositeFacingDirection (int dir) |
|
void | changePosTowardsFacing (int &x, int &y, int facing) |
|
int | getMoveTableSize (int *moveTable) |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
int | getAutosaveSlot () const override |
|
const char * | getSavegameFilename (int num) |
|
bool | saveFileLoadable (int slot) |
|
void | loadGameStateCheck (int slot) |
|
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
|
Common::SeekableReadStream * | openSaveForReading (const char *filename, SaveHeader &header, bool checkID=true) |
|
Common::OutSaveFile * | openSaveForWriting (const char *filename, const char *saveName, const Graphics::Surface *thumbnail) const |
|
virtual Graphics::Surface * | generateSaveThumbnail () const |
|
void | updatePlayTimer () |
|
void | restartPlayTimerAt (uint32 totalPlaySecs) |
|
void | pausePlayTimer (bool pause) |
|
virtual int | runDialog (GUI::Dialog &dialog) |
|
void | defaultSyncSoundSettings () |
|