Classes | |
struct | OpcodeEntrySimon2 |
Public Member Functions | |
AGOSEngine_Simon2 (OSystem *system, const AGOSGameDescription *gd) | |
void | setupGame () override |
void | setupOpcodes () override |
void | setupVideoOpcodes (VgaOpcodeProc *op) override |
void | executeOpcode (int opcode) override |
void | os2_printLongText () |
void | os2_rescan () |
void | os2_animate () |
void | os2_stopAnimate () |
void | os2_playTune () |
void | os2_screenTextPObj () |
void | os2_mouseOn () |
void | os2_mouseOff () |
void | os2_isShortText () |
void | os2_clearMarks () |
void | os2_waitMark () |
Public Member Functions inherited from AGOS::AGOSEngine_Simon1 | |
AGOSEngine_Simon1 (OSystem *system, const AGOSGameDescription *gd) | |
void | vc22_setPalette () override |
void | os1_animate () |
void | os1_pauseGame () |
void | os1_screenTextBox () |
void | os1_screenTextMsg () |
void | os1_playEffect () |
void | os1_screenTextPObj () |
void | os1_getPathPosn () |
void | os1_scnTxtLongText () |
void | os1_mouseOn () |
void | os1_mouseOff () |
void | os1_loadBeard () |
void | os1_unloadBeard () |
void | os1_unloadZone () |
void | os1_loadStrings () |
void | os1_unfreezeZones () |
void | os1_specialFade () |
Public Member Functions inherited from AGOS::AGOSEngine_Waxworks | |
AGOSEngine_Waxworks (OSystem *system, const AGOSGameDescription *gd) | |
void | boxTextMessage (const char *x) |
void | boxTextMsg (const char *x) |
void | printBox () |
uint16 | getBoxSize () |
uint16 | checkFit (char *Ptr, int width, int lines) |
void | oww_goto () |
void | oww_addTextBox () |
void | oww_setShortText () |
void | oww_setLongText () |
void | oww_printLongText () |
void | oww_whereTo () |
void | oww_textMenu () |
void | oww_pauseGame () |
void | oww_boxMessage () |
void | oww_boxMsg () |
void | oww_boxLongText () |
void | oww_printBox () |
void | oww_boxPObj () |
void | oww_lockZones () |
void | oww_unlockZones () |
Public Member Functions inherited from AGOS::AGOSEngine_Elvira2 | |
AGOSEngine_Elvira2 (OSystem *system, const AGOSGameDescription *gd) | |
void | oe2_moveDirn () |
void | oe2_doClass () |
void | oe2_pObj () |
void | oe2_isCalled () |
void | oe2_menu () |
void | oe2_drawItem () |
void | oe2_doTable () |
void | oe2_pauseGame () |
void | oe2_setDoorOpen () |
void | oe2_setDoorClosed () |
void | oe2_setDoorLocked () |
void | oe2_ifDoorOpen () |
void | oe2_ifDoorClosed () |
void | oe2_ifDoorLocked () |
void | oe2_storeItem () |
void | oe2_getItem () |
void | oe2_bSet () |
void | oe2_bClear () |
void | oe2_bZero () |
void | oe2_bNotZero () |
void | oe2_getOValue () |
void | oe2_setOValue () |
void | oe2_ink () |
void | oe2_printStats () |
void | oe2_setSuperRoom () |
void | oe2_getSuperRoom () |
void | oe2_setExitOpen () |
void | oe2_setExitClosed () |
void | oe2_setExitLocked () |
void | oe2_ifExitOpen () |
void | oe2_ifExitClosed () |
void | oe2_ifExitLocked () |
void | oe2_playEffect () |
void | oe2_getDollar2 () |
void | oe2_setSRExit () |
void | oe2_printPlayerDamage () |
void | oe2_printMonsterDamage () |
void | oe2_isAdjNoun () |
void | oe2_b2Set () |
void | oe2_b2Clear () |
void | oe2_b2Zero () |
void | oe2_b2NotZero () |
void | printStats () override |
Public Member Functions inherited from AGOS::AGOSEngine_Elvira1 | |
AGOSEngine_Elvira1 (OSystem *system, const AGOSGameDescription *gd) | |
Common::Error | init () override |
void | oe1_present () |
void | oe1_notPresent () |
void | oe1_worn () |
void | oe1_notWorn () |
void | oe1_notCarried () |
void | oe1_isNotAt () |
void | oe1_sibling () |
void | oe1_notSibling () |
void | oe1_isIn () |
void | oe1_isNotIn () |
void | oe1_isPlayer () |
void | oe1_canPut () |
void | oe1_create () |
void | oe1_copyof () |
void | oe1_copyfo () |
void | oe1_whatO () |
void | oe1_weigh () |
void | oe1_setFF () |
void | oe1_moveDirn () |
void | oe1_score () |
void | oe1_look () |
void | oe1_doClass () |
void | oe1_pObj () |
void | oe1_pName () |
void | oe1_pcName () |
void | oe1_isCalled () |
void | oe1_cFlag () |
void | oe1_rescan () |
void | oe1_setUserItem () |
void | oe1_getUserItem () |
void | oe1_whereTo () |
void | oe1_doorExit () |
void | oe1_loadGame () |
void | oe1_clearUserItem () |
void | oe1_findMaster () |
void | oe1_nextMaster () |
void | oe1_animate () |
void | oe1_stopAnimate () |
void | oe1_menu () |
void | oe1_addBox () |
void | oe1_enableInput () |
void | oe1_setTime () |
void | oe1_ifTime () |
void | oe1_playTune () |
void | oe1_bitClear () |
void | oe1_bitSet () |
void | oe1_bitTest () |
void | oe1_zoneDisk () |
void | oe1_printStats () |
void | oe1_stopTune () |
void | oe1_printPlayerDamage () |
void | oe1_printMonsterDamage () |
void | oe1_pauseGame () |
void | oe1_printPlayerHit () |
void | oe1_printMonsterHit () |
Public Member Functions inherited from AGOS::AGOSEngine | |
int | getGameId () const |
int | getGameType () const |
uint32 | getFeatures () const |
const char * | getExtra () const |
Common::Language | getLanguage () const |
Common::Platform | getPlatform () const |
const char * | getFileName (int type) const |
AGOSEngine (OSystem *system, const AGOSGameDescription *gd) | |
bool | getBitFlag (uint bit) |
void | setBitFlag (uint bit, bool value) |
void | vc1_fadeOut () |
void | vc2_call () |
virtual void | vc3_loadSprite () |
void | vc4_fadeIn () |
void | vc5_ifEqual () |
void | vc6_ifObjectHere () |
void | vc7_ifObjectNotHere () |
void | vc8_ifObjectIsAt () |
void | vc9_ifObjectStateIs () |
void | vc10_draw () |
void | vc12_delay () |
void | vc13_addToSpriteX () |
void | vc14_addToSpriteY () |
void | vc15_sync () |
void | vc16_waitSync () |
void | vc18_jump () |
void | vc19_loop () |
void | vc20_setRepeat () |
void | vc21_endRepeat () |
void | vc23_setPriority () |
void | vc24_setSpriteXY () |
void | vc25_halt_sprite () |
void | vc26_setSubWindow () |
void | vc27_resetSprite () |
void | vc28_playSFX () |
void | vc29_stopAllSounds () |
void | vc30_setFrameRate () |
void | vc31_setWindow () |
void | vc33_setMouseOn () |
void | vc34_setMouseOff () |
void | vc35_clearWindow () |
virtual void | vc36_setWindowImage () |
void | vc38_ifVarNotZero () |
void | vc39_setVar () |
void | vc40_scrollRight () |
void | vc41_scrollLeft () |
void | vc42_delayIfNotEQ () |
void | vc11_onStop () |
void | vc36_pause () |
void | vc39_volume () |
void | vc44_enableBox () |
void | vc45_disableBox () |
void | vc46_maxBox () |
void | vc48_specialEffect () |
void | vc50_setBox () |
void | vc55_scanFlag () |
void | vc17_waitEnd () |
void | vc32_saveScreen () |
void | vc37_pokePalette () |
void | vc43_ifBitSet () |
void | vc44_ifBitClear () |
void | vc45_setWindowPalette () |
void | vc46_setPaletteSlot1 () |
void | vc47_setPaletteSlot2 () |
void | vc48_setPaletteSlot3 () |
void | vc49_setBit () |
void | vc50_clearBit () |
void | vc51_enableBox () |
void | vc52_playSound () |
void | vc53_dissolveIn () |
void | vc54_dissolveOut () |
void | vc55_moveBox () |
void | vc56_fullScreen () |
void | vc57_blackPalette () |
void | vc58_checkCodeWheel () |
void | vc58_changePriority () |
void | vc59_ifEGA () |
void | vc60_stopAnimation () |
void | vc61 () |
void | vc62_fastFadeOut () |
virtual void | vc63_fastFadeIn () |
void | vc11_clearPathFinder () |
void | vc17_setPathfinderItem () |
void | vc32_copyVar () |
void | vc37_addToSpriteY () |
void | vc45_setSpriteX () |
void | vc46_setSpriteY () |
void | vc47_addToVar () |
virtual void | vc48_setPathFinder () |
void | vc59_ifSpeech () |
void | vc61_setMaskImage () |
void | vc56_delayLong () |
void | vc59_stopAnimations () |
void | vc64_ifSpeech () |
void | vc65_slowFadeIn () |
void | vc66_ifEqual () |
void | vc67_ifLE () |
void | vc68_ifGE () |
void | vc69_playSeq () |
void | vc70_joinSeq () |
void | vc71_ifSeqWaiting () |
void | vc72_segue () |
void | vc73_setMark () |
void | vc74_clearMark () |
void | vc75_setScale () |
void | vc76_setScaleXOffs () |
void | vc77_setScaleYOffs () |
void | vc78_computeXY () |
void | vc79_computePosNum () |
void | vc80_setOverlayImage () |
void | vc81_setRandom () |
void | vc82_getPathValue () |
void | vc83_playSoundLoop () |
void | vc84_stopSoundLoop () |
void | setScriptCondition (bool cond) |
bool | getScriptCondition () |
void | setScriptReturn (int ret) |
int | getScriptReturn () |
void | o_invalid () |
void | o_at () |
void | o_notAt () |
void | o_carried () |
void | o_notCarried () |
void | o_isAt () |
void | o_zero () |
void | o_notZero () |
void | o_eq () |
void | o_notEq () |
void | o_gt () |
void | o_lt () |
void | o_eqf () |
void | o_notEqf () |
void | o_ltf () |
void | o_gtf () |
void | o_chance () |
void | o_isRoom () |
void | o_isObject () |
void | o_state () |
void | o_oflag () |
void | o_destroy () |
void | o_place () |
void | o_copyff () |
void | o_clear () |
void | o_let () |
void | o_add () |
void | o_sub () |
void | o_addf () |
void | o_subf () |
void | o_mul () |
void | o_div () |
void | o_mulf () |
void | o_divf () |
void | o_mod () |
void | o_modf () |
void | o_random () |
void | o_goto () |
void | o_oset () |
void | o_oclear () |
void | o_putBy () |
void | o_inc () |
void | o_dec () |
void | o_setState () |
void | o_print () |
void | o_message () |
void | o_msg () |
void | o_end () |
void | o_done () |
void | o_process () |
void | o_when () |
void | o_if1 () |
void | o_if2 () |
void | o_isCalled () |
void | o_is () |
void | o_debug () |
void | o_comment () |
void | o_haltAnimation () |
void | o_restartAnimation () |
void | o_getParent () |
void | o_getNext () |
void | o_getChildren () |
void | o_picture () |
void | o_loadZone () |
void | o_killAnimate () |
void | o_defWindow () |
void | o_window () |
void | o_cls () |
void | o_closeWindow () |
void | o_addBox () |
void | o_delBox () |
void | o_enableBox () |
void | o_disableBox () |
void | o_moveBox () |
void | o_doIcons () |
void | o_isClass () |
void | o_setClass () |
void | o_unsetClass () |
void | o_waitSync () |
void | o_sync () |
void | o_defObj () |
void | o_here () |
void | o_doClassIcons () |
void | o_playTune () |
void | o_setAdjNoun () |
void | o_saveUserGame () |
void | o_loadUserGame () |
void | o_copysf () |
void | o_restoreIcons () |
void | o_freezeZones () |
void | o_placeNoIcons () |
void | o_clearTimers () |
void | o_setDollar () |
void | o_isBox () |
int16 | moreText (Item *i) |
void | lobjFunc (Item *i, const char *f) |
uint | confirmYesOrNo (uint16 x, uint16 y) |
uint | continueOrQuit () |
void | printScroll () |
void | synchChain (Item *i) |
Public Member Functions inherited from Engine | |
MetaEngine * | getMetaEngine () const |
void | setMetaEngine (MetaEngine *metaEngine) |
PauseToken | pauseEngine () |
bool | isPaused () const |
void | openMainMenuDialog () |
uint32 | getTotalPlayTime () const |
void | setTotalPlayTime (uint32 time=0) |
Common::TimerManager * | getTimerManager () |
Common::EventManager * | getEventManager () |
Common::SaveFileManager * | getSaveFileManager () |
bool | existExtractedCDAudioFiles (uint track=1) |
bool | isDataAndCDAudioReadFromSameCD () |
void | warnMissingExtractedCDAudio () |
void | handleAutoSave () |
void | saveAutosaveIfEnabled () |
virtual bool | canSaveAutosaveCurrently () |
virtual int | getAutosaveSlot () const |
Engine (OSystem *syst) | |
virtual | ~Engine () |
virtual void | initializePath (const Common::FSNode &gamePath) |
virtual void | errorString (const char *buf_input, char *buf_output, int buf_output_size) |
virtual GUI::Debugger * | getDebugger () final |
void | setDebugger (GUI::Debugger *debugger) |
GUI::Debugger * | getOrCreateDebugger () |
virtual void | applyGameSettings () |
virtual void | flipMute () |
virtual Common::String | getSaveStateName (int slot) const |
virtual Common::Error | loadGameState (int slot) |
virtual Common::Error | loadGameStream (Common::SeekableReadStream *stream) |
void | setGameToLoadSlot (int slot) |
virtual bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) |
virtual Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
virtual bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) |
bool | saveGameDialog () |
bool | loadGameDialog () |
Protected Types | |
typedef void(AGOSEngine_Simon2::* | OpcodeProcSimon2) () |
Protected Types inherited from AGOS::AGOSEngine_Simon1 | |
typedef void(AGOSEngine_Simon1::* | OpcodeProcSimon1) () |
Protected Types inherited from AGOS::AGOSEngine_Waxworks | |
typedef void(AGOSEngine_Waxworks::* | OpcodeProcWaxworks) () |
Protected Types inherited from AGOS::AGOSEngine_Elvira2 | |
typedef void(AGOSEngine_Elvira2::* | OpcodeProcElvira2) () |
Protected Types inherited from AGOS::AGOSEngine_Elvira1 | |
typedef void(AGOSEngine_Elvira1::* | OpcodeProcElvira1) () |
Protected Types inherited from AGOS::AGOSEngine | |
typedef void(AGOSEngine::* | VgaOpcodeProc) () |
Protected Member Functions | |
void | clearName () override |
void | drawIcon (WindowBlock *window, uint icon, uint x, uint y) override |
void | addArrows (WindowBlock *window, uint8 num) override |
uint | setupIconHitArea (WindowBlock *window, uint num, uint x, uint y, Item *itemPtr) override |
void | clearVideoWindow (uint16 windowNum, uint16 color) override |
void | playSpeech (uint16 speechId, uint16 vgaSpriteId) override |
void | playMusic (uint16 music, uint16 track) override |
Common::String | genSaveName (int slot) const override |
Protected Member Functions inherited from AGOS::AGOSEngine_Simon1 | |
void | drawImage (VC10_state *state) override |
void | drawMaskedImage (VC10_state *state) |
void | draw32ColorImage (VC10_state *state) |
void | dumpVgaFile (const byte *vga) override |
void | handleMouseWheelUp () override |
void | handleMouseWheelDown () override |
void | initMouse () override |
void | handleMouseMoved () override |
void | removeArrows (WindowBlock *window, uint num) override |
void | listSaveGames () override |
void | userGame (bool load) override |
int | userGameGetKey (bool *b, uint maxChar) override |
void | playMidiSfx (uint16 sound) override |
void | vcStopAnimation (uint16 zone, uint16 sprite) override |
Protected Member Functions inherited from AGOS::AGOSEngine_Waxworks | |
void | boxController (uint x, uint y, uint mode) override |
bool | loadTablesIntoMem (uint16 subrId) override |
void | moveDirn (Item *i, uint x) override |
bool | confirmOverWrite (WindowBlock *window) override |
Protected Member Functions inherited from AGOS::AGOSEngine_Elvira2 | |
void | readItemChildren (Common::SeekableReadStream *in, Item *item, uint tmp) override |
bool | loadGame (const Common::String &filename, bool restartMode=false) override |
bool | saveGame (uint slot, const char *caption) override |
bool | hasIcon (Item *item) override |
uint | itemGetIconNumber (Item *item) override |
int | canPlace (Item *x, Item *y) override |
int | sizeOfRec (Item *o, int d) override |
int | weightOf (Item *x) override |
int | changeExitStates (SubSuperRoom *sr, int n, int d, uint16 s) |
uint16 | getExitState (Item *item, uint16 x, uint16 d) |
void | setExitState (Item *i, uint16 n, uint16 d, uint16 s) |
void | setSRExit (Item *i, int n, int d, uint16 s) |
Protected Member Functions inherited from AGOS::AGOSEngine_Elvira1 | |
void | windowDrawChar (WindowBlock *window, uint x, uint y, byte chr) override |
void | addHiResTextDirtyRect (Common::Rect rect) |
void | clearHiResTextLayer () override |
Protected Member Functions inherited from AGOS::AGOSEngine | |
virtual Common::Error | go () |
Common::Error | run () override |
bool | hasFeature (EngineFeature f) const override |
void | syncSoundSettings () override |
void | syncSoundSettingsIntern () |
void | pauseEngineIntern (bool pause) override |
void | setupVgaOpcodes () |
uint32 | getTime () const |
virtual uint16 | to16Wrapper (uint value) |
virtual uint16 | readUint16Wrapper (const void *src) |
virtual uint32 | readUint32Wrapper (const void *src) |
int | allocGamePcVars (Common::SeekableReadStream *in) |
void | createPlayer () |
void | allocateStringTable (int num) |
void | setupStringTable (byte *mem, int num) |
void | setupLocalStringTable (byte *mem, int num) |
void | readGamePcText (Common::SeekableReadStream *in) |
void | readItemFromGamePc (Common::SeekableReadStream *in, Item *item) |
virtual void | loadGamePcFile () |
void | readGamePcFile (Common::SeekableReadStream *in) |
void | decompressData (const char *srcName, byte *dst, uint32 offset, uint32 srcSize, uint32 dstSize) |
void | decompressPN (Common::Stack< uint32 > &dataList, uint8 *&dataOut, int &dataOutSize) |
void | loadOffsets (const char *filename, int number, uint32 &file, uint32 &offset, uint32 &compressedSize, uint32 &size) |
void | loadSound (uint16 sound, int16 pan, int16 vol, uint16 type) |
void | playSfx (uint16 sound, uint16 freq, uint16 flags, bool digitalOnly=false, bool midiOnly=false) |
void | loadSound (uint16 sound, uint16 freq, uint16 flags) |
void | loadMidiSfx () |
void | loadVoice (uint speechId) |
void | stopAllSfx () |
void | loadSoundFile (const char *filename) |
int | getUserFlag (Item *item, int a) |
int | getUserFlag1 (Item *item, int a) |
int | getUserItem (Item *item, int n) |
void | setUserFlag (Item *item, int a, int b) |
void | setUserItem (Item *item, int n, int m) |
void | paletteFadeOut (byte *palPtr, uint num, uint size) |
void * | allocateItem (uint size) |
void * | allocateTable (uint size) |
void | alignTableMem () |
Child * | findChildOfType (Item *i, uint child) |
Child * | allocateChildBlock (Item *i, uint type, uint size) |
void | allocItemHeap () |
void | allocTablesHeap () |
Subroutine * | createSubroutine (uint16 a) |
void | readSubroutine (Common::SeekableReadStream *in, Subroutine *sub) |
SubroutineLine * | createSubroutineLine (Subroutine *sub, int a) |
void | readSubroutineLine (Common::SeekableReadStream *in, SubroutineLine *newTable, Subroutine *sub) |
byte * | readSingleOpcode (Common::SeekableReadStream *in, byte *ptr) |
void | readSubroutineBlock (Common::SeekableReadStream *in) |
Subroutine * | getSubroutineByID (uint subroutineId) |
void | dumpAllSubroutines () |
void | dumpAllVgaImageFiles () |
void | dumpAllVgaScriptFiles () |
void | dumpSubroutines () |
void | dumpSubroutine (Subroutine *sub) |
void | dumpSubroutineLine (SubroutineLine *sl, Subroutine *sub) |
const byte * | dumpOpcode (const byte *p) |
int | startSubroutine (Subroutine *sub) |
int | startSubroutineEx (Subroutine *sub) |
bool | checkIfToRunSubroutineLine (SubroutineLine *sl, Subroutine *sub) |
int | runScript () |
byte | getByte () |
int | getNextWord () |
uint | getNextVarContents () |
uint | getVarWrapper () |
uint | getVarOrWord () |
uint | getVarOrByte () |
uint | readVariable (uint16 variable) |
void | writeNextVarContents (uint16 contents) |
void | writeVariable (uint16 variable, uint16 contents) |
Item * | derefItem (uint item) |
Item * | getNextItemPtr () |
uint | getNextItemID () |
uint | getItem1ID () |
uint | itemPtrToID (Item *id) |
Item * | me () |
Item * | actor () |
void | uncompressText (byte *ptr) |
byte * | uncompressToken (byte a, byte *ptr) |
void | showMessageFormat (MSVC_PRINTF const char *s,...) GCC_PRINTF(2 |
void const byte * | getStringPtrByID (uint16 stringId, bool upperCase=false) |
const byte * | getLocalStringByID (uint16 stringId) |
uint | getNextStringID () |
void | addTimeEvent (int32 timeout, uint16 subroutineId) |
void | delTimeEvent (TimeEvent *te) |
Item * | findInByClass (Item *i, int16 m) |
Item * | nextInByClass (Item *i, int16 m) |
Item * | findMaster (int16 a, int16 n) |
Item * | nextMaster (Item *item, int16 a, int16 n) |
int | wordMatch (Item *item, int16 a, int16 n) |
bool | isRoom (Item *item) |
bool | isObject (Item *item) |
bool | isPlayer (Item *item) |
void | itemChildrenChanged (Item *item) |
void | unlinkItem (Item *item) |
void | linkItem (Item *item, Item *parent) |
void | setItemParent (Item *item, Item *parent) |
void | setItemState (Item *item, int value) |
void | stopAnimate (uint16 a) |
void | stopAnimateSimon2 (uint16 a, uint16 b) |
void | enableBox (uint hitarea) |
void | disableBox (uint hitarea) |
void | moveBox (uint hitarea, int x, int y) |
bool | isBoxDead (uint hitarea) |
void | undefineBox (uint hitarea) |
void | defineBox (int id, int x, int y, int width, int height, int flags, int verb, Item *itemPtr) |
void | defineBox (uint16 id, uint16 x, uint16 y, uint16 width, uint16 height, uint16 msg1, uint16 msg2, uint16 flags) |
HitArea * | findEmptyHitArea () |
virtual void | resetVerbs () |
virtual void | setVerb (HitArea *ha) |
virtual void | hitarea_leave (HitArea *ha, bool state=false) |
void | leaveHitAreaById (uint hitarea_id) |
void | sendSync (uint a) |
void | waitForSync (uint a) |
uint | getOffsetOfChild2Param (SubObject *child, uint prop) |
void | scriptMouseOff () |
void | freezeBottom () |
void | unfreezeBottom () |
TextLocation * | getTextLocation (uint a) |
uint | setVerbText (HitArea *ha) |
void | waitForInput () |
void | setup_cond_c_helper () |
uint16 | getBackExit (int n) |
uint16 | getDoorState (Item *item, uint16 d) |
uint16 | getExitOf (Item *item, uint16 d) |
void | changeDoorState (SubRoom *r, uint16 d, uint16 n) |
void | setDoorState (Item *i, uint16 d, uint16 n) |
Item * | getDoorOf (Item *item, uint16 d) |
Item * | getExitOf_e1 (Item *item, uint16 d) |
int | contains (Item *a, Item *b) |
int | sizeContents (Item *x) |
int | sizeRec (Item *x, int d) |
int | weighUp (Item *x) |
int | weightRec (Item *x, int d) |
void | xPlace (Item *x, Item *y) |
void | restoreMenu () |
void | drawMenuStrip (uint windowNum, uint menuNum) |
void | lightMenuStrip (int a) |
void | unlightMenuStrip () |
void | lightMenuBox (uint hitarea) |
uint | menuFor_e2 (Item *item) |
uint | menuFor_ww (Item *item, uint id) |
void | clearMenuStrip () |
void | doMenuStrip (uint menuNum) |
void | mouseOff () |
void | mouseOn () |
bool | loadRoomItems (uint16 item) |
bool | loadXTablesIntoMem (uint16 subrId) |
void | loadTextIntoMem (uint16 stringId) |
uint | loadTextFile (const char *filename, byte *dst) |
Common::SeekableReadStream * | openTablesFile (const char *filename) |
void | closeTablesFile (Common::SeekableReadStream *in) |
uint | loadTextFile_simon1 (const char *filename, byte *dst) |
Common::SeekableReadStream * | openTablesFile_simon1 (const char *filename) |
Common::SeekableReadStream * | openTablesFile_pak98 (const char *filename) |
Common::SeekableReadStream * | createPak98FileStream (const char *filename) |
void | convertPC98Image (VC10_state &state) |
uint | loadTextFile_gme (const char *filename, byte *dst) |
Common::SeekableReadStream * | openTablesFile_gme (const char *filename) |
void | invokeTimeEvent (TimeEvent *te) |
bool | kickoffTimeEvents () |
void | killAllTimers () |
void | endCutscene () |
virtual void | runSubroutine101 () |
virtual void | inventoryUp (WindowBlock *window) |
virtual void | inventoryDown (WindowBlock *window) |
WindowBlock * | openWindow (uint x, uint y, uint w, uint h, uint flags, uint fillColor, uint textColor) |
uint | getWindowNum (WindowBlock *window) |
void | clearWindow (WindowBlock *window) |
void | changeWindow (uint a) |
void | closeWindow (uint a) |
void | setTextColor (uint color) |
virtual void | windowPutChar (WindowBlock *window, byte c, byte b=0) |
void | waitWindow (WindowBlock *window) |
HitArea * | findBox (uint hitarea_id) |
void | handleVerbClicked (uint verb) |
void | displayName (HitArea *ha) |
void | resetNameWindow () |
void | displayBoxStars () |
void | invertBox (HitArea *ha, byte a, byte b, byte c, byte d) |
virtual void | drawMousePointer () |
void | drawArrow (uint16 x, uint16 y, int8 dir) |
virtual void | drawIconArray (uint i, Item *itemPtr, int line, int classMask) |
void | removeIconArray (uint num) |
void | loadIconData () |
void | loadIconFile () |
void | loadMenuFile () |
virtual bool | processSpecialKeys () |
void | hitarea_stuff_helper () |
void | permitInput () |
uint | getFeebleFontSize (byte chr) |
void | justifyStart () |
void | justifyOutPut (byte chr) |
void | loadZone (uint16 zoneNum, bool useError=true) |
void | animate (uint16 windowNum, uint16 zoneNum, uint16 vgaSpriteId, int16 x, int16 y, uint16 palette, bool vgaScript=false) |
void | setImage (uint16 vgaSpriteId, bool vgaScript=false) |
void | setWindowImage (uint16 mode, uint16 vgaSpriteId, bool specialCase=false) |
virtual void | setWindowImageEx (uint16 mode, uint16 vgaSpriteId) |
void | drawEdging () |
void | skipSpeech () |
const char * | getPixelLength (const char *string, uint16 maxWidth, uint16 &pixels) |
bool | printNameOf (Item *item, uint x, uint y) |
bool | printTextOf (uint a, uint x, uint y) |
void | printVerbOf (uint hitarea_id) |
void | showActionString (const byte *string) |
virtual void | printScreenText (uint vgaSpriteId, uint color, const char *stringPtr, int16 x, int16 y, int16 width) |
void | renderStringAmiga (uint vgaSpriteId, uint color, uint width, uint height, const char *txt) |
void | renderString (uint vgaSpriteId, uint color, uint width, uint height, const char *txt) |
void | writeChar (WindowBlock *window, int x, int y, int offs, int val) |
byte * | allocBlock (uint32 size) |
void | checkNoOverWrite () |
void | checkRunningAnims () |
void | checkAnims (uint a) |
void | checkZonePtrs () |
void | setZoneBuffers () |
void | runVgaScript () |
bool | drawImage_clip (VC10_state *state) |
void | drawImage_init (int16 image, uint16 palette, int16 x, int16 y, uint16 flags) |
void | drawBackGroundImage (VC10_state *state) |
void | drawVertImage (VC10_state *state) |
void | drawVertImageCompressed (VC10_state *state) |
void | drawVertImageUncompressed (VC10_state *state) |
void | setMoveRect (uint16 x, uint16 y, uint16 width, uint16 height) |
void | horizontalScroll (VC10_state *state) |
void | verticalScroll (VC10_state *state) |
Graphics::Surface * | getBackendSurface () const |
void | updateBackendSurface (Common::Rect *area=0) const |
int | vcReadVarOrWord () |
uint | vcReadNextWord (bool forceLERead=false) |
uint | vcReadNextByte () |
uint | vcReadVar (uint var) |
void | vcWriteVar (uint var, int16 value) |
void | vcSkipNextInstruction () |
int | getScale (int16 y, int16 x) |
void | checkScrollX (int16 x, int16 xpos) |
void | checkScrollY (int16 y, int16 ypos) |
void | centerScroll () |
void | clearVideoBackGround (uint16 windowNum, uint16 color) |
void | setPaletteSlot (uint16 srcOffs, uint8 dstOffs) |
void | checkOnStopTable () |
void | checkWaitEndTable () |
virtual bool | ifObjectHere (uint16 val) |
virtual bool | ifObjectAt (uint16 a, uint16 b) |
virtual bool | ifObjectState (uint16 a, int16 b) |
bool | isVgaQueueEmpty () |
void | haltAnimation () |
void | restartAnimation () |
void | addVgaEvent (uint16 num, uint8 type, const byte *codePtr, uint16 curSprite, uint16 curZoneNum) |
void | deleteVgaEvent (VgaTimerEntry *vte) |
void | processVgaEvents () |
void | animateEvent (const byte *codePtr, uint16 curZoneNum, uint16 curSprite) |
void | scrollEvent () |
void | drawStuff (const byte *src, uint offs) |
void | playerDamageEvent (VgaTimerEntry *vte, uint dx) |
void | monsterDamageEvent (VgaTimerEntry *vte, uint dx) |
VgaSprite * | findCurSprite () |
bool | isSpriteLoaded (uint16 id, uint16 zoneNum) |
void | resetWindow (WindowBlock *window) |
void | freeBox (uint index) |
void | sendWindow (uint a) |
virtual void | colorWindow (WindowBlock *window) |
void | colorBlock (WindowBlock *window, uint16 x, uint16 y, uint16 w, uint16 h) |
void | restoreWindow (WindowBlock *window) |
void | restoreBlock (uint16 left, uint16 top, uint16 right, uint16 bottom) |
byte * | getBackBuf () |
byte * | getBackGround () |
byte * | getScaleBuf () |
byte * | convertAmigaImage (VC10_state *state, bool compressed) |
bool | decrunchFile (byte *src, byte *dst, uint32 size) |
void | loadVGABeardFile (uint16 id) |
void | loadVGAVideoFile (uint16 id, uint8 type, bool useError=true) |
bool | loadVGASoundFile (uint16 id, uint8 type) |
void | openGameFile () |
void | readGameFile (void *dst, uint32 offs, uint32 size) |
virtual void | timerProc () |
virtual void | animateSprites () |
void | dirtyClips () |
void | dirtyClipCheck (int16 x, int16 y, int16 w, int16 h) |
void | dirtyBackGround () |
void | restoreBackGround () |
void | saveBackGround (VgaSprite *vsp) |
void | clearSurfaces () |
void | displayScreen () |
void | dumpVideoScript (const byte *src, bool singeOpcode) |
void | dumpVgaScript (const byte *ptr, uint16 res, uint16 id) |
void | dumpVgaScriptAlways (const byte *ptr, uint16 res, uint16 id) |
void | dumpVgaBitmaps (uint16 zoneNum) |
void | dumpSingleBitmap (int file, int image, const byte *offs, int w, int h, byte base) |
void | dumpBitmap (const char *filename, const byte *offs, uint16 w, uint16 h, int flags, const byte *palette, byte base) |
void | palLoad (byte *pal, const byte *vga1, int a, int b) |
void | fillBackFromBackGround (uint16 height, uint16 width) |
void | fillBackFromFront () |
void | fillBackGroundFromBack () |
void | fillBackGroundFromFront () |
virtual void | doOutput (const byte *src, uint len) |
void | clsCheck (WindowBlock *window) |
virtual void | quickLoadOrSave () |
byte * | vc10_uncompressFlip (const byte *src, uint16 w, uint16 h) |
byte * | vc10_flip (const byte *src, uint16 w, uint16 h) |
Item * | getNextItemPtrStrange () |
void | openTextWindow () |
void | tidyIconArray (uint i) |
virtual void | windowNewLine (WindowBlock *window) |
void | windowScroll (WindowBlock *window) |
void | loadMusic (uint16 track, bool forceSimon2GmData=false, bool useSimon2Remapping=false) |
void | playModule (uint16 music) |
void | stopMusic () |
void | delay (uint delay) |
void | pause () |
void | waitForMark (uint i) |
void | scrollScreen () |
void | decodeColumn (byte *dst, const byte *src, uint16 height, uint16 pitch) |
void | decodeRow (byte *dst, const byte *src, uint16 width, uint16 pitch) |
void | hitarea_stuff_helper_2 () |
void | fastFadeIn () |
void | slowFadeIn () |
void | fullFade () |
int16 | matchSaveGame (const char *name, uint16 max) |
void | disableFileBoxes () |
void | userGameBackSpace (WindowBlock *window, int x, byte b=0) |
void | fileError (WindowBlock *window, bool saveError) |
int | countSaveGames () |
Protected Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
Protected Attributes | |
const OpcodeEntrySimon2 * | _opcodesSimon2 |
Protected Attributes inherited from AGOS::AGOSEngine_Simon1 | |
const OpcodeEntrySimon1 * | _opcodesSimon1 |
Protected Attributes inherited from AGOS::AGOSEngine_Waxworks | |
const OpcodeEntryWaxworks * | _opcodesWaxworks |
bool | _boxCR |
char | _boxBuffer [310] |
char * | _boxBufferPtr |
int | _boxLineCount |
int | _lineCounts [6] |
char * | _linePtrs [6] |
Protected Attributes inherited from AGOS::AGOSEngine_Elvira2 | |
const OpcodeEntryElvira2 * | _opcodesElvira2 |
Protected Attributes inherited from AGOS::AGOSEngine_Elvira1 | |
const OpcodeEntryElvira1 * | _opcodesElvira1 |
Graphics::FontSJIS * | _sjisFont |
Common::Array< Common::Rect > | _sjisTextFields |
uint16 | _sjisCurChar |
Protected Attributes inherited from AGOS::AGOSEngine | |
uint16 | _numOpcodes |
uint16 | _opcode |
VgaOpcodeProc | _vga_opcode_table [100] |
uint8 | _numVideoOpcodes |
const AGOSGameDescription *const | _gameDescription |
const byte * | _vcPtr |
uint16 | _vcGetOutOfCode |
uint32 * | _gameOffsetsPtr |
uint8 | _numMusic |
uint8 | _numSFX |
uint16 | _numSpeech |
uint16 | _numZone |
uint8 | _numBitArray1 |
uint8 | _numBitArray2 |
uint8 | _numBitArray3 |
uint8 | _numItemStore |
uint16 | _numVars |
uint8 | _vgaBaseDelay |
uint8 | _vgaPeriod |
uint16 | _musicIndexBase |
uint16 | _soundIndexBase |
uint16 | _tableIndexBase |
uint16 | _textIndexBase |
uint32 | _itemMemSize |
uint32 | _tableMemSize |
uint32 | _vgaMemSize |
const GameSpecificSettings * | gss |
Common::KeyState | _keyPressed |
Common::File * | _gameFile |
byte * | _strippedTxtMem |
byte * | _textMem |
uint32 | _textSize |
uint32 | _stringTabNum |
uint32 | _stringTabPos |
uint32 | _stringTabSize |
byte ** | _stringTabPtr |
Item ** | _itemArrayPtr |
uint32 | _itemArraySize |
uint32 | _itemArrayInited |
Common::Array< byte * > | _itemHeap |
byte * | _iconFilePtr |
const byte * | _codePtr |
byte ** | _localStringtable |
uint16 | _stringIdLocalMin |
uint16 | _stringIdLocalMax |
RoomState * | _roomStates |
uint16 | _numRoomStates |
byte * | _menuBase |
byte * | _roomsList |
byte * | _roomsListPtr |
byte * | _xtblList |
byte * | _xtablesHeapPtrOrg |
uint32 | _xtablesHeapCurPosOrg |
Subroutine * | _xsubroutineListOrg |
byte * | _tblList |
byte * | _tablesHeapPtr |
byte * | _tablesHeapPtrOrg |
byte * | _tablesheapPtrNew |
uint32 | _tablesHeapSize |
uint32 | _tablesHeapCurPos |
uint32 | _tablesHeapCurPosOrg |
uint32 | _tablesHeapCurPosNew |
Subroutine * | _subroutineListOrg |
Subroutine * | _subroutineList |
uint8 | _recursionDepth |
uint32 | _lastVgaTick |
uint16 | _marks |
bool | _scanFlag |
bool | _scriptVar2 |
bool | _runScriptReturn1 |
bool | _runScriptCondition [40] |
int16 | _runScriptReturn [40] |
bool | _skipVgaWait |
bool | _noParentNotify |
bool | _beardLoaded |
bool | _litBoxFlag |
bool | _mortalFlag |
uint16 | _displayFlag |
bool | _syncFlag2 |
bool | _inCallBack |
bool | _cepeFlag |
bool | _fastMode |
bool | _backFlag |
Common::Language | _language |
bool | _copyProtection |
bool | _pause |
bool | _speech |
bool | _subtitles |
bool | _vgaVar9 |
int16 | _chanceModifier |
bool | _restoreWindow6 |
int16 | _scrollX |
int16 | _scrollXMax |
int16 | _scrollY |
int16 | _scrollYMax |
int16 | _scrollCount |
int16 | _scrollFlag |
uint16 | _scrollWidth |
uint16 | _scrollHeight |
const byte * | _scrollImage |
byte | _boxStarHeight |
bool | _forceAscii |
SubroutineLine * | _classLine |
int16 | _classMask |
int16 | _classMode1 |
int16 | _classMode2 |
Item * | _findNextPtr |
Subroutine * | _currentTable |
SubroutineLine * | _currentLine |
uint8 | _agosMenu |
byte | _textMenu [10] |
uint16 | _currentRoom |
uint16 | _superRoomNumber |
uint8 | _wallOn |
uint16 | _hyperLink |
uint16 | _newLines |
uint16 | _oracleMaxScrollY |
uint16 | _noOracleScroll |
uint16 | _interactY |
int16 | _scriptVerb |
int16 | _scriptNoun1 |
int16 | _scriptNoun2 |
int16 | _scriptAdj1 |
int16 | _scriptAdj2 |
uint16 | _curWindow |
WindowBlock * | _inputWindow |
WindowBlock * | _textWindow |
Item * | _subjectItem |
Item * | _objectItem |
Item * | _currentPlayer |
Item * | _hitAreaObjectItem |
HitArea * | _lastHitArea |
HitArea * | _lastNameOn |
HitArea * | _lastHitArea3 |
Item * | _hitAreaSubjectItem |
HitArea * | _currentBox |
HitArea * | _currentVerbBox |
HitArea * | _lastVerbOn |
uint16 | _currentBoxNum |
uint16 | _needHitAreaRecalc |
uint16 | _verbHitArea |
uint16 | _defaultVerb |
bool | _iOverflow |
bool | _nameLocked |
bool | _dragAccept |
bool | _dragEnd |
bool | _dragFlag |
bool | _dragMode |
uint8 | _dragCount |
HitArea * | _lastClickRem |
uint16 | _windowNum |
int16 | _printCharCurPos |
int16 | _printCharMaxPos |
int16 | _printCharPixelCount |
uint16 | _numLettersToPrint |
uint8 | _numTextBoxes |
uint32 | _lastMinute |
uint32 | _lastTime |
uint32 | _clockStopped |
uint32 | _gameStoppedClock |
uint32 | _timeStore |
TimeEvent * | _firstTimeStruct |
TimeEvent * | _pendingDeleteTimeEvent |
bool | _initMouse |
Common::Point | _mouse |
Common::Point | _mouseOld |
byte * | _mouseData |
bool | _animatePointer |
byte | _maxCursorWidth |
byte | _maxCursorHeight |
byte | _mouseAnim |
byte | _mouseAnimMax |
byte | _mouseCursor |
byte | _currentMouseAnim |
byte | _currentMouseCursor |
byte | _oldMouseAnimMax |
byte | _oldMouseCursor |
uint16 | _mouseHideCount |
bool | _mouseToggle |
bool | _leftButtonDown |
bool | _rightButtonDown |
byte | _leftButton |
byte | _leftButtonCount |
byte | _leftButtonOld |
byte | _oneClick |
bool | _clickOnly |
bool | _leftClick |
bool | _rightClick |
bool | _noRightClick |
Item * | _dummyItem1 |
Item * | _dummyItem2 |
Item * | _dummyItem3 |
volatile uint16 | _videoLockOut |
uint16 | _scrollUpHitArea |
uint16 | _scrollDownHitArea |
bool | _fastFadeOutFlag |
byte | _paletteFlag |
bool | _bottomPalette |
uint16 | _fastFadeCount |
volatile uint16 | _fastFadeInFlag |
bool | _neverFade |
uint16 | _screenWidth |
uint16 | _screenHeight |
uint16 | _internalWidth |
uint16 | _internalHeight |
uint16 | _noOverWrite |
bool | _rejectBlock |
bool | _exitCutscene |
bool | _picture8600 |
uint16 | _soundFileId |
int16 | _lastMusicPlayed |
int16 | _nextMusicToPlay |
bool | _showPreposition |
bool | _showMessageFlag |
bool | _newDirtyClip |
bool | _wiped |
uint16 | _copyScnFlag |
uint16 | _vgaSpriteChanged |
byte * | _block |
byte * | _blockEnd |
byte * | _vgaMemPtr |
byte * | _vgaMemEnd |
byte * | _vgaMemBase |
byte * | _vgaFrozenBase |
byte * | _vgaRealBase |
byte * | _zoneBuffers |
byte * | _curVgaFile1 |
byte * | _curVgaFile2 |
uint16 | _syncCount |
uint16 | _frameCount |
uint16 | _zoneNumber |
uint16 | _vgaWaitFor |
uint16 | _lastVgaWaitFor |
uint16 | _vgaCurSpriteId |
uint16 | _vgaCurZoneNum |
int16 | _baseY |
float | _scale |
Common::Rect | _feebleRect |
int16 | _scaleX |
int16 | _scaleY |
int16 | _scaleWidth |
int16 | _scaleHeight |
VgaTimerEntry * | _nextVgaTimerToProcess |
uint8 | _opcode177Var1 |
uint8 | _opcode177Var2 |
uint8 | _opcode178Var1 |
uint8 | _opcode178Var2 |
Item * | _objectArray [50] |
Item * | _itemStore [50] |
uint16 | _shortText [40] |
uint16 | _shortTextX [40] |
uint16 | _shortTextY [40] |
uint16 | _longText [40] |
uint16 | _longSound [40] |
uint16 | _bitArray [128] |
uint16 | _bitArrayTwo [16] |
uint16 | _bitArrayThree [16] |
int16 * | _variableArray |
int16 * | _variableArray2 |
int16 * | _variableArrayPtr |
WindowBlock * | _dummyWindow |
WindowBlock * | _windowArray [80] |
byte | _fcsData1 [8] |
bool | _fcsData2 [8] |
TextLocation | _textLocation1 |
TextLocation | _textLocation2 |
TextLocation | _textLocation3 |
TextLocation | _textLocation4 |
byte | _awaitTwoByteToken |
byte * | _byteTokens |
byte * | _byteTokenStrings |
byte * | _twoByteTokens |
byte * | _twoByteTokenStrings |
byte * | _secondTwoByteTokenStrings |
byte * | _thirdTwoByteTokenStrings |
byte | _textBuffer [180] |
int | _textCount |
int | _freeStringSlot |
byte | _stringReturnBuffer [2][180] |
HitArea | _hitAreas [250] |
HitArea * | _hitAreaList |
AnimTable | _screenAnim1 [90] |
VgaPointersEntry | _vgaBufferPointers [450] |
VgaSprite | _vgaSprites [200] |
VgaSleepStruct | _onStopTable [60] |
VgaSleepStruct | _waitEndTable [60] |
VgaSleepStruct | _waitSyncTable [60] |
const uint16 * | _pathFindArray [100] |
uint8 | _pathValues [400] |
uint16 | _PVCount |
uint16 | _GPVCount |
uint8 | _pathValues1 [400] |
uint16 | _PVCount1 |
uint16 | _GPVCount1 |
uint8 | _currentPalette [768] |
uint8 | _displayPalette [768] |
byte * | _planarBuf |
byte | _videoBuf1 [32000] |
uint16 | _videoWindows [128] |
const byte * | _pak98Buf |
byte | _paletteModNext |
uint8 | _window3Flag |
uint8 | _window4Flag |
uint8 | _window6Flag |
uint16 | _moveXMin |
uint16 | _moveYMin |
uint16 | _moveXMax |
uint16 | _moveYMax |
VgaTimerEntry | _vgaTimerList [205] |
WindowBlock * | _windowList |
byte | _lettersToPrintBuf [80] |
MidiPlayer * | _midi |
bool | _midiEnabled |
int | _vgaTickCounter |
Audio::SoundHandle | _modHandle |
Sound * | _sound |
bool | _effectsMuted |
bool | _ambientMuted |
bool | _musicMuted |
uint16 | _musicVolume |
uint16 | _effectsVolume |
bool | _useDigitalSfx |
uint8 | _saveGameNameLen |
uint16 | _saveLoadRowCurPos |
uint16 | _numSaveGameRows |
bool | _saveDialogFlag |
bool | _saveOrLoad |
bool | _saveLoadEdit |
byte | _saveLoadType |
byte | _saveLoadSlot |
char | _saveLoadName [108] |
char | _saveBuf [200] |
Graphics::Surface * | _backGroundBuf |
Graphics::Surface * | _backBuf |
Graphics::Surface * | _scaleBuf |
Graphics::Surface * | _window4BackScn |
Graphics::Surface * | _window6BackScn |
Common::RandomSource | _rnd |
const byte * | _vc10BasePtrOld |
byte | _hebrewCharWidths [32] |
Protected Attributes inherited from Engine | |
Common::TimerManager * | _timer |
Common::EventManager * | _eventMan |
Common::SaveFileManager * | _saveFileMan |
GUI::Dialog * | _mainMenuDialog |
const Common::String | _targetName |
Additional Inherited Members | |
Public Types inherited from Engine | |
enum | EngineFeature { kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime, kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride } |
Static Public Member Functions inherited from Engine | |
static void | quitGame () |
static bool | shouldQuit () |
static MetaEngineDetection & | getMetaEngineDetection () |
static bool | warnUserAboutUnsupportedGame (Common::String msg=Common::String()) |
static void | errorUnsupportedGame (Common::String extraMsg) |
Public Attributes inherited from AGOS::AGOSEngine | |
byte * | _curSfxFile |
uint32 | _curSfxFileSize |
uint16 | _sampleEnd |
uint16 | _sampleWait |
Public Attributes inherited from Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Static Protected Attributes inherited from AGOS::AGOSEngine | |
static const byte | SIMON1_RHYTHM_SFX [] |
static const uint16 | MUSIC_INDEX_BASE_SIMON2_GM = 1128 / 4 |
static const uint16 | MUSIC_INDEX_BASE_SIMON2_MT32 = (1128 + 612) / 4 |