ScummVM
AGOS::AGOSEngine Class Referenceabstract

#include <agos.h>

Inheritance diagram for AGOS::AGOSEngine:
Collaboration diagram for AGOS::AGOSEngine:

Public Member Functions

virtual void setupGame ()
 
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)
 
virtual ~AGOSEngine ()
 
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 ()
 
virtual void vc22_setPalette ()
 
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 ()
 
virtual void printStats ()
 
void synchChain (Item *i)
 
- Public Member Functions inherited from Engine
void pauseEngine (bool pause)
 Pause or resume the engine. More...
 
bool isPaused () const
 Return whether the engine is currently paused or not. More...
 
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
 
uint32 getTotalPlayTime () const
 Get the total play time. More...
 
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
 
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
 
virtual void initKeymap ()
 
virtual void deinitKeymap ()
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
virtual Common::Error loadGameState (int slot)
 Load a game state. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 
virtual bool canLoadGameStateCurrently ()
 Indicates whether a game state can be loaded. More...
 
virtual Common::Error saveGameState (int slot, const Common::String &desc)
 Save a game state. More...
 
virtual bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 

Public Attributes

byte_curSfxFile
 
uint32 _curSfxFileSize
 
uint16 _sampleEnd
 
uint16 _sampleWait
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Protected Types

typedef void(AGOSEngine::* VgaOpcodeProc) ()
 

Protected Member Functions

Common::Error init ()
 
virtual Common::Error go ()
 
virtual Common::Error run ()
 Init the engine and start its main loop. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
virtual bool hasFeature (EngineFeature f) const
 Determine whether the engine supports the specified feature. More...
 
virtual void syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 
virtual void setupOpcodes ()
 
void setupVgaOpcodes ()
 
virtual void setupVideoOpcodes (VgaOpcodeProc *op)
 
void playSting (uint16 a)
 
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)
 
virtual void readItemChildren (Common::SeekableReadStream *in, Item *item, uint tmp)
 
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 loadSound (uint16 sound, uint16 freq, uint16 flags)
 
void loadVoice (uint speechId)
 
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)
 
voidallocateItem (uint size)
 
voidallocateTable (uint size)
 
void alignTableMem ()
 
ChildfindChildOfType (Item *i, uint child)
 
ChildallocateChildBlock (Item *i, uint type, uint size)
 
void allocItemHeap ()
 
void allocTablesHeap ()
 
SubroutinecreateSubroutine (uint16 a)
 
void readSubroutine (Common::SeekableReadStream *in, Subroutine *sub)
 
SubroutineLinecreateSubroutineLine (Subroutine *sub, int a)
 
void readSubroutineLine (Common::SeekableReadStream *in, SubroutineLine *newTable, Subroutine *sub)
 
bytereadSingleOpcode (Common::SeekableReadStream *in, byte *ptr)
 
void readSubroutineBlock (Common::SeekableReadStream *in)
 
SubroutinegetSubroutineByID (uint subroutineId)
 
void dumpAllSubroutines ()
 
void dumpAllVgaImageFiles ()
 
void dumpAllVgaScriptFiles ()
 
void dumpSubroutines ()
 
void dumpSubroutine (Subroutine *sub)
 
void dumpSubroutineLine (SubroutineLine *sl, Subroutine *sub)
 
const bytedumpOpcode (const byte *p)
 
int startSubroutine (Subroutine *sub)
 
int startSubroutineEx (Subroutine *sub)
 
bool checkIfToRunSubroutineLine (SubroutineLine *sl, Subroutine *sub)
 
int runScript ()
 
virtual void executeOpcode (int opcode)=0
 
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)
 
ItemderefItem (uint item)
 
ItemgetNextItemPtr ()
 
uint getNextItemID ()
 
uint getItem1ID ()
 
uint itemPtrToID (Item *id)
 
Itemme ()
 
Itemactor ()
 
void uncompressText (byte *ptr)
 
byteuncompressToken (byte a, byte *ptr)
 
void showMessageFormat (const char *s,...) GCC_PRINTF(2
 
void const bytegetStringPtrByID (uint16 stringId, bool upperCase=false)
 
const bytegetLocalStringByID (uint16 stringId)
 
uint getNextStringID ()
 
void addTimeEvent (uint16 timeout, uint16 subroutineId)
 
void delTimeEvent (TimeEvent *te)
 
ItemfindInByClass (Item *i, int16 m)
 
ItemnextInByClass (Item *i, int16 m)
 
ItemfindMaster (int16 a, int16 n)
 
ItemnextMaster (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)
 
HitAreafindEmptyHitArea ()
 
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 ()
 
TextLocationgetTextLocation (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)
 
ItemgetDoorOf (Item *item, uint16 d)
 
ItemgetExitOf_e1 (Item *item, uint16 d)
 
virtual void moveDirn (Item *i, uint x)
 
virtual int canPlace (Item *x, Item *y)
 
int contains (Item *a, Item *b)
 
int sizeContents (Item *x)
 
virtual int sizeOfRec (Item *o, int d)
 
int sizeRec (Item *x, int d)
 
int weighUp (Item *x)
 
int weightRec (Item *x, int d)
 
virtual int weightOf (Item *x)
 
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)
 
virtual bool loadTablesIntoMem (uint16 subrId)
 
bool loadXTablesIntoMem (uint16 subrId)
 
void loadTextIntoMem (uint16 stringId)
 
uint loadTextFile (const char *filename, byte *dst)
 
Common::SeekableReadStreamopenTablesFile (const char *filename)
 
void closeTablesFile (Common::SeekableReadStream *in)
 
uint loadTextFile_simon1 (const char *filename, byte *dst)
 
Common::SeekableReadStreamopenTablesFile_simon1 (const char *filename)
 
uint loadTextFile_gme (const char *filename, byte *dst)
 
Common::SeekableReadStreamopenTablesFile_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)
 
WindowBlockopenWindow (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)
 
HitAreafindBox (uint hitarea_id)
 
virtual void boxController (uint x, uint y, uint mode)
 
void handleVerbClicked (uint verb)
 
virtual void clearName ()
 
void displayName (HitArea *ha)
 
void resetNameWindow ()
 
void displayBoxStars ()
 
void invertBox (HitArea *ha, byte a, byte b, byte c, byte d)
 
virtual void handleMouseWheelUp ()
 
virtual void handleMouseWheelDown ()
 
virtual void initMouse ()
 
virtual void handleMouseMoved ()
 
virtual void drawMousePointer ()
 
void drawArrow (uint16 x, uint16 y, int8 dir)
 
virtual void addArrows (WindowBlock *window, uint8 num)
 
virtual void removeArrows (WindowBlock *window, uint num)
 
virtual void drawIcon (WindowBlock *window, uint icon, uint x, uint y)
 
virtual bool hasIcon (Item *item)
 
virtual uint itemGetIconNumber (Item *item)
 
virtual uint setupIconHitArea (WindowBlock *window, uint num, uint x, uint y, Item *itemPtr)
 
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)
 
byteallocBlock (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)
 
virtual void drawImage (VC10_state *state)
 
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)
 
int vcReadVarOrWord ()
 
uint vcReadNextWord ()
 
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 ()
 
virtual void clearVideoWindow (uint16 windowNum, uint16 color)
 
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)
 
VgaSpritefindCurSprite ()
 
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 x, uint16 y, uint16 w, uint16 h)
 
bytegetBackBuf ()
 
bytegetBackGround ()
 
bytegetScaleBuf ()
 
byteconvertImage (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)
 
virtual void dumpVgaFile (const byte *vga)
 
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 ()
 
bytevc10_uncompressFlip (const byte *src, uint16 w, uint16 h)
 
bytevc10_flip (const byte *src, uint16 w, uint16 h)
 
ItemgetNextItemPtrStrange ()
 
virtual bool loadGame (const Common::String &filename, bool restartMode=false)
 
virtual bool saveGame (uint slot, const char *caption)
 
void openTextWindow ()
 
void tidyIconArray (uint i)
 
virtual void windowNewLine (WindowBlock *window)
 
void windowScroll (WindowBlock *window)
 
virtual void windowDrawChar (WindowBlock *window, uint x, uint y, byte chr)
 
void loadMusic (uint16 track)
 
void playModule (uint16 music)
 
virtual void playMusic (uint16 music, uint16 track)
 
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 ()
 
virtual void vcStopAnimation (uint16 zone, uint16 sprite)
 
virtual bool confirmOverWrite (WindowBlock *window)
 
int16 matchSaveGame (const char *name, uint16 max)
 
void disableFileBoxes ()
 
virtual void userGame (bool load)
 
void userGameBackSpace (WindowBlock *window, int x, byte b=0)
 
void fileError (WindowBlock *window, bool saveError)
 
int countSaveGames ()
 
virtual Common::String genSaveName (int slot) const
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 

Protected Attributes

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 GameSpecificSettingsgss
 
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
 
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
 
uint16 _screenWidth
 
uint16 _screenHeight
 
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]
 
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 _effectsPaused
 
bool _ambientPaused
 
bool _musicPaused
 
Debugger_debugger
 
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
 

Friends

class Debugger
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsJoystick
}
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 

Detailed Description

Definition at line 212 of file agos.h.

Member Typedef Documentation

◆ VgaOpcodeProc

typedef void(AGOSEngine::* AGOS::AGOSEngine::VgaOpcodeProc) ()
protected

Definition at line 234 of file agos.h.

Constructor & Destructor Documentation

◆ AGOSEngine()

AGOS::AGOSEngine::AGOSEngine ( OSystem system,
const AGOSGameDescription gd 
)

