Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Scumm::ScummEngine_v3 Class Reference

#include <intern.h>

Inheritance diagram for Scumm::ScummEngine_v3:

Scumm::ScummEngine_v4 Scumm::ScummEngine Scumm::ScummEngine_v3old Scumm::ScummEngine_v2 Scumm::ScummEngine_v0

List of all members.


Detailed Description

Engine for version 3 SCUMM games; GF_SMALL_NAMES is always set for these.

Definition at line 239 of file intern.h.


Public Member Functions

virtual void actorTalk (const byte *msg)
void checkCD ()
bool checkXYInBoxBounds (int box, int x, int y)
void clearFlashlight ()
Actor * derefActor (int id, const char *errmsg=0) const
Actor * derefActorSafe (int id, const char *errmsg) const
void dumpResource (const char *tag, int index, const byte *ptr, int length=-1)
void ensureResourceLoaded (int type, int i)
virtual void errorString (const char *buf_input, char *buf_output)
int findInventory (int owner, int index)
const byte * findResource (uint32 tag, const byte *ptr)
const byte * findResourceData (uint32 tag, const byte *ptr)
VirtScreenfindVirtScreen (int y)
Common::String generateFilename (const int room) const
byte * get2byteCharPtr (int idx)
Box * getBoxBaseAddr (int box)
BoxCoords getBoxCoordinates (int boxnum)
byte getBoxFlags (int box)
byte * getBoxMatrixBaseAddr ()
int getBoxScale (int box)
bool getClass (int obj, int cls) const
int getCurrentLights () const
virtual GUI::Debugger * getDebugger ()
int getInventoryCount (int owner)
int getInventorySlot ()
byte * getMaskBuffer (int x, int y, int z)
byte getMaskFromBox (int box)
int getNextBox (byte from, byte to)
byte getNumBoxes ()
int getObjectOrActorXY (int object, int &x, int &y)
byte * getResourceAddress (int type, int i)
int getResourceDataSize (const byte *ptr) const
int getResourceRoomNr (int type, int index)
bool getSavegameName (int slot, char *desc)
int getScale (int box, int x, int y)
int getScaleFromSlot (int slot, int x, int y)
virtual byte * getStringAddress (int i)
byte * getStringAddressVar (int i)
int getTalkingActor ()
virtual int go ()
void GUIErrorMessage (const Common::String msg)
virtual int init ()
void initCommonGFX (bool defaultTo1XScaler)
bool isCostumeInUse (int i) const
bool isLightOn () const
bool isPaused () const
bool isValidActor (int id) const
void listSavegames (bool *marks, int num)
bool loadInfosFromSlot (int slot, InfoStuff *stuff)
Graphics::SurfaceloadThumbnailFromSlot (int slot)
void markRectAsDirty (VirtScreenNumber virt, const Common::Rect &rect, int dirtybit=0)
void markRectAsDirty (VirtScreenNumber virt, int left, int right, int top, int bottom, int dirtybit=0)
void NES_loadCostumeSet (int n)
void nukeArrays (byte scriptSlot)
bool openFile (BaseScummFile &file, const Common::String &filename, bool resourceFile=false)
void parseEvents ()
void pauseEngine (bool pause)
virtual void pauseEngineIntern (bool pause)
void pauseGame ()
int remapPaletteColor (int r, int g, int b, int threshold)
void requestLoad (int slot)
void requestSave (int slot, const char *name, bool temporary=false)
virtual void resetCursors ()
virtual void resetScumm ()
void restart ()
void runScript (int script, bool freezeResistant, bool recursive, int *lvarptr, int cycle=0)
 ScummEngine_v3 (OSystem *syst, const DetectorResult &dr)
int32 scummVar (byte var, const char *varName, const char *file, int line) const
int32 & scummVar (byte var, const char *varName, const char *file, int line)
void setBoxFlags (int box, int val)
void setBoxScale (int box, int b)
void setTalkingActor (int variable)
bool shouldPerformAutoSave (int lastSaveTime)
void shutDown ()
void stopScript (int script)
void stopTalk ()
virtual void translateText (const byte *text, byte *trans_buff)

