|
| ScummEngine_v6 (OSystem *syst, const DetectorResult &dr) |
|
void | resetScumm () override |
|
void | nukeArray (int array) |
|
void | removeBlastObjects () |
|
void | restoreBlastObjectsRects () |
|
bool | akos_increaseAnims (const byte *akos, Actor *a) |
|
bool | akos_increaseAnim (Actor *a, int i, const byte *aksq, const uint16 *akfo, int numakfo) |
|
| ScummEngine (OSystem *syst, const DetectorResult &dr) |
|
Common::Error | init () |
|
Common::Error | go () |
|
Common::Error | run () override |
|
void | errorString (const char *buf_input, char *buf_output, int buf_output_size) override |
|
bool | hasFeature (EngineFeature f) const override |
|
bool | gameSupportsQuitDialogOverride () const |
|
void | syncSoundSettings () override |
|
Common::Error | loadGameState (int slot) override |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
void | pauseEngineIntern (bool pause) override |
|
void | beginTextInput () |
|
void | endTextInput () |
|
void | parseEvents () |
|
void | pauseGame () |
|
void | restart () |
|
bool | isUsingOriginalGUI () const |
|
bool | isMessageBannerActive () |
|
char | displayMessage (const char *altButton, MSVC_PRINTF const char *message,...) GCC_PRINTF(3 |
|
char bool | displayMessageYesNo (MSVC_PRINTF const char *message,...) GCC_PRINTF(2 |
|
int32 & | scummVar (byte var, const char *varName, const char *file, int line) |
|
int32 | scummVar (byte var, const char *varName, const char *file, int line) const |
|
void | NES_loadCostumeSet (int n) |
|
virtual Common::Path | generateFilename (const int room) const |
|
bool | getSavegameName (int slot, Common::String &desc) |
|
void | listSavegames (bool *marks, int num) |
|
void | requestSave (int slot, const Common::String &name) |
|
void | requestLoad (int slot) |
|
Common::String | getTargetName () const |
|
bool | canPauseSoundsDuringSave () const |
|
void | runScript (int script, bool freezeResistant, bool recursive, int *lvarptr, int cycle=0) |
|
void | stopScript (int script) |
|
void | nukeArrays (byte scriptSlot) |
|
bool | openFile (BaseScummFile &file, const Common::Path &filename, bool resourceFile=false) |
|
ScummFile * | instantiateScummFile (bool indexPAKFiles=true) |
|
int | getResourceSize (ResType type, ResId idx) |
|
byte * | getResourceAddress (ResType type, ResId idx) |
|
byte * | getStringAddressVar (int i) |
|
void | ensureResourceLoaded (ResType type, ResId idx) |
|
const byte * | findResourceData (uint32 tag, const byte *ptr) |
|
const byte * | findResource (uint32 tag, const byte *ptr) |
|
void | applyWorkaroundIfNeeded (ResType type, int idx) |
|
bool | verifyMI2MacBootScript () |
|
bool | verifyMI2MacBootScript (byte *buf, int size) |
|
bool | tryPatchMI1CannibalScript (byte *buf, int size) |
|
int | getResourceDataSize (const byte *ptr) const |
|
void | dumpResource (const char *tag, int index, const byte *ptr, int length=-1) |
|
int | getInventorySlot () |
|
int | findInventory (int owner, int index) |
|
int | getInventoryCount (int owner) |
|
bool | getClass (int obj, int cls) const |
|
int | getObjectOrActorWidth (int object, int &width) |
|
int | getObjectOrActorXY (int object, int &x, int &y) |
|
int | getDist (int x, int y, int x2, int y2) |
|
bool | isValidActor (int id) const |
|
Actor * | derefActor (int id, const char *errmsg=0) const |
|
Actor * | derefActorSafe (int id, const char *errmsg) const |
|
virtual void | actorTalk (const byte *msg) |
|
void | stopTalk () |
|
int | getTalkingActor () |
|
void | setTalkingActor (int variable) |
|
bool | isCostumeInUse (int i) const |
|
bool | isLightOn () const |
|
virtual int | getCurrentLights () const |
|
uint8 * | getHEPaletteSlot (uint16 palSlot) |
|
uint16 | get16BitColor (uint8 r, uint8 g, uint8 b) |
|
uint32 | getPaletteColorFromRGB (byte *palette, byte r, byte g, byte b) |
|
uint32 | getPackedRGBColorFromPalette (byte *palette, uint32 color) |
|
void | fetchBlackAndWhite (uint32 &black, uint32 &white, byte *palette, int paletteEntries) |
|
int | remapPaletteColor (int r, int g, int b, int threshold) |
|
void | readPCEPalette (const byte **ptr, byte **dest, int numEntries) |
|
void | colorPCEToRGB (uint16 color, byte *r, byte *g, byte *b) |
|
void | setPCETextPalette (uint8 color) |
|
void | markRectAsDirty (VirtScreenNumber virt, int left, int right, int top, int bottom, int dirtybit=0) |
|
void | markRectAsDirty (VirtScreenNumber virt, const Common::Rect &rect, int dirtybit=0) |
|
VirtScreen * | findVirtScreen (int y) |
|
byte * | getMaskBuffer (int x, int y, int z) |
|
double | getTimerFrequency () |
|
double | getAmigaMusicTimerFrequency () |
|
byte | getNumBoxes () |
|
byte * | getBoxMatrixBaseAddr () |
|
byte * | getBoxConnectionBase (int box) |
|
int | getNextBox (byte from, byte to) |
|
void | setBoxFlags (int box, int val) |
|
void | setBoxScale (int box, int b) |
|
bool | checkXYInBoxBounds (int box, int x, int y) |
|
BoxCoords | getBoxCoordinates (int boxnum) |
|
byte | getMaskFromBox (int box) |
|
Box * | getBoxBaseAddr (int box) |
|
byte | getBoxFlags (int box) |
|
int | getBoxScale (int box) |
|
int | getScale (int box, int x, int y) |
|
int | getScaleFromSlot (int slot, int x, int y) |
|
virtual void | translateText (const byte *text, byte *trans_buff, int transBufferSize) |
|
bool | reverseIfNeeded (const byte *text, byte *reverseBuf, int reverseBufSize) const |
|
Common::CodePage | getDialogCodePage () const |
|
byte * | get2byteCharPtr (int idx) |
|
bool | isScummvmKorTarget () |
|
bool | hasLocalizer () |
|
bool | towns_isRectInStringBox (int x1, int y1, int x2, int y2) |
|
MetaEngine * | getMetaEngine () const |
|
void | setMetaEngine (MetaEngine *metaEngine) |
|
PauseToken | pauseEngine () |
|
bool | isPaused () const |
|
void | openMainMenuDialog () |
|
uint32 | getTotalPlayTime () const |
|
void | setTotalPlayTime (uint32 time=0) |
|
Common::TimerManager * | getTimerManager () |
|
Common::EventManager * | getEventManager () |
|
Common::SaveFileManager * | getSaveFileManager () |
|
bool | existExtractedCDAudioFiles (uint track=1) |
|
bool | isDataAndCDAudioReadFromSameCD () |
|
void | warnMissingExtractedCDAudio () |
|
void | handleAutoSave () |
|
void | saveAutosaveIfEnabled () |
|
virtual bool | canSaveAutosaveCurrently () |
|
virtual int | getAutosaveSlot () const |
|
| Engine (OSystem *syst) |
|
virtual | ~Engine () |
|
virtual void | initializePath (const Common::FSNode &gamePath) |
|
virtual GUI::Debugger * | getDebugger () final |
|
void | setDebugger (GUI::Debugger *debugger) |
|
GUI::Debugger * | getOrCreateDebugger () |
|
bool | enhancementEnabled (int32 cls) |
|
virtual void | applyGameSettings () |
|
virtual void | flipMute () |
|
virtual Common::String | getSaveStateName (int slot) const |
|
virtual Common::Error | loadGameStream (Common::SeekableReadStream *stream) |
|
void | setGameToLoadSlot (int slot) |
|
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
|
bool | saveGameDialog () |
|
bool | loadGameDialog () |
|
|
void | setupOpcodes () override |
|
void | scummLoop_handleSaveLoad () override |
|
void | scummLoop_handleActors () override |
|
void | processKeyboard (Common::KeyState lastKeyHit) override |
|
void | setupScummVars () override |
|
virtual void | decodeParseString (int a, int b) |
|
void | readArrayFromIndexFile () override |
|
byte * | getStringAddress (ResId idx) override |
|
void | readMAXS (int blockSize) override |
|
void | palManipulateInit (int resID, int start, int end, int time) override |
|
void | drawDirtyScreenParts () override |
|
int | getStackList (int *args, uint maxnum) |
|
int | popRoomAndObj (int *room) |
|
ArrayHeader * | getArray (int array) |
|
byte * | defineArray (int array, int type, int dim2, int dim1) |
|
int | findFreeArrayId () |
|
virtual int | readArray (int array, int index, int base) |
|
virtual void | writeArray (int array, int index, int base, int value) |
|
void | shuffleArray (int num, int minIdx, int maxIdx) |
|
void | setDefaultCursor () override |
|
void | setCursorTransparency (int a) override |
|
void | setCursorHotspot (int x, int y) override |
|
virtual void | setCursorFromImg (uint img, uint room, uint imgindex) |
|
void | useIm01Cursor (const byte *im, int w, int h) |
|
void | useBompCursor (const byte *im, int w, int h) |
|
void | grabCursor (int x, int y, int w, int h) |
|
void | setCursorFromBuffer (const byte *ptr, int width, int height, int pitch, bool preventScale=false) override |
|
void | ditherCursor () |
|
virtual void | drawBlastTexts () |
|
virtual void | removeBlastTexts () |
|
void | enqueueObject (int objectNumber, int objectX, int objectY, int objectWidth, int objectHeight, int scaleX, int scaleY, int image, int mode) |
|
void | drawBlastObjects () |
|
void | drawBlastObject (BlastObject *eo) |
|
void | restoreBlastObjectRect (Common::Rect r) |
|
void | clearDrawQueues () override |
|
int | getBannerColor (int bannerId) override |
|
const char * | getGUIString (int stringId) override |
|
void | setSkipVideo (int value) override |
|
void | setUpMainMenuControls () override |
|
void | akos_queCommand (byte cmd, Actor *a, int param_1, int param_2) |
|
virtual void | akos_processQueue () |
|
void | processActors () override |
|
int | getSpecialBox (int x, int y) |
|
int | getDistanceBetween (bool is_obj_1, int b, int c, bool is_obj_2, int e, int f) |
|
void | o6_setBlastObjectWindow () |
|
void | o6_pushByte () |
|
void | o6_pushWord () |
|
void | o6_pushByteVar () |
|
void | o6_pushWordVar () |
|
void | o6_byteArrayRead () |
|
void | o6_wordArrayRead () |
|
void | o6_byteArrayIndexedRead () |
|
void | o6_wordArrayIndexedRead () |
|
void | o6_dup () |
|
void | o6_pop () |
|
void | o6_not () |
|
void | o6_eq () |
|
void | o6_neq () |
|
void | o6_gt () |
|
void | o6_lt () |
|
void | o6_le () |
|
void | o6_ge () |
|
void | o6_add () |
|
void | o6_sub () |
|
void | o6_mul () |
|
void | o6_div () |
|
void | o6_land () |
|
void | o6_lor () |
|
void | o6_writeByteVar () |
|
void | o6_writeWordVar () |
|
void | o6_byteArrayWrite () |
|
void | o6_wordArrayWrite () |
|
void | o6_byteArrayIndexedWrite () |
|
void | o6_wordArrayIndexedWrite () |
|
void | o6_byteVarInc () |
|
void | o6_wordVarInc () |
|
void | o6_byteArrayInc () |
|
void | o6_wordArrayInc () |
|
void | o6_byteVarDec () |
|
void | o6_wordVarDec () |
|
void | o6_byteArrayDec () |
|
void | o6_wordArrayDec () |
|
void | o6_if () |
|
void | o6_ifNot () |
|
void | o6_jump () |
|
void | o6_startScript () |
|
void | o6_startScriptQuick () |
|
void | o6_startObject () |
|
void | o6_drawObject () |
|
void | o6_drawObjectAt () |
|
void | o6_stopObjectCode () |
|
void | o6_endCutscene () |
|
void | o6_cutscene () |
|
void | o6_stopMusic () |
|
void | o6_freezeUnfreeze () |
|
void | o6_cursorCommand () |
|
void | o6_breakHere () |
|
void | o6_ifClassOfIs () |
|
void | o6_setClass () |
|
void | o6_getState () |
|
void | o6_setState () |
|
void | o6_setOwner () |
|
void | o6_getOwner () |
|
void | o6_startSound () |
|
void | o6_stopSound () |
|
void | o6_startMusic () |
|
void | o6_stopObjectScript () |
|
void | o6_panCameraTo () |
|
void | o6_actorFollowCamera () |
|
void | o6_setCameraAt () |
|
void | o6_loadRoom () |
|
void | o6_stopScript () |
|
void | o6_walkActorToObj () |
|
void | o6_walkActorTo () |
|
void | o6_putActorAtXY () |
|
void | o6_putActorAtObject () |
|
void | o6_faceActor () |
|
void | o6_animateActor () |
|
void | o6_doSentence () |
|
void | o6_pickupObject () |
|
void | o6_loadRoomWithEgo () |
|
void | o6_getRandomNumber () |
|
void | o6_getRandomNumberRange () |
|
void | o6_getActorMoving () |
|
void | o6_isScriptRunning () |
|
void | o6_getActorRoom () |
|
void | o6_getObjectX () |
|
void | o6_getObjectY () |
|
void | o6_getObjectOldDir () |
|
void | o6_getObjectNewDir () |
|
void | o6_getActorWalkBox () |
|
void | o6_getActorCostume () |
|
void | o6_findInventory () |
|
void | o6_getInventoryCount () |
|
void | o6_getVerbFromXY () |
|
void | o6_beginOverride () |
|
void | o6_endOverride () |
|
void | o6_setObjectName () |
|
void | o6_isSoundRunning () |
|
void | o6_setBoxFlags () |
|
void | o6_createBoxMatrix () |
|
void | o6_resourceRoutines () |
|
void | o6_roomOps () |
|
void | o6_actorOps () |
|
void | o6_verbOps () |
|
void | o6_getActorFromXY () |
|
void | o6_findObject () |
|
void | o6_pseudoRoom () |
|
void | o6_getActorElevation () |
|
void | o6_getVerbEntrypoint () |
|
void | o6_arrayOps () |
|
void | o6_saveRestoreVerbs () |
|
void | o6_drawBox () |
|
void | o6_getActorWidth () |
|
void | o6_wait () |
|
void | o6_getActorScaleX () |
|
void | o6_getActorAnimCounter () |
|
void | o6_soundKludge () |
|
void | o6_isAnyOf () |
|
void | o6_systemOps () |
|
void | o6_isActorInBox () |
|
void | o6_delay () |
|
void | o6_delaySeconds () |
|
void | o6_delayMinutes () |
|
void | o6_stopSentence () |
|
void | o6_printLine () |
|
void | o6_printText () |
|
void | o6_printDebug () |
|
void | o6_printSystem () |
|
void | o6_printActor () |
|
void | o6_printEgo () |
|
void | o6_talkActor () |
|
void | o6_talkEgo () |
|
void | o6_dimArray () |
|
void | o6_dummy () |
|
void | o6_startObjectQuick () |
|
void | o6_startScriptQuick2 () |
|
void | o6_dim2dimArray () |
|
void | o6_abs () |
|
void | o6_distObjectObject () |
|
void | o6_distObjectPt () |
|
void | o6_distPtPt () |
|
virtual void | o6_kernelSetFunctions () |
|
void | o6_delayFrames () |
|
void | o6_pickOneOf () |
|
void | o6_pickOneOfDefault () |
|
void | o6_jumpToScript () |
|
void | o6_isRoomScriptRunning () |
|
void | o6_kernelGetFunctions () |
|
void | o6_getAnimateVariable () |
|
void | o6_drawBlastObject () |
|
void | o6_getActorLayer () |
|
void | o6_stampObject () |
|
void | o6_bor () |
|
void | o6_band () |
|
void | o6_stopTalking () |
|
void | o6_findAllObjects () |
|
void | o6_pickVarRandom () |
|
void | o6_getDateTime () |
|
void | o6_getPixel () |
|
void | o6_setBoxSet () |
|
void | o6_shuffle () |
|
virtual void | setupScumm (const Common::Path &macResourceFile) |
|
virtual void | resetScummVars () |
|
void | setVideoModeVarToCurrentConfig () |
|
void | setSoundCardVarToCurrentConfig () |
|
void | setupCharsetRenderer (const Common::Path &macFontFile) |
|
void | setupCostumeRenderer () |
|
virtual void | loadLanguageBundle () |
|
void | loadCJKFont () |
|
void | loadKorFont () |
|
void | setupMusic (int midi) |
|
void | setTalkSpeed (int talkspeed) |
|
int | getTalkSpeed () |
|
virtual void | scummLoop (int delta) |
|
virtual void | scummLoop_updateScummVars () |
|
virtual void | scummLoop_handleDrawing () |
|
virtual void | scummLoop_handleEffects () |
|
virtual void | scummLoop_handleSound () |
|
virtual void | runBootscript () |
|
virtual void | terminateSaveMenuScript () |
|
virtual void | parseEvent (Common::Event event) |
|
void | waitForTimer (int quarterFrames, bool freezeMacGui=false) |
|
void | setTimerAndShakeFrequency () |
|
uint32 | getIntegralTime (double fMsecs) |
|
virtual void | processInput () |
|
virtual void | clearClickedStatus () |
|
virtual void | updateCursor () |
|
virtual void | animateCursor () |
|
virtual void | updatePalette () |
|
virtual void | resetCursors () |
|
void | confirmExitDialog () |
|
void | confirmRestartDialog () |
|
void | pauseDialog () |
|
void | messageDialog (const Common::U32String &message) |
|
void | versionDialog () |
|
virtual void | setSnailCursor () |
|
void | initBanners () |
|
Common::KeyState | showBannerAndPause (int bannerId, int32 waitTime, const char *msg,...) |
|
Common::KeyState | showOldStyleBannerAndPause (const char *msg, int color, int32 waitTime) |
|
Common::KeyState | printMessageAndPause (const char *msg, int color, int32 waitTime, bool drawOnSentenceLine) |
|
void | clearBanner () |
|
void | setBannerColors (int bannerId, byte r, byte g, byte b) |
|
void | setUpInternalGUIControl (int id, int normalFillColor, int normalTextColor, int topLineColor, int bottomLineColor, int leftLineColor, int rightLineColor, int highlightedTextColor, int highlightedFillColor, int anchorPointX, int anchorPointY, int x, int y, const char *label, bool centerFlag, bool unknownFlag) |
|
void | drawInternalGUIControl (int id, bool highlightColor) |
|
int | getInternalGUIControlFromCoordinates (int x, int y) |
|
virtual bool | isSmushActive () |
|
virtual bool | isInsaneActive () |
|
virtual void | queryQuit (bool returnToLauncher) |
|
virtual void | queryRestart () |
|
void | waitForBannerInput (int32 waitTime, Common::KeyState &ks, bool &leftBtnClicked, bool &rightBtnClicked, bool handleMouseWheel=false) |
|
virtual int | getGUIStringHeight (const char *str) |
|
virtual int | getGUIStringWidth (const char *str) |
|
virtual void | drawGUIText (const char *buttonString, Common::Rect *clipRect, int textXPos, int textYPos, int textColor, bool centerFlag) |
|
void | getSliderString (int stringId, int value, char *sliderString, int size) |
|
virtual int | getMusicVolume () |
|
virtual int | getSpeechVolume () |
|
virtual int | getSFXVolume () |
|
virtual void | setMusicVolume (int volume) |
|
virtual void | setSpeechVolume (int volume) |
|
virtual void | setSFXVolume (int volume) |
|
virtual void | toggleVoiceMode () |
|
virtual void | handleLoadDuringSmush () |
|
void | showMainMenu () |
|
void | setUpMainMenuControlsSegaCD () |
|
void | setUpMainMenuControlsIndy4Jap () |
|
void | drawMainMenuControls () |
|
void | drawMainMenuControlsSegaCD () |
|
void | updateMainMenuControls () |
|
void | updateMainMenuControlsSegaCD () |
|
void | drawMainMenuTitle (const char *title) |
|
bool | executeMainMenuOperation (int op, int mouseX, int mouseY, bool &hasLoadedState) |
|
bool | executeMainMenuOperationSegaCD (int op, int mouseX, int mouseY, bool &hasLoadedState) |
|
bool | shouldHighlightLabelAndWait (int clickedControl) |
|
void | fillSavegameLabels () |
|
bool | canWriteGame (int slotId) |
|
bool | userWriteLabelRoutine (Common::KeyState &ks, bool &leftMsClicked, bool &rightMsClicked) |
|
void | saveCursorPreMenu () |
|
void | restoreCursorPostMenu () |
|
void | saveSurfacesPreGUI () |
|
void | restoreSurfacesPostGUI () |
|
void | showDraftsInventory () |
|
void | setUpDraftsInventory () |
|
void | drawDraftsInventory () |
|
bool | saveState (Common::WriteStream *out, bool writeHeader=true) |
|
bool | saveState (int slot, bool compat, Common::String &fileName) |
|
bool | loadState (int slot, bool compat) |
|
bool | loadState (int slot, bool compat, Common::String &fileName) |
|
void | saveLoadWithSerializer (Common::Serializer &s) override |
|
void | saveResource (Common::Serializer &ser, ResType type, ResId idx) |
|
void | loadResource (Common::Serializer &ser, ResType type, ResId idx) |
|
void | loadResourceOLD (Common::Serializer &ser, ResType type, ResId idx) |
|
void | copyHeapSaveGameToFile (int slot, const char *saveName) |
|
bool | changeSavegameName (int slot, char *newName) |
|
virtual Common::SeekableReadStream * | openSaveFileForReading (int slot, bool compat, Common::String &fileName) |
|
virtual Common::SeekableWriteStream * | openSaveFileForWriting (int slot, bool compat, Common::String &fileName) |
|
Common::String | makeSavegameName (int slot, bool temporary) const |
|
int | getKeyState (int key) |
|
int | getActionState (ScummAction action) |
|
void | saveInfos (Common::WriteStream *file) |
|
void | executeOpcode (byte i) |
|
const char * | getOpcodeDesc (byte i) |
|
void | initializeLocals (int slot, int *vars) |
|
int | getScriptSlot () |
|
void | startScene (int room, Actor *a, int b) |
|
bool | startManiac () |
|
void | runObjectScript (int script, int entry, bool freezeResistant, bool recursive, int *vars, int slot=-1, int cycle=0) |
|
void | runScriptNested (int script) |
|
void | executeScript () |
|
void | updateScriptPtr () |
|
virtual void | runInventoryScript (int i) |
|
virtual void | runInventoryScriptEx (int i) |
|
virtual void | checkAndRunSentenceScript () |
|
void | runExitScript () |
|
void | runEntryScript () |
|
void | runQuitScript () |
|
void | runAllScripts () |
|
void | freezeScripts (int scr) |
|
void | unfreezeScripts () |
|
bool | isScriptInUse (int script) const |
|
bool | isRoomScriptRunning (int script) const |
|
bool | isScriptRunning (int script) const |
|
void | killAllScriptsExceptCurrent () |
|
void | killScriptsAndResources () |
|
void | decreaseScriptDelay (int amount) |
|
void | stopObjectCode () |
|
void | stopObjectScript (int script) |
|
void | getScriptBaseAddress () |
|
void | resetScriptPointer () |
|
int | getVerbEntrypoint (int obj, int entry) |
|
void | refreshScriptPointer () |
|
byte | fetchScriptByte () |
|
virtual uint | fetchScriptWord () |
|
virtual int | fetchScriptWordSigned () |
|
uint | fetchScriptDWord () |
|
int | fetchScriptDWordSigned () |
|
void | ignoreScriptWord () |
|
void | ignoreScriptByte () |
|
void | push (int a) |
|
int | pop () |
|
virtual int | readVar (uint var) |
|
virtual void | writeVar (uint var, int value) |
|
virtual void | resetSentence () |
|
virtual void | beginCutscene (int *args) |
|
virtual void | endCutscene () |
|
void | abortCutscene () |
|
void | beginOverride () |
|
void | endOverride () |
|
void | copyScriptString (byte *dst) |
|
int | resStrLen (const byte *src) |
|
void | doSentence (int c, int b, int a) |
|
virtual void | allocateArrays () |
|
void | openRoom (int room) |
|
void | closeRoom () |
|
void | deleteRoomOffsets () |
|
virtual void | readRoomsOffsets () |
|
void | askForDisk (const Common::Path &filename, int disknum) |
|
bool | openResourceFile (const Common::Path &filename, byte encByte) |
|
void | loadPtrToResource (ResType type, ResId idx, const byte *ptr) |
|
virtual int | readResTypeList (ResType type) |
|
int | loadResource (ResType type, ResId idx) |
|
int | getResourceRoomNr (ResType type, ResId idx) |
|
virtual uint32 | getResourceRoomOffset (ResType type, ResId idx) |
|
int | readSoundResource (ResId idx) |
|
int | readSoundResourceSmallHeader (ResId idx) |
|
bool | isResourceInUse (ResType type, ResId idx) const |
|
virtual void | setupRoomSubBlocks () |
|
virtual void | resetRoomSubBlocks () |
|
virtual void | clearRoomObjects () |
|
virtual void | resetRoomObjects () |
|
virtual void | resetRoomObject (ObjectData *od, const byte *room, const byte *searchptr=NULL) |
|
virtual void | readGlobalObjects () |
|
virtual void | readIndexFile () |
|
virtual void | readIndexBlock (uint32 block, uint32 itemsize) |
|
virtual void | loadCharset (int i) |
|
void | nukeCharset (int i) |
|
void | markObjectRectAsDirty (int obj) |
|
virtual void | loadFlObject (uint object, uint room) |
|
void | nukeFlObjects (int min, int max) |
|
int | findFlObjectSlot () |
|
int | findLocalObjectSlot () |
|
void | addObjectToInventory (uint obj, uint room) |
|
void | updateObjectStates () |
|
void | putClass (int obj, int cls, bool set) |
|
int | getState (int obj) |
|
void | putState (int obj, int state) |
|
void | setObjectState (int obj, int state, int x, int y) |
|
int | getOwner (int obj) const |
|
void | putOwner (int obj, int owner) |
|
void | setOwnerOf (int obj, int owner) |
|
void | clearOwnerOf (int obj) |
|
int | getObjectRoom (int obj) const |
|
virtual bool | objIsActor (int obj) |
|
virtual int | objToActor (int obj) |
|
virtual int | actorToObj (int actor) |
|
int | getObjX (int obj) |
|
int | getObjY (int obj) |
|
void | getObjectWidth (int object, int &width) |
|
void | getObjectXYPos (int object, int &x, int &y) |
|
void | getObjectXYPos (int object, int &x, int &y, int &dir) |
|
void | getObjectXYPos (int object, int &x, int &y, int &dir, int &width) |
|
int | getObjOldDir (int obj) |
|
int | getObjNewDir (int obj) |
|
int | getObjectIndex (int object) const |
|
int | getObjectImageCount (int object) |
|
int | whereIsObject (int object) const |
|
int | findObject (int x, int y) |
|
void | findObjectInRoom (FindObjectInRoom *fo, byte findWhat, uint object, uint room) |
|
int | getObjActToObjActDist (int a, int b) |
|
const byte * | getObjOrActorName (int obj) |
|
void | setObjectName (int obj) |
|
void | addObjectToDrawQue (int object) |
|
void | removeObjectFromDrawQue (int object) |
|
void | clearDrawObjectQueue () |
|
void | processDrawQue () |
|
uint32 | getOBCDOffs (int object) const |
|
byte * | getOBCDFromObject (int obj, bool v0CheckInventory=true) |
|
const byte * | getOBIMFromObjectData (const ObjectData &od) |
|
const byte * | getObjectImage (const byte *ptr, int state) |
|
virtual int | getObjectIdFromOBIM (const byte *obim) |
|
virtual void | handleMouseOver (bool updateInventory) |
|
virtual void | redrawVerbs () |
|
virtual void | checkExecVerbs () |
|
void | verbMouseOver (int verb) |
|
int | findVerbAtPos (int x, int y) const |
|
virtual void | drawVerb (int verb, int mode) |
|
virtual void | runInputScript (int clickArea, int val, int mode) |
|
void | restoreVerbBG (int verb) |
|
void | drawVerbBitmap (int verb, int x, int y) |
|
int | getVerbSlot (int id, int mode) const |
|
void | killVerb (int slot) |
|
void | setVerbObject (uint room, uint object, uint verb) |
|
void | walkActors () |
|
void | playActorSounds () |
|
void | redrawAllActors () |
|
virtual void | setActorRedrawFlags () |
|
void | putActors () |
|
void | showActors () |
|
void | resetV1ActorTalkColor () |
|
virtual void | resetActorBgs () |
|
void | processUpperActors () |
|
virtual int | getActorFromPos (int x, int y) |
|
virtual void | setBuiltinCursor (int index) |
|
void | initScreens (int b, int h) |
|
void | initVirtScreen (VirtScreenNumber slot, int top, int width, int height, bool twobufs, bool scrollable) |
|
void | initBGBuffers (int height) |
|
void | initCycl (const byte *ptr) |
|
void | decodeNESBaseTiles () |
|
void | drawObject (int obj, int scrollType) |
|
void | drawRoomObjects (int arg) |
|
void | drawRoomObject (int i, int arg) |
|
void | drawBox (int x, int y, int x2, int y2, int color) |
|
void | drawLine (int x1, int y1, int x2, int y2, int color) |
|
void | drawPixel (VirtScreen *vs, int x, int y, int16 color, bool useBackbuffer=false) |
|
void | moveScreen (int dx, int dy, int height) |
|
void | restoreBackground (Common::Rect rect, byte backcolor=0) |
|
void | redrawBGStrip (int start, int num) |
|
virtual void | redrawBGAreas () |
|
void | cameraMoved () |
|
void | setCameraAtEx (int at) |
|
virtual void | setCameraAt (int pos_x, int pos_y) |
|
virtual void | setCameraFollows (Actor *a, bool setCamera=false) |
|
virtual void | moveCamera () |
|
virtual void | panCameraTo (int x, int y) |
|
void | clampCameraPos (Common::Point *pt) |
|
void | actorFollowCamera (int act) |
|
const byte * | getPalettePtr (int palindex, int room) |
|
void | setPaletteFromTable (const byte *ptr, int numcolor, int firstIndex=0) |
|
void | resetPalette () |
|
void | setCurrentPalette (int pal) |
|
void | setRoomPalette (int pal, int room) |
|
void | setPCEPaletteFromPtr (const byte *ptr) |
|
void | setAmigaPaletteFromPtr (const byte *ptr) |
|
virtual void | setPaletteFromPtr (const byte *ptr, int numcolor=-1) |
|
void | setV1ColorTable (int renderMode) |
|
virtual void | setPalColor (int index, int r, int g, int b) |
|
void | setDirtyColors (int min, int max) |
|
const byte * | findPalInPals (const byte *pal, int index) |
|
void | swapPalColors (int a, int b) |
|
virtual void | copyPalColor (int dst, int src) |
|
void | cyclePalette () |
|
void | stopCycle (int i) |
|
void | palManipulate () |
|
uint32 | findClosestPaletteColor (byte *palette, int paletteLength, byte r, byte g, byte b) |
|
void | applyGrayscaleToPaletteRange (int min, int max) |
|
bool | haveToApplyMonkey1PaletteFix () |
|
void | moveMemInPalRes (int start, int end, byte direction) |
|
void | setShadowPalette (int slot, int redScale, int greenScale, int blueScale, int startColor, int endColor) |
|
void | setShadowPalette (int redScale, int greenScale, int blueScale, int startColor, int endColor, int start, int end) |
|
virtual void | darkenPalette (int redScale, int greenScale, int blueScale, int startColor, int endColor) |
|
void | updateDirtyScreen (VirtScreenNumber slot) |
|
void | drawStripToScreen (VirtScreen *vs, int x, int width, int top, int bottom) |
|
void | mac_markScreenAsDirty (int x, int y, int w, int h) |
|
void | mac_drawStripToScreen (VirtScreen *vs, int top, int x, int y, int width, int height) |
|
void | mac_drawIndy3TextBox () |
|
void | mac_undrawIndy3TextBox () |
|
void | mac_undrawIndy3CreditsText () |
|
void | mac_drawBufferToScreen (const byte *buffer, int pitch, int x, int y, int width, int height, bool epxRectangleExpansion=true) |
|
void | mac_updateCompositeBuffer (const byte *buffer, int pitch, int x, int y, int width, int height) |
|
void | mac_blitDoubleResImage (const byte *buffer, int pitch, int x, int y, int width, int height) |
|
void | mac_applyDoubleResToBuffer (const byte *inputBuffer, byte *outputBuffer, int width, int height, int inputPitch, int outputPitch) |
|
void | mac_blitEPXImage (const byte *buffer, int pitch, int x, int y, int width, int height, bool epxRectangleExpansion=true) |
|
void | mac_applyEPXToBuffer (const byte *inputBuffer, byte *outputBuffer, int width, int height, int inputPitch, int outputPitch, int xOffset, int yOffset, int bufferWidth, int bufferHeight) |
|
void | mac_scaleCursor (byte *&outCursor, int &outHotspotX, int &outHotspotY, int &outWidth, int &outHeight) |
|
void | mac_toggleSmoothing () |
|
Common::KeyState | mac_showOldStyleBannerAndPause (const char *msg, int32 waitTime) |
|
const byte * | postProcessDOSGraphics (VirtScreen *vs, int &pitch, int &x, int &y, int &width, int &height) const |
|
const byte * | ditherVGAtoEGA (int &pitch, int &x, int &y, int &width, int &height) const |
|
void | fadeIn (int effect) |
|
void | fadeOut (int effect) |
|
void | dissolveEffectSelector () |
|
void | transitionEffect (int a) |
|
void | dissolveEffect (int width, int height) |
|
void | scrollEffect (int dir) |
|
void | updateScreenShakeEffect () |
|
void | setShake (int mode) |
|
void | upgradeGfxUsageBits () |
|
void | setGfxUsageBit (int strip, int bit) |
|
void | clearGfxUsageBit (int strip, int bit) |
|
bool | testGfxUsageBit (int strip, int bit) |
|
bool | testGfxAnyUsageBits (int strip) |
|
bool | testGfxObjectUsageBits (int strip) |
|
bool | testGfxOtherUsageBits (int strip, int bit) |
|
void | amigaPaletteFindFirstUsedColor () |
|
void | mapRoomPalette (int idx) |
|
int | remapRoomPaletteColor (int r, int g, int b) |
|
void | mapVerbPalette (int idx) |
|
int | remapVerbPaletteColor (int r, int g, int b) |
|
void | setScaleSlot (int slot, int x1, int y1, int scale1, int x2, int y2, int scale2) |
|
void | setBoxScaleSlot (int box, int slot) |
|
void | convertScaleTableToScaleSlot (int slot) |
|
void | calcItineraryMatrix (byte *itineraryMatrix, int num) |
|
void | createBoxMatrix () |
|
virtual bool | areBoxesNeighbors (int i, int j) |
|
void | restoreCharsetBg () |
|
void | clearCharsetMask () |
|
void | clearTextSurface () |
|
virtual void | initCharset (int charset) |
|
virtual void | printString (int m, const byte *msg) |
|
virtual bool | handleNextCharsetCode (Actor *a, int *c) |
|
virtual void | drawSentence () |
|
virtual void | displayDialog () |
|
bool | newLine () |
|
void | drawString (int a, const byte *msg) |
|
virtual void | fakeBidiString (byte *ltext, bool ignoreVerb, int ltextSize) const |
|
void | wrapSegaCDText () |
|
void | debugMessage (const byte *msg) |
|
virtual void | showMessageDialog (const byte *msg) |
|
virtual int | convertMessageToString (const byte *msg, byte *dst, int dstSize) |
|
int | convertIntMessage (byte *dst, int dstSize, int var) |
|
int | convertVerbMessage (byte *dst, int dstSize, int var) |
|
int | convertNameMessage (byte *dst, int dstSize, int var) |
|
int | convertStringMessage (byte *dst, int dstSize, int var) |
|
void | towns_drawStripToScreen (VirtScreen *vs, int dstX, int dstY, int srcX, int srcY, int w, int h) |
|
void | towns_fillTopLayerRect (int x1, int y1, int x2, int y2, int col) |
|
void | towns_swapVirtScreenArea (VirtScreen *vs, int x, int y, int w, int h) |
|
void | towns_clearStrip (int strip) |
|
void | towns_setupPalCycleField (int x1, int y1, int x2, int y2) |
|
void | towns_processPalCycleField () |
|
void | towns_resetPalCycleFields () |
|
void | towns_restoreCharsetBg () |
|
void | towns_scriptScrollEffect (int dir) |
|
void | requestScroll (int dir) |
|
void | scrollLeft () |
|
void | scrollRight () |
|
void | towns_waitForScroll (int waitForDirection, int threshold=0) |
|
void | towns_updateGfx () |
|
virtual int | runDialog (GUI::Dialog &dialog) |
|
void | defaultSyncSoundSettings () |
|