Definition at line 146 of file agos.cpp.

◆ ~AGOSEngine()

AGOS::AGOSEngine::~AGOSEngine ( )
virtual

Definition at line 919 of file agos.cpp.

Member Function Documentation

◆ actor()

Item * AGOS::AGOSEngine::actor ( )
protected

Definition at line 220 of file items.cpp.

◆ addArrows()

void AGOS::AGOSEngine::addArrows ( WindowBlock window,
uint8  num 
)
protectedvirtual

◆ addTimeEvent()

void AGOS::AGOSEngine::addTimeEvent ( uint16  timeout,
uint16  subroutineId 
)
protected

Definition at line 42 of file event.cpp.

◆ addVgaEvent()

void AGOS::AGOSEngine::addVgaEvent ( uint16  num,
uint8  type,
const byte codePtr,
uint16  curSprite,
uint16  curZoneNum 
)
protected

Definition at line 196 of file event.cpp.

◆ alignTableMem()

void AGOS::AGOSEngine::alignTableMem ( )
protected

Definition at line 220 of file subroutine.cpp.

◆ allocateChildBlock()

Child * AGOS::AGOSEngine::allocateChildBlock ( Item i,
uint  type,
uint  size 
)
protected

Definition at line 32 of file items.cpp.

◆ allocateItem()

void * AGOS::AGOSEngine::allocateItem ( uint  size)
protected

Definition at line 40 of file items.cpp.

◆ allocateStringTable()

void AGOS::AGOSEngine::allocateStringTable ( int  num)
protected

Definition at line 184 of file string.cpp.

◆ allocateTable()

void * AGOS::AGOSEngine::allocateTable ( uint  size)
protected

Definition at line 227 of file subroutine.cpp.

◆ allocBlock()

byte * AGOS::AGOSEngine::allocBlock ( uint32  size)
protected

Definition at line 121 of file zones.cpp.

◆ allocGamePcVars()

int AGOS::AGOSEngine::allocGamePcVars ( Common::SeekableReadStream in)
protected

Definition at line 112 of file res.cpp.

◆ allocItemHeap()

void AGOS::AGOSEngine::allocItemHeap ( )
protected

Definition at line 48 of file items.cpp.

◆ allocTablesHeap()

void AGOS::AGOSEngine::allocTablesHeap ( )
protected

Definition at line 241 of file subroutine.cpp.

◆ animate()

void AGOS::AGOSEngine::animate ( uint16  windowNum,
uint16  zoneNum,
uint16  vgaSpriteId,
int16  x,
int16  y,
uint16  palette,
bool  vgaScript = false 
)
protected

Definition at line 1046 of file gfx.cpp.

◆ animateEvent()

void AGOS::AGOSEngine::animateEvent ( const byte codePtr,
uint16  curZoneNum,
uint16  curSprite 
)
protected

Definition at line 275 of file event.cpp.

◆ animateSprites()

void AGOS::AGOSEngine::animateSprites ( )
protectedvirtual

Definition at line 150 of file draw.cpp.

◆ boxController()