Public Attributes

int _2byteHeight
int _2byteWidth
Common::Rect _actorClipOverride
byte _actorToPrintStrFor
CharsetRenderer * _charset
byte _charsetColorMap [16]
uint32 * _classData
Common::String _containerFile
BaseCostumeLoader * _costumeLoader
BaseCostumeRenderer_costumeRenderer
byte _currentLights
byte _currentRoom
ScummDebugger * _debugger
bool _egoPositioned
uint16 _extraBoxFlags [65]
FilenamePattern _filenamePattern
GameSettings _game
uint8 _gameMD5 [16]
Gdi * _gdi
byte _haveMsg
uint8 * _hePalettes
byte _HEV7ActorPalette [256]
IMuse_imuse
IMuseDigital * _imuseDigital
Common::Language _language
Audio::Mixer_mixer
MusicEngine_musicEngine
int _NES_lastTalkingActor
int _NES_talkColor
byte _NESBaseTiles
byte * _NEScostdata
byte * _NEScostdesc
byte * _NEScostlens
byte * _NEScostoffs
int _NESCostumeSet
byte _NESPalette [2][16]
byte _NESPatTable [2][4096]
int _NESStartStrip
int _numCharsets
int _numCostumes
int _numImages
int _numLocalScripts
int _numRooms
int _numScripts
int _numSounds
ObjectData * _objs
bool _quit
Common::RenderMode _renderMode
ResourceManager_res
Common::RandomSource _rnd
int _roomHeight
byte _roomPalette [256]
int _roomResource
int _roomWidth
int _screenEndStrip
int _screenHeight
int _screenStartStrip
int _screenTop
int _screenWidth
SentenceTab _sentence [NUM_SENTENCE]
int _sentenceNum
byte * _shadowPalette
bool _skipDrawObject
Sound * _sound
StringTab _string [6]
OSystem_system
int16 _talkDelay
Graphics::Surface _textSurface
int _textSurfaceMultiplier
Common::TimerManager * _timer
bool _useCJKMode
byte _V1TalkingActor
VerbSlot * _verbs
VirtScreen _virtscr [4]
int _voiceMode
CameraData camera
byte OF_OWNER_ROOM
byte VAR_ACTIVE_OBJECT1
byte VAR_ACTIVE_OBJECT2
byte VAR_ACTIVE_VERB
byte VAR_ACTOR_RANGE_MAX
byte VAR_ACTOR_RANGE_MIN
byte VAR_BLAST_ABOVE_TEXT
byte VAR_CAMERA_ACCEL_X
byte VAR_CAMERA_ACCEL_Y
byte VAR_CAMERA_DEST_X
byte VAR_CAMERA_DEST_Y
byte VAR_CAMERA_FAST_X
byte VAR_CAMERA_FOLLOWED_ACTOR
byte VAR_CAMERA_MAX_X
byte VAR_CAMERA_MAX_Y
byte VAR_CAMERA_MIN_X
byte VAR_CAMERA_MIN_Y
byte VAR_CAMERA_POS_X
byte VAR_CAMERA_POS_Y
byte VAR_CAMERA_SPEED_X
byte VAR_CAMERA_SPEED_Y
byte VAR_CAMERA_THRESHOLD_X
byte VAR_CAMERA_THRESHOLD_Y
byte VAR_CHARCOUNT
byte VAR_CHARINC
byte VAR_CHARSET_MASK
byte VAR_CURRENT_LIGHTS
byte VAR_CURRENTDISK
byte VAR_CURRENTDRIVE
byte VAR_CURSORSTATE
byte VAR_CUSTOMSCALETABLE
byte VAR_CUTSCENE_END_SCRIPT
byte VAR_CUTSCENE_START_SCRIPT
byte VAR_CUTSCENEEXIT_KEY
byte VAR_DEBUGMODE
byte VAR_DEFAULT_TALK_DELAY
byte VAR_EGO
byte VAR_ENTRY_SCRIPT
byte VAR_ENTRY_SCRIPT2
byte VAR_EXIT_SCRIPT
byte VAR_EXIT_SCRIPT2
byte VAR_FADE_DELAY
byte VAR_FIXEDDISK
byte VAR_GAME_LOADED
byte VAR_HAVE_MSG
byte VAR_HEAPSPACE
byte VAR_INPUTMODE
byte VAR_INVENTORY_SCRIPT
byte VAR_KEY_STATE
byte VAR_KEYPRESS
byte VAR_LAST_SOUND
byte VAR_LEFTBTN_DOWN
byte VAR_LEFTBTN_HOLD
byte VAR_MACHINE_SPEED
byte VAR_MAIN_SCRIPT
byte VAR_MAINMENU_KEY
byte VAR_ME
byte VAR_MEMORY_PERFORMANCE
byte VAR_MOUSE_X
byte VAR_MOUSE_Y
byte VAR_MUSIC_BUNDLE_LOADED
byte VAR_MUSIC_TIMER
byte VAR_NEW_ROOM
byte VAR_NOSUBTITLES
byte VAR_NUM_ACTOR
byte VAR_NUM_GLOBAL_OBJS
byte VAR_NUM_SCRIPT_CYCLES
byte VAR_OPTIONS_KEY
byte VAR_OVERRIDE
byte VAR_PAUSE_KEY
byte VAR_REDRAW_ALL_ACTORS
byte VAR_RESERVED_SOUND_CHANNELS
byte VAR_RESTART_KEY
byte VAR_RIGHTBTN_DOWN
byte VAR_RIGHTBTN_HOLD
byte VAR_ROOM
byte VAR_ROOM_FLAG
byte VAR_ROOM_HEIGHT
byte VAR_ROOM_RESOURCE
byte VAR_ROOM_WIDTH
byte VAR_SAVELOAD_SCRIPT
byte VAR_SAVELOAD_SCRIPT2
byte VAR_SCRIPT_CYCLE
byte VAR_SCROLL_SCRIPT
byte VAR_SENTENCE_SCRIPT
byte VAR_SKIP_RESET_TALK_ACTOR
byte VAR_SOUND_CHANNEL
byte VAR_SOUNDCARD
byte VAR_SOUNDCODE_TMR
byte VAR_SOUNDPARAM
byte VAR_SOUNDPARAM2
byte VAR_SOUNDPARAM3
byte VAR_SOUNDRESULT
byte VAR_SUBTITLES
byte VAR_SYNC
byte VAR_TALK_ACTOR
byte VAR_TALK_CHANNEL
byte VAR_TALKSTOP_KEY
byte VAR_TIMER
byte VAR_TIMER_NEXT
byte VAR_TMR_1
byte VAR_TMR_2
byte VAR_TMR_3
byte VAR_TMR_4
byte VAR_USERPUT
byte VAR_V5_TALK_STRING_Y
byte VAR_V6_EMSSPACE
byte VAR_V6_SOUNDMODE
byte VAR_VERB_ALLOWED
byte VAR_VERB_SCRIPT
byte VAR_VERSION_KEY
byte VAR_VIDEO_PERFORMANCE
byte VAR_VIDEOMODE
byte VAR_VIRT_MOUSE_X
byte VAR_VIRT_MOUSE_Y
byte VAR_VOICE_BUNDLE_LOADED
byte VAR_VOICE_MODE
byte VAR_WALKTO_OBJ

Protected Types

typedef void(ScummEngine_v5::* OpcodeProcV5 )()

Protected Member Functions

void abortCutscene ()
void actorFollowCamera (int act)
void addObjectToDrawQue (int object)
void addObjectToInventory (uint obj, uint room)
virtual void allocateArrays ()
virtual void animateCursor ()
bool areBoxesNeighbours (int i, int j)
void askForDisk (const char *filename, int disknum)
void beginCutscene (int *args)
void beginOverride ()
void cameraMoved ()
virtual void CHARSET_1 ()
void checkAndRunSentenceScript ()
virtual void checkExecVerbs ()
void clampCameraPos (Common::Point *pt)
void clearCharsetMask ()
virtual void clearClickedStatus ()
void clearDrawObjectQueue ()
virtual void clearDrawQueues ()
void clearGfxUsageBit (int strip, int bit)
void clearOwnerOf (int obj)
virtual void clearRoomObjects ()
void clearTextSurface ()
void closeRoom ()
void confirmExitDialog ()
void confirmRestartDialog ()
int convertIntMessage (byte *dst, int dstSize, int var)
virtual int convertMessageToString (const byte *msg, byte *dst, int dstSize)
int convertNameMessage (byte *dst, int dstSize, int var)
void convertScaleTableToScaleSlot (int slot)
int convertStringMessage (byte *dst, int dstSize, int var)
int convertVerbMessage (byte *dst, int dstSize, int var)
virtual void copyPalColor (int dst, int src)
void copyScriptString (byte *dst)
void createBoxMatrix ()
void cyclePalette ()
virtual void darkenPalette (int redScale, int greenScale, int blueScale, int startColor, int endColor)
void debugMessage (const byte *msg)
void decodeNESBaseTiles ()
virtual void decodeParseString ()
void decreaseScriptDelay (int amount)
void deleteRoomOffsets ()
char displayMessage (const char *altButton, const char *message,...)
void dissolveEffect (int width, int height)
void ditherCGA (byte *dst, int dstPitch, int x, int y, int width, int height) const
void doSentence (int c, int b, int a)
void drawBox (int x, int y, int x2, int y2, int color)
virtual void drawDirtyScreenParts ()
void drawFlashlight ()
void drawObject (int obj, int arg)
void drawRoomObject (int i, int arg)
void drawRoomObjects (int arg)
void drawString (int a, const byte *msg)
void drawStripToScreen (VirtScreen *vs, int x, int w, int t, int b)
virtual void drawVerb (int verb, int mode)
void drawVerbBitmap (int verb, int x, int y)
void endCutscene ()
void endOverride ()
virtual void executeOpcode (byte i)
void executeScript ()
void fadeIn (int effect)
void fadeOut (int effect)
byte fetchScriptByte ()
uint fetchScriptDWord ()
int fetchScriptDWordSigned ()
virtual uint fetchScriptWord ()
virtual int fetchScriptWordSigned ()
int findFlObjectSlot ()
int findLocalObjectSlot ()
int findObject (int x, int y)
void findObjectInRoom (FindObjectInRoom *fo, byte findWhat, uint object, uint room)
const byte * findPalInPals (const byte *pal, int index)
int findVerbAtPos (int x, int y) const
void freezeScripts (int scr)
virtual int getActorFromPos (int x, int y)
int getKeyState (int key)
byte * getOBCDFromObject (int obj)
uint32 getOBCDOffs (int object) const
const byte * getOBIMFromObjectData (const ObjectData &od)
int getObjActToObjActDist (int a, int b)
virtual int getObjectIdFromOBIM (const byte *obim)
const byte * getObjectImage (const byte *ptr, int state)
int getObjectImageCount (int object)
int getObjectIndex (int object) const
int getObjectRoom (int obj) const
void getObjectXYPos (int object, int &x, int &y, int &dir)
void getObjectXYPos (int object, int &x, int &y)
int getObjNewDir (int obj)
int getObjOldDir (int obj)
const byte * getObjOrActorName (int obj)
int getObjX (int obj)
int getObjY (int obj)
virtual const char * getOpcodeDesc (byte i)
int getOwner (int obj) const
const byte * getPalettePtr (int palindex, int room)
int getResourceSize (int type, int idx)
virtual void getResultPos ()
void getScriptBaseAddress ()
void getScriptEntryPoint ()
int getScriptSlot ()
int getState (int obj)
int getTalkspeed ()
virtual int getVar ()
virtual int getVarOrDirectByte (byte mask)
virtual int getVarOrDirectWord (byte mask)
int getVerbEntrypoint (int obj, int entry)
int getVerbSlot (int id, int mode) const
int getWordVararg (int *ptr)
virtual void handleMouseOver (bool updateInventory)
virtual bool handleNextCharsetCode (Actor *a, int *c)
void ignoreScriptByte ()
void ignoreScriptWord ()
void initBGBuffers (int height)
virtual void initCharset (int charset)
void initCycl (const byte *ptr)
void initializeLocals (int slot, int *vars)
void initScreens (int b, int h)
void initVirtScreen (VirtScreenNumber slot, int top, int width, int height, bool twobufs, bool scrollable)
void inventoryScript ()
bool isResourceInUse (int type, int i) const
bool isRoomScriptRunning (int script) const
bool isScriptInUse (int script) const
bool isScriptRunning (int script) const
void killAllScriptsExceptCurrent ()
void killScriptsAndResources ()
void killVerb (int slot)
virtual void loadCharset (int no)
void loadCJKFont ()
virtual void loadFlObject (uint object, uint room)
bool loadInfos (Common::InSaveFile *file, InfoStuff *stuff)
void loadIQPoints ()
virtual void loadLanguageBundle ()
void loadPtrToResource (int type, int i, const byte *ptr)
int loadResource (int type, int i)
void loadResource (Serializer *ser, int type, int index)
bool loadState (int slot, bool compat)
Graphics::SurfaceloadThumbnail (Common::InSaveFile *file)
void loadVars ()
void mainMenuDialog ()
void makeSavegameName (char *out, int slot, bool temporary)
void markObjectRectAsDirty (int obj)
virtual void moveCamera ()
void moveMemInPalRes (int start, int end, byte direction)
void moveScreen (int dx, int dy, int height)
void nukeCharset (int i)
void nukeFlObjects (int min, int max)
void o5_actorFollowCamera ()
void o5_actorFromPos ()
void o5_actorOps ()
void o5_add ()
void o5_and ()
void o5_animateActor ()
void o5_beginOverride ()
void o5_breakHere ()
void o5_chainScript ()
void o5_cursorCommand ()
void o5_cutscene ()
void o5_debug ()
void o5_decrement ()
void o5_delay ()
void o5_delayVariable ()
void o5_divide ()
void o5_doSentence ()
void o5_drawBox ()
void o5_drawObject ()
void o5_endCutscene ()
void o5_equalZero ()
void o5_expression ()
void o5_faceActor ()
void o5_findInventory ()
void o5_findObject ()
void o5_freezeScripts ()
void o5_getActorCostume ()
void o5_getActorElevation ()
void o5_getActorFacing ()
void o5_getActorMoving ()
void o5_getActorRoom ()
void o5_getActorScale ()
void o5_getActorWalkBox ()
void o5_getActorWidth ()
void o5_getActorX ()
void o5_getActorY ()
void o5_getAnimCounter ()
void o5_getClosestObjActor ()
void o5_getDist ()
void o5_getInventoryCount ()
void o5_getObjectOwner ()
void o5_getObjectState ()
void o5_getRandomNr ()
void o5_getStringWidth ()
void o5_getVerbEntrypoint ()
void o5_ifClassOfIs ()
void o5_ifNotState ()
void o5_ifState ()
void o5_increment ()
void o5_isActorInBox ()
void o5_isEqual ()
void o5_isGreater ()
void o5_isGreaterEqual ()
void o5_isLess ()
void o5_isNotEqual ()
void o5_isScriptRunning ()
void o5_isSoundRunning ()
void o5_jumpRelative ()
void o5_lessOrEqual ()
void o5_lights ()
void o5_loadRoom ()
void o5_loadRoomWithEgo ()
void o5_matrixOps ()
void o5_move ()
void o5_multiply ()
void o5_notEqualZero ()
void o5_oldRoomEffect ()
void o5_or ()
void o5_panCameraTo ()
void o5_pickupObject ()
void o5_pickupObjectOld ()
void o5_print ()
void o5_printEgo ()
void o5_pseudoRoom ()
void o5_putActor ()
void o5_putActorAtObject ()
void o5_putActorInRoom ()
void o5_resourceRoutines ()
void o5_roomOps ()
void o5_saveLoadGame ()
void o5_saveLoadVars ()
void o5_saveRestoreVerbs ()
void o5_setCameraAt ()
void o5_setClass ()
void o5_setObjectName ()
void o5_setOwnerOf ()
void o5_setState ()
void o5_setVarRange ()
void o5_soundKludge ()
void o5_startMusic ()
void o5_startObject ()
void o5_startScript ()
void o5_startSound ()
void o5_stopMusic ()
void o5_stopObjectCode ()
void o5_stopObjectScript ()
void o5_stopScript ()
void o5_stopSound ()
void o5_stringOps ()
void o5_subtract ()
void o5_systemOps ()
void o5_verbOps ()
void o5_wait ()
void o5_walkActorTo ()
void o5_walkActorToActor ()
void o5_walkActorToObject ()
bool openResourceFile (const Common::String &filename, byte encByte)
void openRoom (int room)
void palManipulate ()
virtual void palManipulateInit (int resID, int start, int end, int time)
virtual void panCameraTo (int x, int y)
void pauseDialog ()
void playActorSounds ()
int pop ()
virtual void printString (int m, const byte *msg)
virtual void processActors ()
void processDrawQue ()
virtual void processInput ()
virtual void processKeyboard (Common::KeyState lastKeyHit)
void processUpperActors ()
void push (int a)
void putActors ()
void putClass (int obj, int cls, bool set)
void putOwner (int obj, int owner)
void putState (int obj, int state)
virtual void readArrayFromIndexFile ()
virtual void readGlobalObjects ()
virtual void readIndexBlock (uint32 block, uint32 itemsize)
virtual void readIndexFile ()
virtual void readMAXS (int blockSize)
virtual void readResTypeList (int id)
virtual void readRoomsOffsets ()
int readSoundResource (int index)
int readSoundResourceSmallHeader (int index)
virtual int readVar (uint var)
void redefineBuiltinCursorFromChar (int index, int chr)
void redefineBuiltinCursorHotspot (int index, int x, int y)
void redrawAllActors ()
virtual void redrawBGAreas ()
void redrawBGStrip (int start, int num)
virtual void redrawVerbs ()
void removeObjectFromDrawQue (int object)
void resetActorBgs ()
void resetPalette ()
virtual void resetRoomObject (ObjectData *od, const byte *room, const byte *searchptr=NULL)
virtual void resetRoomObjects ()
virtual void resetRoomSubBlocks ()
virtual void resetScummVars ()
void resetV1ActorTalkColor ()
int resStrLen (const byte *src) const
void restoreBackground (Common::Rect rect, byte backcolor=0)
void restoreCharsetBg ()
void restoreVerbBG (int verb)
void runAllScripts ()
virtual void runBootscript ()
virtual int runDialog (Dialog &dialog)
void runEntryScript ()
void runExitScript ()
virtual void runInputScript (int clickArea, int val, int mode)
virtual void runInventoryScript (int i)
void runObjectScript (int script, int entry, bool freezeResistant, bool recursive, int *vars, int slot=-1, int cycle=0)
void runScriptNested (int script)
void saveInfos (Common::OutSaveFile *file)
void saveIQPoints ()
void saveLoadResource (Serializer *ser, int type, int index)
virtual void saveOrLoad (Serializer *s)
void saveResource (Serializer *ser, int type, int index)
bool saveState (int slot, bool compat)
void saveThumbnail (Common::OutSaveFile *file)
void saveVars ()
void scrollEffect (int dir)
virtual int scummLoop (int delta)
virtual void scummLoop_handleActors ()
virtual void scummLoop_handleDrawing ()
virtual void scummLoop_handleEffects ()
virtual void scummLoop_handleSaveLoad ()
virtual void scummLoop_handleSound ()
virtual void scummLoop_updateScummVars ()
void setActorRedrawFlags ()
void setAmigaPalette ()
void setBoxScaleSlot (int box, int slot)
virtual void setBuiltinCursor (int index)
void setC64Palette ()
virtual void setCameraAt (int pos_x, int pos_y)
void setCameraAtEx (int at)
virtual void setCameraFollows (Actor *a, bool setCamera=false)
void setCGAPalette ()
void setCurrentPalette (int pal)
void setCursorFromBuffer (const byte *ptr, int width, int height, int pitch)
void setDirtyColors (int min, int max)
void setEGAPalette ()
void setGfxUsageBit (int strip, int bit)
void setHercPalette ()
void setNESPalette ()
void setObjectName (int obj)
void setObjectState (int obj, int state, int x, int y)
void setOwnerOf (int obj, int owner)
virtual void setPalColor (int index, int r, int g, int b)
virtual void setPaletteFromPtr (const byte *ptr, int numcolor=-1)
void setResult (int result)
void setRoomPalette (int pal, int room)
void setScaleSlot (int slot, int x1, int y1, int scale1, int x2, int y2, int scale2)
void setScrollBuffer ()
void setShadowPalette (int redScale, int greenScale, int blueScale, int startColor, int endColor, int start, int end)
void setShadowPalette (int slot, int redScale, int greenScale, int blueScale, int startColor, int endColor)
void setShake (int mode)
void setTalkspeed (int talkspeed)
void setupCharsetRenderer ()
void setupCostumeRenderer ()
void setupMusic (int midi)
virtual void setupOpcodes ()
virtual void setupRoomSubBlocks ()
virtual void setupScumm ()
virtual void setupScummVars ()
void setV1Palette ()
void setVerbObject (uint room, uint object, uint verb)
void showActors ()
void showMessageDialog (const byte *msg)
void startManiac ()
void startScene (int room, Actor *a, int b)
void stopCycle (int i)
void stopObjectCode ()
void stopObjectScript (int script)
void swapPalColors (int a, int b)
bool testGfxAnyUsageBits (int strip)
bool testGfxOtherUsageBits (int strip, int bit)
bool testGfxUsageBit (int strip, int bit)
void transitionEffect (int a)
void unfreezeScripts ()
void unkScreenEffect6 ()
void updateCursor ()
void updateDirtyScreen (VirtScreenNumber slot)
void updateObjectStates ()
virtual void updatePalette ()
void updateScriptPtr ()
void updateSoundSettings ()
void upgradeGfxUsageBits ()
void verbMouseOver (int verb)
void versionDialog ()
void waitForTimer (int msec_delay)
void walkActors ()
int whereIsObject (int object) const
virtual void writeVar (uint var, int value)