void AGOS::AGOSEngine::boxController ( uint  x,
uint  y,
uint  mode 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Waxworks, and AGOS::AGOSEngine_PN.

Definition at line 712 of file verb.cpp.

◆ canPlace()

int AGOS::AGOSEngine::canPlace ( Item x,
Item y 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 54 of file contain.cpp.

◆ centerScroll()

void AGOS::AGOSEngine::centerScroll ( )
protected

◆ changeDoorState()

void AGOS::AGOSEngine::changeDoorState ( SubRoom r,
uint16  d,
uint16  n 
)
protected

Definition at line 87 of file rooms.cpp.

◆ changeWindow()

void AGOS::AGOSEngine::changeWindow ( uint  a)
protected

Definition at line 85 of file window.cpp.

◆ checkAnims()

void AGOS::AGOSEngine::checkAnims ( uint  a)
protected

Definition at line 179 of file zones.cpp.

◆ checkIfToRunSubroutineLine()

bool AGOS::AGOSEngine::checkIfToRunSubroutineLine ( SubroutineLine sl,
Subroutine sub 
)
protected

Definition at line 637 of file subroutine.cpp.

◆ checkNoOverWrite()

void AGOS::AGOSEngine::checkNoOverWrite ( )
protected

Definition at line 157 of file zones.cpp.

◆ checkOnStopTable()

void AGOS::AGOSEngine::checkOnStopTable ( )
protected

Definition at line 714 of file vga.cpp.

◆ checkRunningAnims()

void AGOS::AGOSEngine::checkRunningAnims ( )
protected

Definition at line 143 of file zones.cpp.

◆ checkScrollX()

void AGOS::AGOSEngine::checkScrollX ( int16  x,
int16  xpos 
)
protected

◆ checkScrollY()

void AGOS::AGOSEngine::checkScrollY ( int16  y,
int16  ypos 
)
protected

◆ checkWaitEndTable()

void AGOS::AGOSEngine::checkWaitEndTable ( )
protected

Definition at line 820 of file vga.cpp.

◆ checkZonePtrs()

void AGOS::AGOSEngine::checkZonePtrs ( )
protected

Definition at line 198 of file zones.cpp.

◆ clearMenuStrip()

void AGOS::AGOSEngine::clearMenuStrip ( )
protected

Definition at line 243 of file menus.cpp.

◆ clearName()

void AGOS::AGOSEngine::clearName ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon2, and AGOS::AGOSEngine_Simon1.

Definition at line 242 of file verb.cpp.

◆ clearSurfaces()

void AGOS::AGOSEngine::clearSurfaces ( )
protected

Definition at line 708 of file draw.cpp.

◆ clearVideoBackGround()

void AGOS::AGOSEngine::clearVideoBackGround ( uint16  windowNum,
uint16  color 
)
protected

Definition at line 1227 of file vga.cpp.

◆ clearVideoWindow()

void AGOS::AGOSEngine::clearVideoWindow ( uint16  windowNum,
uint16  color 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon2, and AGOS::AGOSEngine_PN.

Definition at line 1237 of file vga.cpp.

◆ clearWindow()

void AGOS::AGOSEngine::clearWindow ( WindowBlock window)
protected

Definition at line 109 of file window.cpp.

◆ closeTablesFile()

void AGOS::AGOSEngine::closeTablesFile ( Common::SeekableReadStream in)
protected

Definition at line 455 of file subroutine.cpp.

◆ closeWindow()

void AGOS::AGOSEngine::closeWindow ( uint  a)
protected

Definition at line 97 of file window.cpp.

◆ clsCheck()

void AGOS::AGOSEngine::clsCheck ( WindowBlock window)
protected

Definition at line 83 of file charset.cpp.

◆ colorBlock()

void AGOS::AGOSEngine::colorBlock ( WindowBlock window,
uint16  x,
uint16  y,
uint16  w,
uint16  h 
)
protected

Definition at line 169 of file window.cpp.

◆ colorWindow()

void AGOS::AGOSEngine::colorWindow ( WindowBlock window)
protectedvirtual

Definition at line 143 of file window.cpp.

◆ confirmOverWrite()

bool AGOS::AGOSEngine::confirmOverWrite ( WindowBlock window)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Waxworks, and AGOS::AGOSEngine_Elvira2.

Definition at line 227 of file saveload.cpp.

◆ confirmYesOrNo()

uint AGOS::AGOSEngine::confirmYesOrNo ( uint16  x,
uint16  y 
)

Definition at line 1053 of file script_e1.cpp.

◆ contains()

int AGOS::AGOSEngine::contains ( Item a,
Item b 
)
protected

Definition at line 92 of file contain.cpp.

◆ continueOrQuit()

uint AGOS::AGOSEngine::continueOrQuit ( )

Definition at line 1102 of file script_e1.cpp.

◆ convertImage()

byte * AGOS::AGOSEngine::convertImage ( VC10_state state,
bool  compressed 
)
protected

Definition at line 143 of file res_ami.cpp.

◆ countSaveGames()

int AGOS::AGOSEngine::countSaveGames ( )
protected

Definition at line 38 of file saveload.cpp.

◆ createPlayer()

void AGOS::AGOSEngine::createPlayer ( )
protected

Definition at line 80 of file items.cpp.

◆ createSubroutine()

Subroutine * AGOS::AGOSEngine::createSubroutine ( uint16  a)
protected

Definition at line 461 of file subroutine.cpp.

◆ createSubroutineLine()

SubroutineLine * AGOS::AGOSEngine::createSubroutineLine ( Subroutine sub,
int  a 
)
protected

Definition at line 474 of file subroutine.cpp.

◆ decodeColumn()

void AGOS::AGOSEngine::decodeColumn ( byte dst,
const byte src,
uint16  height,
uint16  pitch 
)
protected

Definition at line 85 of file gfx.cpp.

◆ decodeRow()

void AGOS::AGOSEngine::decodeRow ( byte dst,
const byte src,
uint16  width,
uint16  pitch 
)
protected

Definition at line 128 of file gfx.cpp.

◆ decompressData()

void AGOS::AGOSEngine::decompressData ( const char *  srcName,
byte dst,
uint32  offset,
uint32  srcSize,
uint32  dstSize 
)
protected

Definition at line 65 of file res.cpp.

◆ decompressPN()

void AGOS::AGOSEngine::decompressPN ( Common::Stack< uint32 > &  dataList,
uint8 *&  dataOut,
int dataOutSize 
)
protected

Definition at line 712 of file res.cpp.

◆ decrunchFile()

bool AGOS::AGOSEngine::decrunchFile ( byte src,
byte dst,
uint32  size 
)
protected

Definition at line 589 of file res.cpp.

◆ defineBox() [1/2]

void AGOS::AGOSEngine::defineBox ( int  id,
int  x,
int  y,
int  width,
int  height,
int  flags,
int  verb,
Item itemPtr 
)
protected

Definition at line 522 of file verb.cpp.

◆ defineBox() [2/2]

void AGOS::AGOSEngine::defineBox ( uint16  id,
uint16  x,
uint16  y,
uint16  width,
uint16  height,
uint16  msg1,
uint16  msg2,
uint16  flags 
)
protected

Definition at line 510 of file verb.cpp.

◆ delay()

void AGOS::AGOSEngine::delay ( uint  delay)
protected

Definition at line 424 of file event.cpp.

◆ deleteVgaEvent()

void AGOS::AGOSEngine::deleteVgaEvent ( VgaTimerEntry vte)
protected

Definition at line 213 of file event.cpp.

◆ delTimeEvent()

void AGOS::AGOSEngine::delTimeEvent ( TimeEvent te)
protected

Definition at line 81 of file event.cpp.

◆ derefItem()

Item * AGOS::AGOSEngine::derefItem ( uint  item)
protected

Definition at line 385 of file items.cpp.

◆ dirtyBackGround()

void AGOS::AGOSEngine::dirtyBackGround ( )
protected

Definition at line 219 of file vga.cpp.

◆ dirtyClipCheck()

void AGOS::AGOSEngine::dirtyClipCheck ( int16  x,
int16  y,
int16  w,
int16  h 
)
protected

Definition at line 344 of file draw.cpp.

◆ dirtyClips()

void AGOS::AGOSEngine::dirtyClips ( )
protected

Definition at line 301 of file draw.cpp.

◆ disableBox()

void AGOS::AGOSEngine::disableBox ( uint  hitarea)
protected

Definition at line 468 of file verb.cpp.

◆ disableFileBoxes()

void AGOS::AGOSEngine::disableFileBoxes ( )
protected

Definition at line 878 of file saveload.cpp.

◆ displayBoxStars()

void AGOS::AGOSEngine::displayBoxStars ( )
protected

Definition at line 518 of file draw.cpp.

◆ displayName()

void AGOS::AGOSEngine::displayName ( HitArea ha)
protected

Definition at line 892 of file verb.cpp.

◆ displayScreen()

void AGOS::AGOSEngine::displayScreen ( )
protected

Definition at line 776 of file draw.cpp.

◆ doMenuStrip()

void AGOS::AGOSEngine::doMenuStrip ( uint  menuNum)
protected

Definition at line 257 of file menus.cpp.

◆ doOutput()

void AGOS::AGOSEngine::doOutput ( const byte src,
uint  len 
)
protectedvirtual

Definition at line 65 of file charset.cpp.

◆ drawArrow()

void AGOS::AGOSEngine::drawArrow ( uint16  x,
uint16  y,
int8  dir 
)
protected

Definition at line 944 of file icons.cpp.

◆ drawBackGroundImage()

void AGOS::AGOSEngine::drawBackGroundImage ( VC10_state state)
protected

Definition at line 744 of file gfx.cpp.

◆ drawEdging()

void AGOS::AGOSEngine::drawEdging ( )
protected

Definition at line 1484 of file gfx.cpp.

◆ drawIcon()

void AGOS::AGOSEngine::drawIcon ( WindowBlock window,
uint  icon,
uint  x,
uint  y 
)
protectedvirtual

◆ drawIconArray()

void AGOS::AGOSEngine::drawIconArray ( uint  i,
Item itemPtr,
int  line,
int  classMask 
)
protectedvirtual

Definition at line 479 of file icons.cpp.

◆ drawImage()

void AGOS::AGOSEngine::drawImage ( VC10_state state)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1.

Definition at line 854 of file gfx.cpp.

◆ drawImage_clip()

bool AGOS::AGOSEngine::drawImage_clip ( VC10_state state)
protected

Definition at line 171 of file gfx.cpp.

◆ drawImage_init()

void AGOS::AGOSEngine::drawImage_init ( int16  image,
uint16  palette,
int16  x,
int16  y,
uint16  flags 
)
protected

Definition at line 617 of file vga.cpp.

◆ drawMenuStrip()

void AGOS::AGOSEngine::drawMenuStrip ( uint  windowNum,
uint  menuNum 
)
protected

Definition at line 72 of file menus.cpp.

◆ drawMousePointer()

void AGOS::AGOSEngine::drawMousePointer ( )
protectedvirtual

Definition at line 794 of file cursor.cpp.

◆ drawStuff()

void AGOS::AGOSEngine::drawStuff ( const byte src,
uint  offs 
)
protected

Definition at line 365 of file event.cpp.

◆ drawVertImage()

void AGOS::AGOSEngine::drawVertImage ( VC10_state state)
protected

Definition at line 770 of file gfx.cpp.

◆ drawVertImageCompressed()

void AGOS::AGOSEngine::drawVertImageCompressed ( VC10_state state)
protected

Definition at line 804 of file gfx.cpp.

◆ drawVertImageUncompressed()

void AGOS::AGOSEngine::drawVertImageUncompressed ( VC10_state state)
protected

Definition at line 778 of file gfx.cpp.

◆ dumpAllSubroutines()

void AGOS::AGOSEngine::dumpAllSubroutines ( )
protected

Definition at line 203 of file debug.cpp.

◆ dumpAllVgaImageFiles()

void AGOS::AGOSEngine::dumpAllVgaImageFiles ( )
protected

Definition at line 321 of file debug.cpp.

◆ dumpAllVgaScriptFiles()

void AGOS::AGOSEngine::dumpAllVgaScriptFiles ( )
protected

Definition at line 330 of file debug.cpp.

◆ dumpBitmap()

void AGOS::AGOSEngine::dumpBitmap ( const char *  filename,
const byte offs,
uint16  w,
uint16  h,
int  flags,
const byte palette,
byte  base 
)
protected

Definition at line 488 of file debug.cpp.

◆ dumpOpcode()

const byte * AGOS::AGOSEngine::dumpOpcode ( const byte p)
protected

Definition at line 35 of file debug.cpp.

◆ dumpSingleBitmap()

void AGOS::AGOSEngine::dumpSingleBitmap ( int  file,
int  image,
const byte offs,
int  w,
int  h,
byte  base 
)
protected

Definition at line 589 of file debug.cpp.

◆ dumpSubroutine()

void AGOS::AGOSEngine::dumpSubroutine ( Subroutine sub)
protected

Definition at line 185 of file debug.cpp.

◆ dumpSubroutineLine()

void AGOS::AGOSEngine::dumpSubroutineLine ( SubroutineLine sl,
Subroutine sub 
)
protected

Definition at line 167 of file debug.cpp.

◆ dumpSubroutines()

void AGOS::AGOSEngine::dumpSubroutines ( )
protected

Definition at line 196 of file debug.cpp.

◆ dumpVgaBitmaps()

void AGOS::AGOSEngine::dumpVgaBitmaps ( uint16  zoneNum)
protected

Definition at line 641 of file debug.cpp.

◆ dumpVgaFile()

void AGOS::AGOSEngine::dumpVgaFile ( const byte vga)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1.

Definition at line 407 of file debug.cpp.

◆ dumpVgaScript()

void AGOS::AGOSEngine::dumpVgaScript ( const byte ptr,
uint16  res,
uint16  id 
)
protected

Definition at line 310 of file debug.cpp.

◆ dumpVgaScriptAlways()

void AGOS::AGOSEngine::dumpVgaScriptAlways ( const byte ptr,
uint16  res,
uint16  id 
)
protected

Definition at line 314 of file debug.cpp.

◆ dumpVideoScript()

void AGOS::AGOSEngine::dumpVideoScript ( const byte src,
bool  singeOpcode 
)
protected

Definition at line 212 of file debug.cpp.

◆ enableBox()

void AGOS::AGOSEngine::enableBox ( uint  hitarea)
protected

Definition at line 462 of file verb.cpp.

◆ endCutscene()

void AGOS::AGOSEngine::endCutscene ( )
protected

Definition at line 249 of file subroutine.cpp.

◆ executeOpcode()

virtual void AGOS::AGOSEngine::executeOpcode ( int  opcode)
protectedpure virtual

◆ fastFadeIn()

void AGOS::AGOSEngine::fastFadeIn ( )
protected

Definition at line 855 of file draw.cpp.

◆ fileError()

void AGOS::AGOSEngine::fileError ( WindowBlock window,
bool  saveError 
)
protected

Definition at line 911 of file saveload.cpp.

◆ fillBackFromBackGround()

void AGOS::AGOSEngine::fillBackFromBackGround ( uint16  height,
uint16  width 
)
protected

Definition at line 716 of file draw.cpp.

◆ fillBackFromFront()

void AGOS::AGOSEngine::fillBackFromFront ( )
protected

Definition at line 726 of file draw.cpp.

◆ fillBackGroundFromBack()

void AGOS::AGOSEngine::fillBackGroundFromBack ( )
protected

Definition at line 739 of file draw.cpp.

◆ fillBackGroundFromFront()

void AGOS::AGOSEngine::fillBackGroundFromFront ( )
protected

Definition at line 749 of file draw.cpp.

◆ findBox()

HitArea * AGOS::AGOSEngine::findBox ( uint  hitarea_id)
protected

Definition at line 428 of file verb.cpp.

◆ findChildOfType()

Child * AGOS::AGOSEngine::findChildOfType ( Item i,
uint  child 
)
protected

Definition at line 101 of file items.cpp.

◆ findCurSprite()

VgaSprite * AGOS::AGOSEngine::findCurSprite ( )
protected

Definition at line 230 of file vga.cpp.

◆ findEmptyHitArea()

HitArea * AGOS::AGOSEngine::findEmptyHitArea ( )
protected

Definition at line 444 of file verb.cpp.

◆ findInByClass()

Item * AGOS::AGOSEngine::findInByClass ( Item i,
int16  m 
)
protected

Definition at line 391 of file items.cpp.

◆ findMaster()

Item * AGOS::AGOSEngine::findMaster ( int16  a,
int16  n 
)
protected

Definition at line 423 of file items.cpp.

◆ freeBox()

void AGOS::AGOSEngine::freeBox ( uint  index)
protected

Definition at line 457 of file verb.cpp.

◆ freezeBottom()

void AGOS::AGOSEngine::freezeBottom ( )
protected

Definition at line 33 of file zones.cpp.

◆ fullFade()

void AGOS::AGOSEngine::fullFade ( )
protected

Definition at line 355 of file vga_e2.cpp.

◆ genSaveName()

Common::String AGOS::AGOSEngine::genSaveName ( int  slot) const
protectedvirtual

◆ getBackBuf()

byte * AGOS::AGOSEngine::getBackBuf ( )
protected

Definition at line 34 of file draw.cpp.

◆ getBackExit()

uint16 AGOS::AGOSEngine::getBackExit ( int  n)
protected

Definition at line 33 of file rooms.cpp.

◆ getBackGround()

byte * AGOS::AGOSEngine::getBackGround ( )
protected

Definition at line 38 of file draw.cpp.

◆ getBitFlag()

bool AGOS::AGOSEngine::getBitFlag ( uint  bit)

Definition at line 250 of file vga.cpp.

◆ getByte()

byte AGOS::AGOSEngine::getByte ( )
protected

Definition at line 899 of file script.cpp.

◆ getDebugger()

GUI::Debugger * AGOS::AGOSEngine::getDebugger ( )
protectedvirtual

Return the engine's debugger instance, if any.

Used by error() to invoke the debugger when a severe error is reported.

Reimplemented from Engine.

Definition at line 982 of file agos.cpp.

◆ getDoorOf()

Item * AGOS::AGOSEngine::getDoorOf ( Item item,
uint16  d 
)
protected

Definition at line 135 of file rooms.cpp.

◆ getDoorState()

uint16 AGOS::AGOSEngine::getDoorState ( Item item,
uint16  d 
)
protected

Definition at line 54 of file rooms.cpp.

◆ getExitOf()

uint16 AGOS::AGOSEngine::getExitOf ( Item item,
uint16  d 
)
protected

Definition at line 70 of file rooms.cpp.

◆ getExitOf_e1()

Item * AGOS::AGOSEngine::getExitOf_e1 ( Item item,
uint16  d 
)
protected

Definition at line 151 of file rooms.cpp.

◆ getExtra()

const char * AGOS::AGOSEngine::getExtra ( ) const

Definition at line 237 of file detection.cpp.

◆ getFeatures()

uint32 AGOS::AGOSEngine::getFeatures ( ) const

Definition at line 233 of file detection.cpp.

◆ getFeebleFontSize()

uint AGOS::AGOSEngine::getFeebleFontSize ( byte  chr)
protected

Definition at line 76 of file charset-fontdata.cpp.

◆ getFileName()

const char * AGOS::AGOSEngine::getFileName ( int  type) const

Definition at line 249 of file detection.cpp.

◆ getGameId()

int AGOS::AGOSEngine::getGameId ( ) const

Definition at line 225 of file detection.cpp.

◆ getGameType()

int AGOS::AGOSEngine::getGameType ( ) const

Definition at line 229 of file detection.cpp.

◆ getItem1ID()

uint AGOS::AGOSEngine::getItem1ID ( )
inlineprotected

Definition at line 711 of file agos.h.

◆ getLanguage()

Common::Language AGOS::AGOSEngine::getLanguage ( ) const

Definition at line 241 of file detection.cpp.

◆ getLocalStringByID()

const byte * AGOS::AGOSEngine::getLocalStringByID ( uint16  stringId)
protected

Definition at line 161 of file string.cpp.

◆ getNextItemID()

uint AGOS::AGOSEngine::getNextItemID ( )
protected

Definition at line 263 of file items.cpp.

◆ getNextItemPtr()

Item * AGOS::AGOSEngine::getNextItemPtr ( )
protected

Definition at line 227 of file items.cpp.

◆ getNextItemPtrStrange()

Item * AGOS::AGOSEngine::getNextItemPtrStrange ( )
protected

Definition at line 245 of file items.cpp.

◆ getNextStringID()

uint AGOS::AGOSEngine::getNextStringID ( )
protected

Definition at line 909 of file script.cpp.

◆ getNextVarContents()

uint AGOS::AGOSEngine::getNextVarContents ( )
protected

Definition at line 946 of file script.cpp.

◆ getNextWord()

int AGOS::AGOSEngine::getNextWord ( )
protected

Definition at line 903 of file script.cpp.

◆ getOffsetOfChild2Param()

uint AGOS::AGOSEngine::getOffsetOfChild2Param ( SubObject child,
uint  prop 
)
protected

Definition at line 203 of file items.cpp.

◆ getPixelLength()

const char * AGOS::AGOSEngine::getPixelLength ( const char *  string,
uint16  maxWidth,
uint16 pixels 
)
protected

Definition at line 400 of file string.cpp.

◆ getPlatform()

Common::Platform AGOS::AGOSEngine::getPlatform ( ) const

Definition at line 245 of file detection.cpp.

◆ getScale()

int AGOS::AGOSEngine::getScale ( int16  y,
int16  x 
)
protected

◆ getScaleBuf()

byte * AGOS::AGOSEngine::getScaleBuf ( )
protected

Definition at line 42 of file draw.cpp.

◆ getScriptCondition()

bool AGOS::AGOSEngine::getScriptCondition ( )

Definition at line 43 of file script.cpp.

◆ getScriptReturn()

int AGOS::AGOSEngine::getScriptReturn ( )

Definition at line 51 of file script.cpp.

◆ getStringPtrByID()

const byte * AGOS::AGOSEngine::getStringPtrByID ( uint16  stringId,
bool  upperCase = false 
)
protected

Definition at line 116 of file string.cpp.

◆ getSubroutineByID()

Subroutine * AGOS::AGOSEngine::getSubroutineByID ( uint  subroutineId)
protected

Definition at line 194 of file subroutine.cpp.

◆ getTextLocation()

TextLocation * AGOS::AGOSEngine::getTextLocation ( uint  a)
protected

Definition at line 168 of file string.cpp.

◆ getTime()

uint32 AGOS::AGOSEngine::getTime ( ) const
protected

Definition at line 1068 of file agos.cpp.

◆ getUserFlag()

int AGOS::AGOSEngine::getUserFlag ( Item item,
int  a 
)
protected

Definition at line 122 of file items.cpp.

◆ getUserFlag1()

int AGOS::AGOSEngine::getUserFlag1 ( Item item,
int  a 
)
protected

Definition at line 136 of file items.cpp.

◆ getUserItem()

int AGOS::AGOSEngine::getUserItem ( Item item,
int  n 
)
protected

Definition at line 166 of file items.cpp.

◆ getVarOrByte()

uint AGOS::AGOSEngine::getVarOrByte ( )
protected

Definition at line 913 of file script.cpp.

◆ getVarOrWord()

uint AGOS::AGOSEngine::getVarOrWord ( )
protected

Definition at line 924 of file script.cpp.

◆ getVarWrapper()

uint AGOS::AGOSEngine::getVarWrapper ( )
protected

Definition at line 939 of file script.cpp.

◆ getWindowNum()

uint AGOS::AGOSEngine::getWindowNum ( WindowBlock window)
protected

Definition at line 34 of file window.cpp.

◆ go()

Common::Error AGOS::AGOSEngine::go ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 1013 of file agos.cpp.

◆ haltAnimation()

void AGOS::AGOSEngine::haltAnimation ( )
protected

Definition at line 171 of file event.cpp.

◆ handleMouseMoved()

void AGOS::AGOSEngine::handleMouseMoved ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1, and AGOS::AGOSEngine_PN.

Definition at line 540 of file cursor.cpp.

◆ handleMouseWheelDown()

void AGOS::AGOSEngine::handleMouseWheelDown ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1, and AGOS::AGOSEngine_Elvira2.

Definition at line 522 of file input.cpp.

◆ handleMouseWheelUp()

void AGOS::AGOSEngine::handleMouseWheelUp ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1, and AGOS::AGOSEngine_Elvira2.

Definition at line 515 of file input.cpp.

◆ handleVerbClicked()

void AGOS::AGOSEngine::handleVerbClicked ( uint  verb)
protected

Definition at line 353 of file verb.cpp.

◆ hasFeature()

bool AGOS::AGOSEngine::hasFeature ( EngineFeature  f) const
protectedvirtual

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

Definition at line 136 of file detection.cpp.

◆ hasIcon()

bool AGOS::AGOSEngine::hasIcon ( Item item)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 57 of file items.cpp.

◆ hitarea_leave()

void AGOS::AGOSEngine::hitarea_leave ( HitArea ha,
bool  state = false 
)
protectedvirtual

Definition at line 678 of file verb.cpp.

◆ hitarea_stuff_helper()

void AGOS::AGOSEngine::hitarea_stuff_helper ( )
protected

Definition at line 360 of file input.cpp.

◆ hitarea_stuff_helper_2()

void AGOS::AGOSEngine::hitarea_stuff_helper_2 ( )
protected

Definition at line 391 of file input.cpp.

◆ horizontalScroll()

void AGOS::AGOSEngine::horizontalScroll ( VC10_state state)
protected

Definition at line 957 of file gfx.cpp.

◆ ifObjectAt()

bool AGOS::AGOSEngine::ifObjectAt ( uint16  a,
uint16  b 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 193 of file vga.cpp.

◆ ifObjectHere()

bool AGOS::AGOSEngine::ifObjectHere ( uint16  val)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 181 of file vga.cpp.

◆ ifObjectState()

bool AGOS::AGOSEngine::ifObjectState ( uint16  a,
int16  b 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 208 of file vga.cpp.

◆ init()

Common::Error AGOS::AGOSEngine::init ( void  )
protected

Definition at line 568 of file agos.cpp.

◆ initMouse()

void AGOS::AGOSEngine::initMouse ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1.

Definition at line 784 of file cursor.cpp.

◆ inventoryDown()

void AGOS::AGOSEngine::inventoryDown ( WindowBlock window)
protectedvirtual

Definition at line 705 of file verb.cpp.

◆ inventoryUp()

void AGOS::AGOSEngine::inventoryUp ( WindowBlock window)
protectedvirtual

Definition at line 695 of file verb.cpp.

◆ invertBox()

void AGOS::AGOSEngine::invertBox ( HitArea ha,
byte  a,
byte  b,
byte  c,
byte  d 
)
protected

Definition at line 982 of file verb.cpp.

◆ invokeTimeEvent()

void AGOS::AGOSEngine::invokeTimeEvent ( TimeEvent te)
protected

Definition at line 109 of file event.cpp.

◆ isBoxDead()

bool AGOS::AGOSEngine::isBoxDead ( uint  hitarea)
protected

Definition at line 503 of file verb.cpp.

◆ isObject()

bool AGOS::AGOSEngine::isObject ( Item item)
protected

Definition at line 195 of file items.cpp.

◆ isPlayer()

bool AGOS::AGOSEngine::isPlayer ( Item item)
protected

Definition at line 199 of file items.cpp.

◆ isRoom()

bool AGOS::AGOSEngine::isRoom ( Item item)
protected

Definition at line 191 of file items.cpp.

◆ isSpriteLoaded()

bool AGOS::AGOSEngine::isSpriteLoaded ( uint16  id,
uint16  zoneNum 
)
protected

Definition at line 240 of file vga.cpp.

◆ isVgaQueueEmpty()

bool AGOS::AGOSEngine::isVgaQueueEmpty ( )
protected

Definition at line 157 of file event.cpp.

◆ itemChildrenChanged()

void AGOS::AGOSEngine::itemChildrenChanged ( Item item)
protected

Definition at line 295 of file items.cpp.

◆ itemGetIconNumber()

uint AGOS::AGOSEngine::itemGetIconNumber ( Item item)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 72 of file items.cpp.

◆ itemPtrToID()

uint AGOS::AGOSEngine::itemPtrToID ( Item id)
protected

Definition at line 454 of file items.cpp.

◆ justifyOutPut()

void AGOS::AGOSEngine::justifyOutPut ( byte  chr)
protected

Definition at line 144 of file charset.cpp.

◆ justifyStart()

void AGOS::AGOSEngine::justifyStart ( )
protected

Definition at line 131 of file charset.cpp.

◆ kickoffTimeEvents()

bool AGOS::AGOSEngine::kickoffTimeEvents ( )
protected

Definition at line 134 of file event.cpp.

◆ killAllTimers()

void AGOS::AGOSEngine::killAllTimers ( )
protected

Definition at line 124 of file event.cpp.

◆ leaveHitAreaById()

void AGOS::AGOSEngine::leaveHitAreaById ( uint  hitarea_id)
protected

Definition at line 689 of file verb.cpp.

◆ lightMenuBox()

void AGOS::AGOSEngine::lightMenuBox ( uint  hitarea)
protected

Definition at line 187 of file menus.cpp.

◆ lightMenuStrip()

void AGOS::AGOSEngine::lightMenuStrip ( int  a)
protected

Definition at line 146 of file menus.cpp.

◆ linkItem()

void AGOS::AGOSEngine::linkItem ( Item item,
Item parent 
)
protected

Definition at line 355 of file items.cpp.

◆ loadGame()

bool AGOS::AGOSEngine::loadGame ( const Common::String filename,
bool  restartMode = false 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 1020 of file saveload.cpp.

◆ loadGamePcFile()

void AGOS::AGOSEngine::loadGamePcFile ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 188 of file res.cpp.

◆ loadIconData()

void AGOS::AGOSEngine::loadIconData ( )
protected

Definition at line 73 of file icons.cpp.

◆ loadIconFile()

void AGOS::AGOSEngine::loadIconFile ( )
protected

Definition at line 34 of file icons.cpp.

◆ loadMenuFile()

void AGOS::AGOSEngine::loadMenuFile ( )
protected

Definition at line 34 of file menus.cpp.

◆ loadMusic()

void AGOS::AGOSEngine::loadMusic ( uint16  track)
protected

Definition at line 120 of file res_snd.cpp.

◆ loadOffsets()

void AGOS::AGOSEngine::loadOffsets ( const char *  filename,
int  number,
uint32 file,
uint32 offset,
uint32 compressedSize,
uint32 size 
)
protected

Definition at line 93 of file res.cpp.

◆ loadRoomItems()

bool AGOS::AGOSEngine::loadRoomItems ( uint16  item)
protected

Definition at line 363 of file rooms.cpp.

◆ loadSound() [1/2]

void AGOS::AGOSEngine::loadSound ( uint16  sound,
int16  pan,
int16  vol,
uint16  type 
)
protected

Definition at line 469 of file res_snd.cpp.

◆ loadSound() [2/2]

void AGOS::AGOSEngine::loadSound ( uint16  sound,
uint16  freq,
uint16  flags 
)
protected

Definition at line 518 of file res_snd.cpp.

◆ loadSoundFile()

void AGOS::AGOSEngine::loadSoundFile ( const char *  filename)
protected

Definition at line 456 of file res_snd.cpp.

◆ loadTablesIntoMem()

bool AGOS::AGOSEngine::loadTablesIntoMem ( uint16  subrId)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Waxworks.

Definition at line 286 of file subroutine.cpp.

◆ loadTextFile()

uint AGOS::AGOSEngine::loadTextFile ( const char *  filename,
byte dst 
)
protected

Definition at line 258 of file string.cpp.

◆ loadTextFile_gme()

uint AGOS::AGOSEngine::loadTextFile_gme ( const char *  filename,
byte dst 
)
protected

Definition at line 282 of file string.cpp.

◆ loadTextFile_simon1()

uint AGOS::AGOSEngine::loadTextFile_simon1 ( const char *  filename,
byte dst 
)
protected

Definition at line 265 of file string.cpp.

◆ loadTextIntoMem()

void AGOS::AGOSEngine::loadTextIntoMem ( uint16  stringId)
protected

Definition at line 296 of file string.cpp.

◆ loadVGABeardFile()

void AGOS::AGOSEngine::loadVGABeardFile ( uint16  id)
protected

Definition at line 768 of file res.cpp.

◆ loadVGASoundFile()

bool AGOS::AGOSEngine::loadVGASoundFile ( uint16  id,
uint8  type 
)
protected

Definition at line 351 of file res_snd.cpp.

◆ loadVGAVideoFile()

void AGOS::AGOSEngine::loadVGAVideoFile ( uint16  id,
uint8  type,
bool  useError = true 
)
protected

Definition at line 809 of file res.cpp.

◆ loadVoice()

void AGOS::AGOSEngine::loadVoice ( uint  speechId)
protected

Definition at line 585 of file res_snd.cpp.

◆ loadXTablesIntoMem()

bool AGOS::AGOSEngine::loadXTablesIntoMem ( uint16  subrId)
protected

Definition at line 400 of file subroutine.cpp.

◆ loadZone()

void AGOS::AGOSEngine::loadZone ( uint16  zoneNum,
bool  useError = true 
)
protected

Definition at line 63 of file zones.cpp.

◆ lobjFunc()

void AGOS::AGOSEngine::lobjFunc ( Item i,
const char *  f 
)

Definition at line 1021 of file script_e1.cpp.

◆ matchSaveGame()

int16 AGOS::AGOSEngine::matchSaveGame ( const char *  name,
uint16  max 
)
protected

Definition at line 267 of file saveload.cpp.

◆ me()

Item * AGOS::AGOSEngine::me ( )
protected

Definition at line 214 of file items.cpp.

◆ menuFor_e2()

uint AGOS::AGOSEngine::menuFor_e2 ( Item item)
protected

Definition at line 213 of file menus.cpp.

◆ menuFor_ww()

uint AGOS::AGOSEngine::menuFor_ww ( Item item,
uint  id 
)
protected

Definition at line 227 of file menus.cpp.

◆ monsterDamageEvent()

void AGOS::AGOSEngine::monsterDamageEvent ( VgaTimerEntry vte,
uint  dx 
)
protected

Definition at line 402 of file event.cpp.

◆ moreText()

int16 AGOS::AGOSEngine::moreText ( Item i)

Definition at line 1005 of file script_e1.cpp.

◆ mouseOff()

void AGOS::AGOSEngine::mouseOff ( )
protected

Definition at line 624 of file cursor.cpp.

◆ mouseOn()

void AGOS::AGOSEngine::mouseOn ( )
protected

Definition at line 628 of file cursor.cpp.

◆ moveBox()

void AGOS::AGOSEngine::moveBox ( uint  hitarea,
int  x,
int  y 
)
protected

Definition at line 480 of file verb.cpp.

◆ moveDirn()

void AGOS::AGOSEngine::moveDirn ( Item i,
uint  x 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Waxworks, and AGOS::AGOSEngine_Elvira2.

Definition at line 231 of file rooms.cpp.

◆ nextInByClass()

Item * AGOS::AGOSEngine::nextInByClass ( Item i,
int16  m 
)
protected

Definition at line 407 of file items.cpp.

◆ nextMaster()

Item * AGOS::AGOSEngine::nextMaster ( Item item,
int16  a,
int16  n 
)
protected

Definition at line 438 of file items.cpp.

◆ o_add()

void AGOS::AGOSEngine::o_add ( )

Definition at line 259 of file script.cpp.

◆ o_addBox()

void AGOS::AGOSEngine::o_addBox ( )

Definition at line 658 of file script.cpp.

◆ o_addf()

void AGOS::AGOSEngine::o_addf ( )

Definition at line 276 of file script.cpp.

◆ o_at()

void AGOS::AGOSEngine::o_at ( )

Definition at line 63 of file script.cpp.

◆ o_carried()

void AGOS::AGOSEngine::o_carried ( )

Definition at line 73 of file script.cpp.

◆ o_chance()

void AGOS::AGOSEngine::o_chance ( )

Definition at line 164 of file script.cpp.

◆ o_clear()

void AGOS::AGOSEngine::o_clear ( )

Definition at line 238 of file script.cpp.

◆ o_clearTimers()

void AGOS::AGOSEngine::o_clearTimers ( )

Definition at line 873 of file script.cpp.

◆ o_closeWindow()

void AGOS::AGOSEngine::o_closeWindow ( )

Definition at line 653 of file script.cpp.

◆ o_cls()

void AGOS::AGOSEngine::o_cls ( )

Definition at line 643 of file script.cpp.

◆ o_comment()

void AGOS::AGOSEngine::o_comment ( )

Definition at line 497 of file script.cpp.

◆ o_copyff()

void AGOS::AGOSEngine::o_copyff ( )

Definition at line 232 of file script.cpp.

◆ o_copysf()

void AGOS::AGOSEngine::o_copysf ( )

Definition at line 836 of file script.cpp.

◆ o_debug()

void AGOS::AGOSEngine::o_debug ( )

Definition at line 492 of file script.cpp.

◆ o_dec()

void AGOS::AGOSEngine::o_dec ( )

Definition at line 380 of file script.cpp.

◆ o_defObj()

void AGOS::AGOSEngine::o_defObj ( )

Definition at line 757 of file script.cpp.

◆ o_defWindow()

void AGOS::AGOSEngine::o_defWindow ( )

Definition at line 605 of file script.cpp.

◆ o_delBox()

void AGOS::AGOSEngine::o_delBox ( )

Definition at line 692 of file script.cpp.

◆ o_destroy()

void AGOS::AGOSEngine::o_destroy ( )

Definition at line 221 of file script.cpp.

◆ o_disableBox()

void AGOS::AGOSEngine::o_disableBox ( )

Definition at line 702 of file script.cpp.

◆ o_div()

void AGOS::AGOSEngine::o_div ( )

Definition at line 294 of file script.cpp.

◆ o_divf()

void AGOS::AGOSEngine::o_divf ( )

Definition at line 309 of file script.cpp.

◆ o_doClassIcons()

void AGOS::AGOSEngine::o_doClassIcons ( )

Definition at line 769 of file script.cpp.

◆ o_doIcons()

void AGOS::AGOSEngine::o_doIcons ( )

Definition at line 715 of file script.cpp.

◆ o_done()

void AGOS::AGOSEngine::o_done ( )

Definition at line 423 of file script.cpp.

◆ o_enableBox()

void AGOS::AGOSEngine::o_enableBox ( )

Definition at line 697 of file script.cpp.

◆ o_end()

void AGOS::AGOSEngine::o_end ( )

Definition at line 416 of file script.cpp.

◆ o_eq()

void AGOS::AGOSEngine::o_eq ( )

Definition at line 99 of file script.cpp.

◆ o_eqf()

void AGOS::AGOSEngine::o_eqf ( )

Definition at line 138 of file script.cpp.

◆ o_freezeZones()

void AGOS::AGOSEngine::o_freezeZones ( )

Definition at line 850 of file script.cpp.

◆ o_getChildren()

void AGOS::AGOSEngine::o_getChildren ( )

Definition at line 542 of file script.cpp.

◆ o_getNext()

void AGOS::AGOSEngine::o_getNext ( )

Definition at line 533 of file script.cpp.

◆ o_getParent()

void AGOS::AGOSEngine::o_getParent ( )

Definition at line 524 of file script.cpp.

◆ o_goto()

void AGOS::AGOSEngine::o_goto ( )

Definition at line 343 of file script.cpp.

◆ o_gt()

void AGOS::AGOSEngine::o_gt ( )

Definition at line 124 of file script.cpp.

◆ o_gtf()

void AGOS::AGOSEngine::o_gtf ( )

Definition at line 157 of file script.cpp.

◆ o_haltAnimation()

void AGOS::AGOSEngine::o_haltAnimation ( )

Definition at line 502 of file script.cpp.

◆ o_here()

void AGOS::AGOSEngine::o_here ( )

Definition at line 763 of file script.cpp.

◆ o_if1()

void AGOS::AGOSEngine::o_if1 ( )

Definition at line 470 of file script.cpp.

◆ o_if2()

void AGOS::AGOSEngine::o_if2 ( )

Definition at line 475 of file script.cpp.

◆ o_inc()

void AGOS::AGOSEngine::o_inc ( )

Definition at line 371 of file script.cpp.

◆ o_invalid()

void AGOS::AGOSEngine::o_invalid ( )

Definition at line 59 of file script.cpp.

◆ o_is()

void AGOS::AGOSEngine::o_is ( )

Definition at line 487 of file script.cpp.

◆ o_isAt()

void AGOS::AGOSEngine::o_isAt ( )

Definition at line 83 of file script.cpp.

◆ o_isBox()

void AGOS::AGOSEngine::o_isBox ( )

Definition at line 892 of file script.cpp.

◆ o_isCalled()

void AGOS::AGOSEngine::o_isCalled ( )

Definition at line 480 of file script.cpp.

◆ o_isClass()

void AGOS::AGOSEngine::o_isClass ( )

Definition at line 724 of file script.cpp.

◆ o_isObject()

void AGOS::AGOSEngine::o_isObject ( )

Definition at line 203 of file script.cpp.

◆ o_isRoom()

void AGOS::AGOSEngine::o_isRoom ( )

Definition at line 198 of file script.cpp.

◆ o_killAnimate()

void AGOS::AGOSEngine::o_killAnimate ( )

Definition at line 598 of file script.cpp.

◆ o_let()

void AGOS::AGOSEngine::o_let ( )

Definition at line 243 of file script.cpp.

◆ o_loadUserGame()

void AGOS::AGOSEngine::o_loadUserGame ( )

Definition at line 821 of file script.cpp.

◆ o_loadZone()

void AGOS::AGOSEngine::o_loadZone ( )

Definition at line 575 of file script.cpp.

◆ o_lt()

void AGOS::AGOSEngine::o_lt ( )

Definition at line 131 of file script.cpp.

◆ o_ltf()

void AGOS::AGOSEngine::o_ltf ( )

Definition at line 150 of file script.cpp.

◆ o_message()

void AGOS::AGOSEngine::o_message ( )

Definition at line 406 of file script.cpp.

◆ o_mod()

void AGOS::AGOSEngine::o_mod ( )

Definition at line 318 of file script.cpp.

◆ o_modf()

void AGOS::AGOSEngine::o_modf ( )

Definition at line 327 of file script.cpp.

◆ o_moveBox()

void AGOS::AGOSEngine::o_moveBox ( )

Definition at line 707 of file script.cpp.

◆ o_msg()

void AGOS::AGOSEngine::o_msg ( )

Definition at line 411 of file script.cpp.

◆ o_mul()

void AGOS::AGOSEngine::o_mul ( )

Definition at line 288 of file script.cpp.

◆ o_mulf()

void AGOS::AGOSEngine::o_mulf ( )

Definition at line 303 of file script.cpp.

◆ o_notAt()

void AGOS::AGOSEngine::o_notAt ( )

Definition at line 68 of file script.cpp.

◆ o_notCarried()

void AGOS::AGOSEngine::o_notCarried ( )

Definition at line 78 of file script.cpp.

◆ o_notEq()

void AGOS::AGOSEngine::o_notEq ( )

Definition at line 118 of file script.cpp.

◆ o_notEqf()

void AGOS::AGOSEngine::o_notEqf ( )

Definition at line 144 of file script.cpp.

◆ o_notZero()

void AGOS::AGOSEngine::o_notZero ( )

Definition at line 94 of file script.cpp.

◆ o_oclear()

void AGOS::AGOSEngine::o_oclear ( )

Definition at line 357 of file script.cpp.

◆ o_oflag()

void AGOS::AGOSEngine::o_oflag ( )

Definition at line 214 of file script.cpp.

◆ o_oset()

void AGOS::AGOSEngine::o_oset ( )

Definition at line 349 of file script.cpp.

◆ o_picture()

void AGOS::AGOSEngine::o_picture ( )

Definition at line 551 of file script.cpp.

◆ o_place()

void AGOS::AGOSEngine::o_place ( )

Definition at line 226 of file script.cpp.

◆ o_placeNoIcons()

void AGOS::AGOSEngine::o_placeNoIcons ( )

Definition at line 865 of file script.cpp.

◆ o_playTune()

void AGOS::AGOSEngine::o_playTune ( )

Definition at line 783 of file script.cpp.

◆ o_print()

void AGOS::AGOSEngine::o_print ( )

Definition at line 401 of file script.cpp.

◆ o_process()

void AGOS::AGOSEngine::o_process ( )

Definition at line 428 of file script.cpp.

◆ o_putBy()

void AGOS::AGOSEngine::o_putBy ( )

Definition at line 365 of file script.cpp.

◆ o_random()

void AGOS::AGOSEngine::o_random ( )

Definition at line 336 of file script.cpp.

◆ o_restartAnimation()

void AGOS::AGOSEngine::o_restartAnimation ( )

Definition at line 519 of file script.cpp.

◆ o_restoreIcons()

void AGOS::AGOSEngine::o_restoreIcons ( )

Definition at line 842 of file script.cpp.

◆ o_saveUserGame()

void AGOS::AGOSEngine::o_saveUserGame ( )

Definition at line 806 of file script.cpp.

◆ o_setAdjNoun()

void AGOS::AGOSEngine::o_setAdjNoun ( )

Definition at line 794 of file script.cpp.

◆ o_setClass()

void AGOS::AGOSEngine::o_setClass ( )

Definition at line 730 of file script.cpp.

◆ o_setDollar()

void AGOS::AGOSEngine::o_setDollar ( )

Definition at line 881 of file script.cpp.

◆ o_setState()

void AGOS::AGOSEngine::o_setState ( )

Definition at line 389 of file script.cpp.

◆ o_state()

void AGOS::AGOSEngine::o_state ( )

Definition at line 208 of file script.cpp.

◆ o_sub()

void AGOS::AGOSEngine::o_sub ( )

Definition at line 270 of file script.cpp.

◆ o_subf()

void AGOS::AGOSEngine::o_subf ( )

Definition at line 282 of file script.cpp.

◆ o_sync()

void AGOS::AGOSEngine::o_sync ( )

Definition at line 752 of file script.cpp.

◆ o_unsetClass()

void AGOS::AGOSEngine::o_unsetClass ( )

Definition at line 736 of file script.cpp.

◆ o_waitSync()

void AGOS::AGOSEngine::o_waitSync ( )

Definition at line 742 of file script.cpp.

◆ o_when()

void AGOS::AGOSEngine::o_when ( )

Definition at line 464 of file script.cpp.

◆ o_window()

void AGOS::AGOSEngine::o_window ( )

Definition at line 638 of file script.cpp.

◆ o_zero()

void AGOS::AGOSEngine::o_zero ( )

Definition at line 89 of file script.cpp.

◆ openGameFile()

void AGOS::AGOSEngine::openGameFile ( )
protected

Definition at line 536 of file res.cpp.

◆ openTablesFile()

Common::SeekableReadStream * AGOS::AGOSEngine::openTablesFile ( const char *  filename)
protected

Definition at line 261 of file subroutine.cpp.

◆ openTablesFile_gme()

Common::SeekableReadStream * AGOS::AGOSEngine::openTablesFile_gme ( const char *  filename)
protected

Definition at line 275 of file subroutine.cpp.

◆ openTablesFile_simon1()

Common::SeekableReadStream * AGOS::AGOSEngine::openTablesFile_simon1 ( const char *  filename)
protected

Definition at line 268 of file subroutine.cpp.

◆ openTextWindow()

void AGOS::AGOSEngine::openTextWindow ( )
protected

Definition at line 195 of file charset.cpp.

◆ openWindow()

WindowBlock * AGOS::AGOSEngine::openWindow ( uint  x,
uint  y,
uint  w,
uint  h,
uint  flags,
uint  fillColor,
uint  textColor 
)
protected

Definition at line 45 of file window.cpp.

◆ paletteFadeOut()

void AGOS::AGOSEngine::paletteFadeOut ( byte palPtr,
uint  num,
uint  size 
)
protected

Definition at line 1026 of file gfx.cpp.

◆ palLoad()

void AGOS::AGOSEngine::palLoad ( byte pal,
const byte vga1,
int  a,
int  b 
)
protected

Definition at line 600 of file debug.cpp.

◆ pause()

void AGOS::AGOSEngine::pause ( )
protected

Definition at line 1001 of file agos.cpp.

◆ pauseEngineIntern()

void AGOS::AGOSEngine::pauseEngineIntern ( bool  pause)
protectedvirtual

Actual implementation of pauseEngine by subclasses.

See there for details.

Reimplemented from Engine.

Definition at line 986 of file agos.cpp.

◆ permitInput()

void AGOS::AGOSEngine::permitInput ( )
protected

Definition at line 529 of file input.cpp.

◆ playerDamageEvent()

void AGOS::AGOSEngine::playerDamageEvent ( VgaTimerEntry vte,
uint  dx 
)
protected

Definition at line 380 of file event.cpp.

◆ playModule()

void AGOS::AGOSEngine::playModule ( uint16  music)
protected

Definition at line 175 of file res_snd.cpp.

◆ playMusic()

void AGOS::AGOSEngine::playMusic ( uint16  music,
uint16  track 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1.

Definition at line 283 of file res_snd.cpp.

◆ playSting()

void AGOS::AGOSEngine::playSting ( uint16  a)
protected

Definition at line 313 of file res_snd.cpp.

◆ printNameOf()

bool AGOS::AGOSEngine::printNameOf ( Item item,
uint  x,
uint  y 
)
protected

Definition at line 447 of file string.cpp.

◆ printScreenText()

void AGOS::AGOSEngine::printScreenText ( uint  vgaSpriteId,
uint  color,
const char *  stringPtr,
int16  x,
int16  y,
int16  width 
)
protectedvirtual

Definition at line 472 of file string.cpp.

◆ printScroll()

void AGOS::AGOSEngine::printScroll ( )

Definition at line 1151 of file script_e1.cpp.

◆ printStats()

void AGOS::AGOSEngine::printStats ( )
virtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 1162 of file script_e1.cpp.

◆ printTextOf()

bool AGOS::AGOSEngine::printTextOf ( uint  a,
uint  x,
uint  y 
)
protected

Definition at line 415 of file string.cpp.

◆ printVerbOf()

void AGOS::AGOSEngine::printVerbOf ( uint  hitarea_id)
protected

Definition at line 256 of file verb.cpp.

◆ processSpecialKeys()

bool AGOS::AGOSEngine::processSpecialKeys ( )
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 560 of file input.cpp.

◆ processVgaEvents()

void AGOS::AGOSEngine::processVgaEvents ( )
protected

Definition at line 228 of file event.cpp.

◆ quickLoadOrSave()

void AGOS::AGOSEngine::quickLoadOrSave ( )
protectedvirtual

Definition at line 126 of file saveload.cpp.

◆ readGameFile()

void AGOS::AGOSEngine::readGameFile ( void dst,
uint32  offs,
uint32  size 
)
protected

Definition at line 555 of file res.cpp.

◆ readGamePcFile()

void AGOS::AGOSEngine::readGamePcFile ( Common::SeekableReadStream in)
protected

Definition at line 307 of file res.cpp.

◆ readGamePcText()

void AGOS::AGOSEngine::readGamePcText ( Common::SeekableReadStream in)
protected

Definition at line 323 of file res.cpp.

◆ readItemChildren()

void AGOS::AGOSEngine::readItemChildren ( Common::SeekableReadStream in,
Item item,
uint  tmp 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 383 of file res.cpp.

◆ readItemFromGamePc()

void AGOS::AGOSEngine::readItemFromGamePc ( Common::SeekableReadStream in,
Item item 
)
protected

Definition at line 334 of file res.cpp.

◆ readSingleOpcode()

byte * AGOS::AGOSEngine::readSingleOpcode ( Common::SeekableReadStream in,
byte ptr 
)
protected

Definition at line 708 of file subroutine.cpp.

◆ readSubroutine()

void AGOS::AGOSEngine::readSubroutine ( Common::SeekableReadStream in,
Subroutine sub 
)
protected

Definition at line 661 of file subroutine.cpp.

◆ readSubroutineBlock()

void AGOS::AGOSEngine::readSubroutineBlock ( Common::SeekableReadStream in)
protected

Definition at line 656 of file subroutine.cpp.

◆ readSubroutineLine()

void AGOS::AGOSEngine::readSubroutineLine ( Common::SeekableReadStream in,
SubroutineLine newTable,
Subroutine sub 
)
protected

Definition at line 667 of file subroutine.cpp.

◆ readUint16Wrapper()

uint16 AGOS::AGOSEngine::readUint16Wrapper ( const void src)
protectedvirtual

Definition at line 57 of file res.cpp.

◆ readUint32Wrapper()

uint32 AGOS::AGOSEngine::readUint32Wrapper ( const void src)
protectedvirtual

Definition at line 61 of file res.cpp.

◆ readVariable()

uint AGOS::AGOSEngine::readVariable ( uint16  variable)
protected

Definition at line 950 of file script.cpp.

◆ removeArrows()

void AGOS::AGOSEngine::removeArrows ( WindowBlock window,
uint  num 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Simon1, AGOS::AGOSEngine_Waxworks, and AGOS::AGOSEngine_Elvira2.

Definition at line 986 of file icons.cpp.

◆ removeIconArray()

void AGOS::AGOSEngine::removeIconArray ( uint  num)
protected

Definition at line 996 of file icons.cpp.

◆ renderString()

void AGOS::AGOSEngine::renderString ( uint  vgaSpriteId,
uint  color,
uint  width,
uint  height,
const char *  txt 
)
protected

Definition at line 1204 of file charset-fontdata.cpp.

◆ renderStringAmiga()

void AGOS::AGOSEngine::renderStringAmiga ( uint  vgaSpriteId,
uint  color,
uint  width,
uint  height,
const char *  txt 
)
protected

Definition at line 1101 of file charset-fontdata.cpp.

◆ resetNameWindow()

void AGOS::AGOSEngine::resetNameWindow ( )
protected

Definition at line 414 of file verb.cpp.

◆ resetVerbs()

void AGOS::AGOSEngine::resetVerbs ( )
protectedvirtual

Definition at line 576 of file verb.cpp.

◆ resetWindow()

void AGOS::AGOSEngine::resetWindow ( WindowBlock window)
protected

Definition at line 189 of file window.cpp.

◆ restartAnimation()

void AGOS::AGOSEngine::restartAnimation ( )
protected

Definition at line 183 of file event.cpp.

◆ restoreBackGround()

void AGOS::AGOSEngine::restoreBackGround ( )
protected

Definition at line 421 of file draw.cpp.

◆ restoreBlock()

void AGOS::AGOSEngine::restoreBlock ( uint16  x,
uint16  y,
uint16  w,
uint16  h 
)
protected

Definition at line 230 of file window.cpp.

◆ restoreMenu()

void AGOS::AGOSEngine::restoreMenu ( )
protected

Definition at line 51 of file menus.cpp.

◆ restoreWindow()

void AGOS::AGOSEngine::restoreWindow ( WindowBlock window)
protected

Definition at line 195 of file window.cpp.

◆ run()

virtual Common::Error AGOS::AGOSEngine::run ( )
inlineprotectedvirtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implements Engine.

Definition at line 219 of file agos.h.

◆ runScript()

int AGOS::AGOSEngine::runScript ( )
protected

Definition at line 980 of file script.cpp.

◆ runSubroutine101()

void AGOS::AGOSEngine::runSubroutine101 ( )
protectedvirtual

Definition at line 507 of file subroutine.cpp.

◆ runVgaScript()

void AGOS::AGOSEngine::runVgaScript ( )
protected

Definition at line 153 of file vga.cpp.

◆ saveBackGround()

void AGOS::AGOSEngine::saveBackGround ( VgaSprite vsp)
protected

Definition at line 475 of file draw.cpp.

◆ saveGame()

bool AGOS::AGOSEngine::saveGame ( uint  slot,
const char *  caption 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 1120 of file saveload.cpp.

◆ scriptMouseOff()

void AGOS::AGOSEngine::scriptMouseOff ( )
protected

Definition at line 571 of file script_s1.cpp.

◆ scrollEvent()

void AGOS::AGOSEngine::scrollEvent ( )
protected

Definition at line 294 of file event.cpp.

◆ scrollScreen()

void AGOS::AGOSEngine::scrollScreen ( )
protected

Definition at line 621 of file draw.cpp.

◆ sendSync()

void AGOS::AGOSEngine::sendSync ( uint  a)
protected

Definition at line 1051 of file script.cpp.

◆ sendWindow()

void AGOS::AGOSEngine::sendWindow ( uint  a)
protected

Definition at line 269 of file window.cpp.

◆ setBitFlag()

void AGOS::AGOSEngine::setBitFlag ( uint  bit,
bool  value 
)

Definition at line 255 of file vga.cpp.

◆ setDoorState()

void AGOS::AGOSEngine::setDoorState ( Item i,
uint16  d,
uint16  n 
)
protected

Definition at line 96 of file rooms.cpp.

◆ setImage()

void AGOS::AGOSEngine::setImage ( uint16  vgaSpriteId,
bool  vgaScript = false 
)
protected

Definition at line 1152 of file gfx.cpp.

◆ setItemParent()

void AGOS::AGOSEngine::setItemParent ( Item item,
Item parent 
)
protected

Definition at line 281 of file items.cpp.

◆ setItemState()

void AGOS::AGOSEngine::setItemState ( Item item,
int  value 
)
protected

Definition at line 76 of file items.cpp.

◆ setMoveRect()

void AGOS::AGOSEngine::setMoveRect ( uint16  x,
uint16  y,
uint16  width,
uint16  height 
)
protected

Definition at line 762 of file draw.cpp.

◆ setPaletteSlot()

void AGOS::AGOSEngine::setPaletteSlot ( uint16  srcOffs,
uint8  dstOffs 
)
protected

Definition at line 114 of file vga_e2.cpp.

◆ setScriptCondition()

void AGOS::AGOSEngine::setScriptCondition ( bool  cond)

Definition at line 39 of file script.cpp.

◆ setScriptReturn()

void AGOS::AGOSEngine::setScriptReturn ( int  ret)

Definition at line 47 of file script.cpp.

◆ setTextColor()

void AGOS::AGOSEngine::setTextColor ( uint  color)
protected

Definition at line 256 of file window.cpp.

◆ setup_cond_c_helper()

void AGOS::AGOSEngine::setup_cond_c_helper ( )
protected

Definition at line 58 of file input.cpp.

◆ setupGame()

void AGOS::AGOSEngine::setupGame ( )
virtual

◆ setupIconHitArea()

uint AGOS::AGOSEngine::setupIconHitArea ( WindowBlock window,
uint  num,
uint  x,
uint  y,
Item itemPtr 
)
protectedvirtual

◆ setupLocalStringTable()

void AGOS::AGOSEngine::setupLocalStringTable ( byte mem,
int  num 
)
protected

Definition at line 246 of file string.cpp.

◆ setupOpcodes()

void AGOS::AGOSEngine::setupOpcodes ( )
protectedvirtual

◆ setupStringTable()

void AGOS::AGOSEngine::setupStringTable ( byte mem,
int  num 
)
protected

Definition at line 190 of file string.cpp.

◆ setupVgaOpcodes()

void AGOS::AGOSEngine::setupVgaOpcodes ( )
protected

Definition at line 133 of file vga.cpp.

◆ setupVideoOpcodes()

void AGOS::AGOSEngine::setupVideoOpcodes ( VgaOpcodeProc op)
protectedvirtual

◆ setUserFlag()

void AGOS::AGOSEngine::setUserFlag ( Item item,
int  a,
int  b 
)
protected

Definition at line 152 of file items.cpp.

◆ setUserItem()

void AGOS::AGOSEngine::setUserItem ( Item item,
int  n,
int  m 
)
protected

Definition at line 179 of file items.cpp.

◆ setVerb()

void AGOS::AGOSEngine::setVerb ( HitArea ha)
protectedvirtual

Definition at line 635 of file verb.cpp.

◆ setVerbText()

uint AGOS::AGOSEngine::setVerbText ( HitArea ha)
protected

Definition at line 34 of file input.cpp.

◆ setWindowImage()

void AGOS::AGOSEngine::setWindowImage ( uint16  mode,
uint16  vgaSpriteId,
bool  specialCase = false 
)
protected

Definition at line 1315 of file gfx.cpp.

◆ setWindowImageEx()

void AGOS::AGOSEngine::setWindowImageEx ( uint16  mode,
uint16  vgaSpriteId 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_PN.

Definition at line 1271 of file gfx.cpp.

◆ setZoneBuffers()

void AGOS::AGOSEngine::setZoneBuffers ( )
protected

Definition at line 111 of file zones.cpp.

◆ showActionString()

void AGOS::AGOSEngine::showActionString ( const byte string)
protected

Definition at line 327 of file verb.cpp.

◆ showMessageFormat()

void AGOS::AGOSEngine::showMessageFormat ( const char *  s,
  ... 
)
protected

Definition at line 101 of file charset.cpp.

◆ sizeContents()

int AGOS::AGOSEngine::sizeContents ( Item x)
protected

Definition at line 102 of file contain.cpp.

◆ sizeOfRec()

int AGOS::AGOSEngine::sizeOfRec ( Item o,
int  d 
)
protectedvirtual

Reimplemented in AGOS::AGOSEngine_Elvira2.

Definition at line 141 of file contain.cpp.

◆ sizeRec()

int AGOS::AGOSEngine::sizeRec ( Item x,
int  d 
)
protected

Definition at line 106 of file contain.cpp.

◆ skipSpeech()

void AGOS::AGOSEngine::skipSpeech ( )
protected

Definition at line 97 of file res_snd.cpp.

◆ slowFadeIn()

void AGOS::AGOSEngine::slowFadeIn ( )
protected

Definition at line 866 of file draw.cpp.

◆ startSubroutine()

int AGOS::AGOSEngine::startSubroutine ( Subroutine sub)
protected

Definition at line 517 of file subroutine.cpp.

◆ startSubroutineEx()

int AGOS::AGOSEngine::startSubroutineEx ( Subroutine sub)
protected

Definition at line 633 of file subroutine.cpp.

◆ stopAnimate()

void AGOS::AGOSEngine::stopAnimate ( uint16  a)
protected

Definition at line 1059 of file script.cpp.

◆ stopAnimateSimon2()

void AGOS::AGOSEngine::stopAnimateSimon2 ( uint16  a,
uint16  b 
)
protected

Definition at line 473 of file script_s2.cpp.

◆ stopMusic()

void AGOS::AGOSEngine::stopMusic ( )
protected

Definition at line 306 of file res_snd.cpp.

◆ synchChain()

void AGOS::AGOSEngine::synchChain ( Item i)

Definition at line