Protected Attributes

byte * _2byteFontPtr
Actor ** _actors
byte * _arraySlot
bool _bgNeedsRedraw
byte * _bitVars
int _bootParam
byte _charsetBuffer [512]
int _charsetBufPos
byte _charsetColor
byte _charsetData [23][16]
uint32 _CLUT_offs
ColorCycle _colorCycle [16]
uint8 _colorUsedByCycle [256]
bool _completeScreenRedraw
byte * _compositeBuf
bool _copyProtection
int _curPalIndex
byte _currentCursor
byte _currentPalette [3 *256]
byte _currentScript
struct {
   byte   animate
   byte   animateIndex
   int   height
   int   hotspotX
   int   hotspotY
   int8   state
   int   width
_cursor
byte _cursorHotspots [2 *4]
uint16 _cursorImages [4][17]
byte _darkenPalette [3 *256]
uint16 _debugMode
uint16 _defaultTalkDelay
bool _disableFadeInEffect
bool _doEffect
byte _drawObjectQue [200]
int _drawObjectQueNr
bool _dumpScripts
bool _enable_gs
uint32 _ENCD_offs
int32 _engineStartTime
uint32 _EPAL_offs
Common::EventManager_eventMan
uint32 _EXCD_offs
byte _fastMode
BaseScummFile * _fileHandle
uint32 _fileOffset
struct {
   byte *   buffer
   int   h
   bool   isDrawn
   int   w
   int   x
   uint16   xStrips
   int   y
   uint16   yStrips
_flashlight
byte * _fmtownsBuf
bool _fullRedraw
const Common::String _gameDataPath
byte _grabbedCursor [8192]
bool _haveActorSpeechMsg
int _HEHeapSize
byte * _herculesBuf
byte * _heV7DiskOffsets
uint32 * _heV7RoomIntOffsets
bool _hexdumpScripts
uint32 _IM00_offs
uint16 * _inventory
int _inventoryOffset
bool _keepText
bool _keyDownMap [512]
Common::KeyState _keyPressed
const byte *const * _lastCodePtr
int _lastLoadedRoom
uint32 _lastSaveTime
byte _leftBtnPressed
uint32 _localScriptOffsets [1024]
Dialog * _mainMenuDialog
Common::Point _mouse
uint16 _mouseAndKeyboardStat
MidiDriverFlags _musicType
bool _native_mt32
byte _newEffect
uint16 * _newNames
int _nextLeft
int _nextTop
byte _numActors
int _numArray
int _numBitVariables
int _numFlObject
int _numGlobalObjects
int _numGlobalScripts
int _numInventory
int _numLocalObjects
int _numNewNames
int _numObjectsInRoom
int _numPalettes
int _numRoomVariables
int _numSprites
int _numTalkies
int _numUnk
int _numVariables
int _numVerbs
byte * _objectOwnerTable
byte * _objectRoomTable
byte * _objectStateTable
bool _oldSoundsPaused
byte _opcode
const OpcodeEntryV5 * _opcodesV5
int _palDirtyMax
int _palDirtyMin
uint16 _palManipCounter
byte _palManipEnd
byte * _palManipIntermediatePal
byte * _palManipPalette
byte _palManipStart
uint32 _PALS_offs
Dialog * _pauseDialog
int32 _pauseStartTime
int _resourceHeaderSize
const byte * _resourceLastSearchBuf
uint32 _resourceLastSearchSize
byte _resourceMapper [128]
int _resultVarNumber
byte _rightBtnPressed
int32 * _roomVars
Common::SaveFileManager_saveFileMan
char _saveLoadFileName [32]
byte _saveLoadFlag
char _saveLoadName [32]
byte _saveLoadSlot
char _saveLoadVarsFilename [256]
int _saveSound
bool _saveTemporaryState
ScaleSlot _scaleSlots [20]
uint16 _screenB
bool _screenEffectFlag
uint16 _screenH
const byte * _scriptOrgPointer
const byte * _scriptPointer
int _scummStackPos
int32 * _scummVars
int _shadowPaletteSize
bool _shakeEnabled
uint _shakeFrame
bool _showStack
Actor ** _sortedActors
byte _switchRoomEffect
byte _switchRoomEffect2
const Common::String _targetName
int _tempMusic
int8 _userPut
uint16 _userState
bool _useTalkAnims
int16 _varwatch
uint16 _verbMouseOver
Dialog * _versionDialog
Common::Point _virtualMouse
int _vmStack [150]
uint32 gfxUsageBits [410 *3]
VirtualMachineState vm

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index