ScummVM
Kyra::KyraEngine_MR Class Reference

#include <kyra_mr.h>

Inheritance diagram for Kyra::KyraEngine_MR:
Collaboration diagram for Kyra::KyraEngine_MR:

Classes

struct  Album
 
struct  SceneShapeDesc
 
struct  ShapeDesc
 
struct  TalkObject
 

Public Member Functions

 KyraEngine_MR (OSystem *system, const GameFlags &flags)
 
 ~KyraEngine_MR ()
 
Screenscreen ()
 
Screen_v2screen_v2 () const
 
GUIgui () const
 
SoundDigital_MRsoundDigital ()
 
int language () const
 
bool heliumMode () const
 
Common::Error go ()
 
void playVQA (const char *name)
 
- Public Member Functions inherited from Kyra::KyraEngine_v2
 KyraEngine_v2 (OSystem *system, const GameFlags &flags, const EngineDesc &desc)
 
 ~KyraEngine_v2 ()
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 
void delay (uint32 time, bool update=false, bool isMainLoop=false)
 
const EngineDescengineDesc () const
 
- Public Member Functions inherited from Kyra::KyraEngine_v1
 KyraEngine_v1 (OSystem *system, const GameFlags &flags)
 
virtual ~KyraEngine_v1 ()
 
uint8 game () const
 
const GameFlagsgameFlags () const
 
Resourceresource ()
 
virtual TextDisplayertext ()
 
Soundsound ()
 
StaticResourcestaticres ()
 
TimerManagertimer ()
 
uint32 tickLength () const
 
void setMousePos (int x, int y)
 
Common::Point getMousePos ()
 
bool speechEnabled ()
 
bool textEnabled ()
 
void setVolume (kVolumeEntry vol, uint8 value)
 
uint8 getVolume (kVolumeEntry vol)
 
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...
 
int setGameFlag (int flag)
 
int queryGameFlag (int flag) const
 
int resetGameFlag (int flag)
 
virtual void snd_playTheme (int file, int track)
 
virtual void delayUntil (uint32 timestamp, bool updateGameTimers=false, bool update=false, bool isMainLoop=false)
 
virtual void delayWithTicks (int ticks)
 
- 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...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 

Private Member Functions

void registerDefaultSettings ()
 
void writeSettings ()
 
void readSettings ()
 
void initStaticResource ()
 
Common::Error init ()
 
void preinit ()
 
void startup ()
 
void runStartupScript (int script, int unk1)
 
void setupOpcodeTable ()
 
bool skipFlag () const
 
void resetSkipFlag (bool removeEvent=true)
 
void runLoop ()
 
void handleInput (int x, int y)
 
int inputSceneChange (int x, int y, int unk1, int unk2)
 
void update ()
 
void updateWithText ()
 
void updateMouse ()
 
void playMenuAudioFile ()
 
void snd_playWanderScoreViaMap (int track, int force)
 
void stopMusicTrack ()
 
void fadeOutMusic (int ticks)
 
void snd_playSoundEffect (int item, int volume)
 
void playVoice (int high, int low)
 
void snd_playVoiceFile (int file)
 
bool snd_voiceIsPlaying ()
 
void snd_stopVoice ()
 
void playStudioSFX (const char *str)
 
void initMainButtonList (bool disable)
 
int buttonInventory (Button *button)
 
int buttonMoodChange (Button *button)
 
int buttonShowScore (Button *button)
 
int buttonJesterStaff (Button *button)
 
void loadButtonShapes ()
 
int callbackButton1 (Button *button)
 
int callbackButton2 (Button *button)
 
int callbackButton3 (Button *button)
 
void initMainMenu ()
 
void uninitMainMenu ()
 
void setupTimers ()
 
void setWalkspeed (uint8)
 
void setCommandLineRestoreTimer (int secs)
 
void timerRestoreCommandLine (int arg)
 
void timerRunSceneScript7 (int arg)
 
void timerFleaDeath (int arg)
 
void setNextIdleAnimTimer ()
 
bool lineIsPassable (int x, int y)
 
void restorePage3 ()
 
void clearAnimObjects ()
 
void animSetupPaletteEntry (AnimObj *anim)
 
void drawAnimObjects ()
 
void drawSceneAnimObject (AnimObj *obj, int x, int y, int drawLayer)
 
void drawCharacterAnimObject (AnimObj *obj, int x, int y, int drawLayer)
 
void refreshAnimObjects (int force)
 
void updateItemAnimations ()
 
void updateCharacterAnim (int charId)
 
void updateSceneAnim (int anim, int newFrame)
 
void setupSceneAnimObject (int anim, uint16 flags, int x, int y, int x2, int y2, int w, int h, int unk10, int specialSize, int unk14, int shape, const char *filename)
 
void removeSceneAnimObject (int anim, int refresh)
 
void setCharacterAnimDim (int w, int h)
 
void resetCharacterAnimDim ()
 
void showIdleAnim ()
 
void loadInterfaceShapes ()
 
void loadInterface ()
 
void showMessage (const char *string, uint8 c0, uint8 c1)
 
void showMessageFromCCode (int string, uint8 c0, int)
 
void updateItemCommand (Item item, int str, uint8 c0)
 
void updateCommandLine ()
 
void restoreCommandLine ()
 
void updateCLState ()
 
void showInventory ()
 
void hideInventory ()
 
void drawMalcolmsMoodText ()
 
void drawMalcolmsMoodPointer (int frame, int page)
 
void drawJestersStaff (int type, int page)
 
void drawScore (int page, int x, int y)
 
void drawScoreCounting (int oldScore, int newScore, int drawOld, const int x)
 
int getScoreX (const char *str)
 
void redrawInventory (int page)
 
void clearInventorySlot (int slot, int page)
 
void drawInventorySlot (int page, Item item, int slot)
 
uint8getTableEntry (uint8 *buffer, int id)
 
void getTableEntry (Common::SeekableReadStream *stream, int id, char *dst)
 
void removeTrashItems ()
 
void initItems ()
 
int checkItemCollision (int x, int y)
 
bool dropItem (int unk1, Item item, int x, int y, int unk2)
 
bool processItemDrop (uint16 sceneId, Item item, int x, int y, int unk1, int unk2)
 
void itemDropDown (int startX, int startY, int dstX, int dstY, int itemSlot, Item item, int remove)
 
void exchangeMouseItem (int itemPos, int runScript)
 
bool pickUpItem (int x, int y, int runScript)
 
bool isDropable (int x, int y)
 
bool itemListMagic (Item handItem, int itemSlot)
 
bool itemInventoryMagic (Item handItem, int invSlot)
 
int getItemCommandStringPickUp (uint16 item)
 
int getItemCommandStringDrop (uint16 item)
 
int getItemCommandStringInv (uint16 item)
 
void setItemMouseCursor ()
 
void setMouseCursor (Item item)
 
void initMouseShapes ()
 
void loadCharacterShapes (int newShapes)
 
void updateMalcolmShapes ()
 
void freeSceneShapes ()
 
void openTalkFile (int file)
 
void enterNewScene (uint16 scene, int facing, int unk1, int unk2, int unk3)
 
void enterNewSceneUnk1 (int facing, int unk1, int unk2)
 
void enterNewSceneUnk2 (int unk1)
 
void unloadScene ()
 
void loadScenePal ()
 
void loadSceneMsc ()
 
void initSceneScript (int unk1)
 
void initSceneAnims (int unk1)
 
void initSceneScreen (int unk1)
 
int runSceneScript1 (int x, int y)
 
int runSceneScript2 ()
 
void runSceneScript4 (int unk1)
 
void runSceneScript8 ()
 
int trySceneChange (int *moveTable, int unk1, int unk2)
 
int checkSceneChange ()
 
int getDrawLayer (int x, int y)
 
int getScale (int x, int y)
 
int getCharacterWalkspeed () const
 
void updateCharAnimFrame (int *table)
 
void updateCharPal (int unk1)
 
bool checkCharCollision (int x, int y)
 
void makeCharFacingMouse ()
 
int findFreeInventorySlot ()
 
bool talkObjectsInCurScene ()
 
int chatGetType (const char *text)
 
int chatCalcDuration (const char *text)
 
void objectChat (const char *text, int object, int vocHigh, int vocLow)
 
void objectChatInit (const char *text, int object, int vocHigh, int vocLow)
 
void objectChatPrintText (const char *text, int object)
 
void objectChatProcess (const char *script)
 
void objectChatWaitToFinish ()
 
void badConscienceChat (const char *str, int vocHigh, int vocLow)
 
void badConscienceChatWaitToFinish ()
 
void goodConscienceChat (const char *str, int vocHigh, int vocLow)
 
void goodConscienceChatWaitToFinish ()
 
void albumChat (const char *str, int vocHigh, int vocLow)
 
void albumChatInit (const char *str, int object, int vocHigh, int vocLow)
 
void albumChatWaitToFinish ()
 
void malcolmSceneStartupChat ()
 
void setDlgIndex (int index)
 
void updateDlgIndex ()
 
void updateDlgBuffer ()
 
void loadDlgHeader (int &vocHighBase, int &vocHighIndex, int &index1, int &index2)
 
void processDialog (int vocHighIndex, int vocHighBase, int funcNum)
 
void dialogStartScript (int object, int funcNum)
 
void dialogEndScript (int object)
 
void npcChatSequence (const char *str, int object, int vocHigh, int vocLow)
 
int o3d_updateAnim (EMCState *script)
 
int o3d_delay (EMCState *script)
 
void randomSceneChat ()
 
void doDialog (int dlgIndex, int funcNum)
 
void showBadConscience ()
 
void hideBadConscience ()
 
void showGoodConscience ()
 
void hideGoodConscience ()
 
int o3a_setCharacterFrame (EMCState *script)
 
int o3a_playSoundEffect (EMCState *script)
 
int initAnimationShapes (uint8 *filedata)
 
void uninitAnimationShapes (int count, uint8 *filedata)
 
void changeChapter (int newChapter, int sceneId, int malcolmShapes, int facing)
 
void loadCostPal ()
 
void loadShadowShape ()
 
void loadExtrasShapes ()
 
void backUpGfxRect32x32 (int x, int y)
 
void restoreGfxRect32x32 (int x, int y)
 
bool updateScore (int scoreId, int strId)
 
void scoreIncrease (int count, const char *str)
 
void eelScript ()
 
void showAlbum ()
 
void loadAlbumPage ()
 
void loadAlbumPageWSA ()
 
void printAlbumPageText ()
 
void printAlbumText (int page, const char *str, int x, int y, uint8 c0)
 
void processAlbum ()
 
void albumNewPage ()
 
void albumUpdateAnims ()
 
void albumAnim1 ()
 
void albumAnim2 ()
 
void albumBackUpRect ()
 
void albumRestoreRect ()
 
void albumUpdateRect ()
 
void albumSwitchPages (int oldPage, int newPage, int srcPage)
 
int albumNextPage (Button *caller)
 
int albumPrevPage (Button *caller)
 
int albumClose (Button *caller)
 
Common::Error saveGameStateIntern (int slot, const char *saveName, const Graphics::Surface *thumbnail)
 
Common::Error loadGameState (int slot)
 Load a game state. More...
 
int o3_getMalcolmShapes (EMCState *script)
 
int o3_setCharacterPos (EMCState *script)
 
int o3_defineObject (EMCState *script)
 
int o3_refreshCharacter (EMCState *script)
 
int o3_getMalcolmsMood (EMCState *script)
 
int o3_getCharacterFrameFromFacing (EMCState *script)
 
int o3_setCharacterFacing (EMCState *script)
 
int o3_showSceneFileMessage (EMCState *script)
 
int o3_setCharacterAnimFrameFromFacing (EMCState *script)
 
int o3_showBadConscience (EMCState *script)
 
int o3_hideBadConscience (EMCState *script)
 
int o3_showAlbum (EMCState *script)
 
int o3_setInventorySlot (EMCState *script)
 
int o3_getInventorySlot (EMCState *script)
 
int o3_addItemToInventory (EMCState *script)
 
int o3_addItemToCurScene (EMCState *script)
 
int o3_objectChat (EMCState *script)
 
int o3_resetInventory (EMCState *script)
 
int o3_removeInventoryItemInstances (EMCState *script)
 
int o3_countInventoryItemInstances (EMCState *script)
 
int o3_npcChatSequence (EMCState *script)
 
int o3_badConscienceChat (EMCState *script)
 
int o3_wipeDownMouseItem (EMCState *script)
 
int o3_setMalcolmsMood (EMCState *script)
 
int o3_updateScore (EMCState *script)
 
int o3_makeSecondChanceSave (EMCState *script)
 
int o3_setSceneFilename (EMCState *script)
 
int o3_removeItemsFromScene (EMCState *script)
 
int o3_disguiseMalcolm (EMCState *script)
 
int o3_drawSceneShape (EMCState *script)
 
int o3_drawSceneShapeOnPage (EMCState *script)
 
int o3_checkInRect (EMCState *script)
 
int o3_updateConversations (EMCState *script)
 
int o3_removeItemSlot (EMCState *script)
 
int o3_setSceneDim (EMCState *script)
 
int o3_setSceneAnimPosAndFrame (EMCState *script)
 
int o3_removeItemInstances (EMCState *script)
 
int o3_disableInventory (EMCState *script)
 
int o3_enableInventory (EMCState *script)
 
int o3_enterNewScene (EMCState *script)
 
int o3_switchScene (EMCState *script)
 
int o3_setMalcolmPos (EMCState *script)
 
int o3_stopMusic (EMCState *script)
 
int o3_playSoundEffect (EMCState *script)
 
int o3_getScore (EMCState *script)
 
int o3_daggerWarning (EMCState *script)
 
int o3_blockOutWalkableRegion (EMCState *script)
 
int o3_showSceneStringsMessage (EMCState *script)
 
int o3_showGoodConscience (EMCState *script)
 
int o3_goodConscienceChat (EMCState *script)
 
int o3_hideGoodConscience (EMCState *script)
 
int o3_defineSceneAnim (EMCState *script)
 
int o3_updateSceneAnim (EMCState *script)
 
int o3_runActorScript (EMCState *script)
 
int o3_doDialog (EMCState *script)
 
int o3_setConversationState (EMCState *script)
 
int o3_getConversationState (EMCState *script)
 
int o3_changeChapter (EMCState *script)
 
int o3_countItemInstances (EMCState *script)
 
int o3_dialogStartScript (EMCState *script)
 
int o3_dialogEndScript (EMCState *script)
 
int o3_customChat (EMCState *script)
 
int o3_customChatFinish (EMCState *script)
 
int o3_setupSceneAnimObject (EMCState *script)
 
int o3_removeSceneAnimObject (EMCState *script)
 
int o3_dummy (EMCState *script)
 
int loadLanguageFile (const char *file, uint8 *&buffer)
 

Private Attributes

bool _configStudio
 
bool _configSkip
 
bool _configHelium
 
int _configVQAQuality
 
Screen_MR_screen
 
SoundDigital_MR_soundDigital
 
bool _menuDirectlyToLoad
 
int _musicSoundChannel
 
int _fadeOutMusicChannel
 
const char * _menuAudioFile
 
const char *const * _soundList
 
int _soundListSize
 
const uint8_sfxFileMap
 
int _sfxFileMapSize
 
const char *const * _sfxFileList
 
int _sfxFileListSize
 
int _voiceSoundChannel
 
int _curStudioSFX
 
GUI_MR_gui
 
Button_mainButtonData
 
Button_mainButtonList
 
bool _mainButtonListInitialized
 
bool _enableInventory
 
MainMenu_menu
 
WSAMovie_v2_menuAnim
 
uint32 _nextIdleAnim
 
const char *const * _mainMenuStrings
 
int _mainMenuStringsSize
 
uint8_gamePlayBuffer
 
bool _loadingState
 
int _charBackUpWidth2
 
int _charBackUpHeight2
 
int _charBackUpWidth
 
int _charBackUpHeight
 
bool _nextIdleType
 
const ItemAnimDefinition_itemAnimDefinition
 
ActiveItemAnim _activeItemAnim [10]
 
int _nextAnimItem
 
uint8_interface
 
uint8_interfaceCommandLine
 
int _commandLineY
 
const char * _shownMessage
 
bool _restoreCommandLine
 
bool _inventoryState
 
int _inventoryScrollSpeed
 
WSAMovie_v2_invWsa
 
int _invWsaFrame
 
uint8_scoreFile
 
uint8_cCodeFile
 
uint8_scenesFile
 
uint8_itemFile
 
uint8_optionsFile
 
uint8_actorFile
 
uint32 _actorFileSize
 
uint8_sceneStrings
 
int8_itemBuffer1
 
int8_itemBuffer2
 
const uint8_itemMagicTable
 
const uint8_itemStringMap
 
int _itemStringMapSize
 
int _malcolmShapeXOffset
 
int _malcolmShapeYOffset
 
uint8_sceneShapes [20]
 
int _currentTalkFile
 
bool _noScriptEnter
 
int _enterNewSceneLock
 
bool _noStartupChat
 
int _sceneMinX
 
int _sceneMaxX
 
int _maskPageMinY
 
int _maskPageMaxY
 
int8 _sceneDatPalette [45]
 
int8 _sceneDatLayerTable [15]
 
SceneShapeDesc _sceneShapeDescs [20]
 
int _scaleTable [15]
 
int8 _characterAnimTable [2]
 
int _lastCharPalLayer
 
bool _charPalUpdate
 
int _malcolmsMood
 
TalkObject_talkObjectList
 
bool _albumChatActive
 
byte _newSceneDlgState [40]
 
int8 _conversationState [30][30]
 
bool _chatAltFlag
 
Common::SeekableReadStream_cnvFile
 
Common::SeekableReadStream_dlgBuffer
 
int _curDlgChapter
 
int _curDlgIndex
 
int _curDlgLang
 
bool _isStartupDialog
 
EMCData _dialogScriptData
 
EMCState _dialogScriptState
 
int _dialogSceneAnim
 
int _dialogSceneScript
 
int _dialogScriptFuncStart
 
int _dialogScriptFuncProc
 
int _dialogScriptFuncEnd
 
Common::Array< const Opcode * > _opcodesDialog
 
bool _badConscienceShown
 
int _badConscienceAnim
 
bool _badConsciencePosition
 
bool _goodConscienceShown
 
int _goodConscienceAnim
 
bool _goodConsciencePosition
 
bool _useFrameTable
 
uint8_costPalBuffer
 
uint8_paletteOverlay
 
bool _useActorBuffer
 
int _currentChapter
 
uint8_gfxBackUpRect
 
char * _stringBuffer
 
int _score
 
int _scoreMax
 
const uint8_scoreTable
 
int _scoreTableSize
 
int8 _scoreFlagTable [26]
 
struct Kyra::KyraEngine_MR::Album _album
 
TextDisplayer_MR_text
 
bool _wasPlayingVQA
 

Static Private Attributes

static const EngineDesc _mrEngineDesc
 
static const char *const _mainMenuSpanishFan []
 
static const char *const _mainMenuItalianFan []
 
static const uint8 _inventoryX []
 
static const uint8 _inventoryY []
 
static const Item _trashItemList []
 
static const uint8 _itemStringPickUp []
 
static const uint8 _itemStringDrop []
 
static const uint8 _itemStringInv []
 
static const ShapeDesc _shapeDescs []
 
static const int _shapeDescsSize = ARRAYSIZE(KyraEngine_MR::_shapeDescs)
 
static const uint8 _characterFrameTable []
 
static const uint8 _vocHighTable []
 
static const uint8 _badConscienceFrameTable []
 
static const uint8 _goodConscienceFrameTable []
 
static const uint8 _chapterLowestScene []
 
static const int8 _albumWSAX []
 
static const int8 _albumWSAY []
 
static const char *const _languageExtension []
 
static const int _languageExtensionSize = ARRAYSIZE(KyraEngine_MR::_languageExtension)
 

Friends

class TextDisplayer_MR
 
class GUI_MR
 

Additional Inherited Members

- Public Types inherited from Kyra::KyraEngine_v1
enum  kVolumeEntry { kVolumeMusic = 0, kVolumeSfx = 1, kVolumeSpeech = 2 }
 
- 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...
 
- Public Attributes inherited from Kyra::KyraEngine_v1
Common::RandomSource _rnd
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 
- Protected Types inherited from Kyra::KyraEngine_v2
typedef Common::HashMap< int, uint8 * > ShapeMap
 
- Protected Types inherited from Kyra::KyraEngine_v1
enum  ReadSaveHeaderError { kRSHENoError = 0, kRSHEInvalidType = 1, kRSHEInvalidVersion = 2, kRSHEIoError = 3 }
 
typedef Common::HashMap< Common::KeyCode, int16, KeyCodeHashKeyMap
 
- Protected Member Functions inherited from Kyra::KyraEngine_v2
void allocAnimObjects (int actors, int anims, int items)
 
AnimObjinitAnimList (AnimObj *list, AnimObj *entry)
 
AnimObjaddToAnimListSorted (AnimObj *list, AnimObj *entry)
 
AnimObjdeleteAnimListEntry (AnimObj *list, AnimObj *entry)
 
void refreshAnimObjectsIfNeed ()
 
void flagAnimObjsSpecialRefresh ()
 
void flagAnimObjsForRefresh ()
 
void addItemToAnimList (int item)
 
void deleteItemAnimEntry (int item)
 
bool checkSpecialSceneExit (int num, int x, int y)
 
void runSceneScript6 ()
 
void freeSceneAnims ()
 
void updateSpecialSceneScripts ()
 
void runAnimationScript (const char *filename, int allowSkip, int resetChar, int newShapes, int shapeUnload)
 
int o2a_setAnimationShapes (EMCState *script)
 
int o2a_setResetFrame (EMCState *script)
 
void processAnimationScript (int allowSkip, int resetChar)
 
uint8getShapePtr (int index) const
 
void addShapeToPool (const uint8 *data, int realIndex, int shape)
 
void addShapeToPool (uint8 *shpData, int index)
 
void remShapeFromPool (int idx)
 
int findWay (int curX, int curY, int dstX, int dstY, int *moveTable, int moveTableSize)
 
bool directLinePassable (int x, int y, int toX, int toY)
 
int pathfinderInitPositionTable (int *moveTable)
 
int pathfinderAddToPositionTable (int index, int v1, int v2)
 
int pathfinderInitPositionIndexTable (int tableLen, int x, int y)
 
int pathfinderAddToPositionIndexTable (int index, int v)
 
void pathfinderFinializePath (int *moveTable, int unk1, int x, int y, int moveTableSize)
 
void initItemList (int size)
 
int findFreeItem ()
 
int countAllItems ()
 
int findItem (uint16 sceneId, Item id)
 
int findItem (Item item)
 
void resetItemList ()
 
void resetItem (int index)
 
void setHandItem (Item item)
 
void removeHandItem ()
 
void moveCharacter (int facing, int x, int y)
 
int updateCharPos (int *table, int force=0)
 
void updateCharPosWithUpdate ()
 
int o2_getCharacterX (EMCState *script)
 
int o2_getCharacterY (EMCState *script)
 
int o2_getCharacterFacing (EMCState *script)
 
int o2_getCharacterScene (EMCState *script)
 
int o2_setCharacterFacingOverwrite (EMCState *script)
 
int o2_trySceneChange (EMCState *script)
 
int o2_moveCharacter (EMCState *script)
 
int o2_checkForItem (EMCState *script)
 
int o2_defineItem (EMCState *script)
 
int o2_addSpecialExit (EMCState *script)
 
int o2_delay (EMCState *script)
 
int o2_update (EMCState *script)
 
int o2_getShapeFlag1 (EMCState *script)
 
int o2_waitForConfirmationClick (EMCState *script)
 
int o2_randomSceneChat (EMCState *script)
 
int o2_setDlgIndex (EMCState *script)
 
int o2_getDlgIndex (EMCState *script)
 
int o2_defineRoomEntrance (EMCState *script)
 
int o2_runAnimationScript (EMCState *script)
 
int o2_setSpecialSceneScriptRunTime (EMCState *script)
 
int o2_defineScene (EMCState *script)
 
int o2_setSpecialSceneScriptState (EMCState *script)
 
int o2_clearSpecialSceneScriptState (EMCState *script)
 
int o2_querySpecialSceneScriptState (EMCState *script)
 
int o2_setHiddenItemsEntry (EMCState *script)
 
int o2_getHiddenItemsEntry (EMCState *script)
 
int o2_disableTimer (EMCState *script)
 
int o2_enableTimer (EMCState *script)
 
int o2_setTimerCountdown (EMCState *script)
 
int o2_setVocHigh (EMCState *script)
 
int o2_getVocHigh (EMCState *script)
 
- Protected Member Functions inherited from Kyra::KyraEngine_v1
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...
 
void setupKeyMap ()
 
void updateInput ()
 
int checkInput (Button *buttonList, bool mainLoop=false, int eventFlag=0x8000)
 
void removeInputTop ()
 
int o1_queryGameFlag (EMCState *script)
 
int o1_setGameFlag (EMCState *script)
 
int o1_resetGameFlag (EMCState *script)
 
int o1_getRand (EMCState *script)
 
int o1_hideMouse (EMCState *script)
 
int o1_showMouse (EMCState *script)
 
int o1_setMousePos (EMCState *script)
 
int o1_setHandItem (EMCState *script)
 
int o1_removeHandItem (EMCState *script)
 
int o1_getMouseState (EMCState *script)
 
int o1_setDeathHandler (EMCState *script)
 
int o1_playWanderScoreViaMap (EMCState *script)
 
int o1_fillRect (EMCState *script)
 
int o1_blockInWalkableRegion (EMCState *script)
 
int o1_blockOutWalkableRegion (EMCState *script)
 
int o1_playSoundEffect (EMCState *script)
 
virtual int convertVolumeToMixer (int value)
 
virtual int convertVolumeFromMixer (int value)
 
int findSubPath (int x, int y, int toX, int toY, int *moveTable, int start, int end)
 
int getFacingFromPointToPoint (int x, int y, int toX, int toY)
 
int getOppositeFacingDirection (int dir)
 
void changePosTowardsFacing (int &x, int &y, int facing)
 
int getMoveTableSize (int *moveTable)
 
void checkAutosave ()
 
bool canLoadGameStateCurrently ()
 Indicates whether a game state can be loaded. More...
 
bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 
const char * getSavegameFilename (int num)
 
bool saveFileLoadable (int slot)
 
void loadGameStateCheck (int slot)
 
Common::Error saveGameState (int slot, const Common::String &desc)
 Save a game state. More...
 
Common::SeekableReadStreamopenSaveForReading (const char *filename, SaveHeader &header, bool checkID=true)
 
Common::OutSaveFileopenSaveForWriting (const char *filename, const char *saveName, const Graphics::Surface *thumbnail) const
 
virtual Graphics::SurfacegenerateSaveThumbnail () 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...
 
- Static Protected Member Functions inherited from Kyra::KyraEngine_v1
static Common::String getSavegameFilename (const Common::String &target, int num)
 
static WARN_UNUSED_RESULT ReadSaveHeaderError readSaveHeader (Common::SeekableReadStream *file, SaveHeader &header, bool skipThumbnail=true)
 
- Protected Attributes inherited from Kyra::KyraEngine_v2
EngineDesc _desc
 
uint32 _pauseStart
 
bool _runFlag
 
bool _showOutro
 
int _lang
 
AnimObj_animObjects
 
AnimObj_animActor
 
AnimObj_animAnims
 
AnimObj_animItems
 
bool _drawNoShapeFlag
 
AnimObj_animList
 
uint8_screenBuffer
 
SceneDesc_sceneList
 
int _sceneListSize
 
uint16 _currentScene
 
uint16 _sceneExit1
 
uint16 _sceneExit2
 
uint16 _sceneExit3
 
uint16 _sceneExit4
 
int _sceneEnterX1
 
int _sceneEnterY1
 
int _sceneEnterX2
 
int _sceneEnterY2
 
int _sceneEnterX3
 
int _sceneEnterY3
 
int _sceneEnterX4
 
int _sceneEnterY4
 
int _specialExitCount
 
uint16 _specialExitTable [25]
 
bool _overwriteSceneFacing
 
EMCData _sceneScriptData
 
EMCState _sceneScriptState
 
SceneAnim _sceneAnims [16]
 
WSAMovie_v2_sceneAnimMovie [16]
 
bool _specialSceneScriptState [10]
 
bool _specialSceneScriptStateBackup [10]
 
EMCState _sceneSpecialScripts [10]
 
uint32 _sceneSpecialScriptsTimer [10]
 
int _lastProcessedSceneScript
 
bool _specialSceneScriptRunFlag
 
EMCData _animationScriptData
 
EMCState _animationScriptState
 
Common::Array< const Opcode * > _opcodesAnimation
 
char _animShapeFilename [14]
 
uint8_animShapeFiledata
 
int _animShapeCount
 
int _animShapeLastEntry
 
int _animNewFrame
 
int _animDelayTime
 
int _animResetFrame
 
int _animShapeWidth
 
int _animShapeHeight
 
int _animShapeXAdd
 
int _animShapeYAdd
 
bool _animNeedUpdate
 
ShapeMap _gameShapes
 
int _characterShapeFile
 
int _movFacingTable [600]
 
int _pathfinderFlag
 
bool _smoothingPath
 
int _pathfinderPositionTable [400]
 
int _pathfinderPositionIndexTable [200]
 
Item _hiddenItems [100]
 
ItemDefinition_itemList
 
int _itemListSize
 
int _itemInHand
 
int _savedMouseState
 
Character _mainCharacter
 
int _mainCharX
 
int _mainCharY
 
int _charScale
 
uint32 _updateCharPosNextUpdate
 
int _vocHigh
 
const char * _chatText
 
int _chatObject
 
uint32 _chatEndTime
 
int _chatVocHigh
 
int _chatVocLow
 
bool _chatTextEnabled
 
EMCData _chatScriptData
 
EMCState _chatScriptState
 
int _unk4
 
int _unk5
 
bool _unkSceneScreenFlag1
 
bool _unkHandleSceneChangeFlag
 
- Protected Attributes inherited from Kyra::KyraEngine_v1
Resource_res
 
Sound_sound
 
TextDisplayer_text
 
StaticResource_staticres
 
TimerManager_timer
 
EMCInterpreter_emc
 
Debugger_debugger
 
int _mouseX
 
int _mouseY
 
Common::List< Event_eventList
 
KeyMap _keyMap
 
uint8 _configWalkspeed
 
int _configMusic
 
bool _configSounds
 
uint8 _configVoice
 
Common::RenderMode _configRenderMode
 
uint16 _tickLength
 
uint16 _gameSpeed
 
int8 _deathHandler
 
GameFlags _flags
 
Common::Array< const Opcode * > _opcodes
 
int _mouseState
 
uint8 _flagsTable [100]
 
Audio::SoundHandle _speechHandle
 
int _curMusicTheme
 
int _curSfxFile
 
int16 _lastMusicCommand
 
const int8_trackMap
 
int _trackMapSize
 
int _gameToLoad
 
uint32 _lastAutosave
 
bool _isSaveAllowed
 
Common::String _savegameFilename
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 
- Static Protected Attributes inherited from Kyra::KyraEngine_v1
static const int8 _addXPosTable []
 
static const int8 _addYPosTable []
 
static const int8 _charAddXPosTable []
 
static const int8 _charAddYPosTable []
 

Detailed Description

Definition at line 43 of file kyra_mr.h.

Constructor & Destructor Documentation

◆ KyraEngine_MR()

Kyra::KyraEngine_MR::KyraEngine_MR ( OSystem system,
const GameFlags flags 
)

Definition at line 53 of file kyra_mr.cpp.

◆ ~KyraEngine_MR()

Kyra::KyraEngine_MR::~KyraEngine_MR ( )

Definition at line 150 of file kyra_mr.cpp.

Member Function Documentation

◆ albumAnim1()

void Kyra::KyraEngine_MR::albumAnim1 ( )
private

Definition at line 913 of file gui_mr.cpp.

◆ albumAnim2()

void Kyra::KyraEngine_MR::albumAnim2 ( )
private

Definition at line 927 of file gui_mr.cpp.

◆ albumBackUpRect()

void Kyra::KyraEngine_MR::albumBackUpRect ( )
private

Definition at line 940 of file gui_mr.cpp.

◆ albumChat()

void Kyra::KyraEngine_MR::albumChat ( const char *  str,
int  vocHigh,
int  vocLow 
)
private

Definition at line 478 of file text_mr.cpp.

◆ albumChatInit()

void Kyra::KyraEngine_MR::albumChatInit ( const char *  str,
int  object,
int  vocHigh,
int  vocLow 
)
private

Definition at line 497 of file text_mr.cpp.

◆ albumChatWaitToFinish()

void Kyra::KyraEngine_MR::albumChatWaitToFinish ( )
private

Definition at line 556 of file text_mr.cpp.

◆ albumClose()

int Kyra::KyraEngine_MR::albumClose ( Button caller)
private

Definition at line 1029 of file gui_mr.cpp.

◆ albumNewPage()

void Kyra::KyraEngine_MR::albumNewPage ( )
private

Definition at line 847 of file gui_mr.cpp.

◆ albumNextPage()

int Kyra::KyraEngine_MR::albumNextPage ( Button caller)
private

Definition at line 1011 of file gui_mr.cpp.

◆ albumPrevPage()

int Kyra::KyraEngine_MR::albumPrevPage ( Button caller)
private

Definition at line 1020 of file gui_mr.cpp.

◆ albumRestoreRect()

void Kyra::KyraEngine_MR::albumRestoreRect ( )
private

Definition at line 944 of file gui_mr.cpp.

◆ albumSwitchPages()

void Kyra::KyraEngine_MR::albumSwitchPages ( int  oldPage,
int  newPage,
int  srcPage 
)
private

Definition at line 953 of file gui_mr.cpp.

◆ albumUpdateAnims()

void Kyra::KyraEngine_MR::albumUpdateAnims ( )
private

Definition at line 871 of file gui_mr.cpp.

◆ albumUpdateRect()

void Kyra::KyraEngine_MR::albumUpdateRect ( )
private

Definition at line 948 of file gui_mr.cpp.

◆ animSetupPaletteEntry()

void Kyra::KyraEngine_MR::animSetupPaletteEntry ( AnimObj anim)
privatevirtual

Reimplemented from Kyra::KyraEngine_v2.

Definition at line 70 of file animator_mr.cpp.

◆ backUpGfxRect32x32()

void Kyra::KyraEngine_MR::backUpGfxRect32x32 ( int  x,
int  y 
)
private

Definition at line 1224 of file kyra_mr.cpp.

◆ badConscienceChat()

void Kyra::KyraEngine_MR::badConscienceChat ( const char *  str,
int  vocHigh,
int  vocLow 
)
private

Definition at line 366 of file text_mr.cpp.

◆ badConscienceChatWaitToFinish()

void Kyra::KyraEngine_MR::badConscienceChatWaitToFinish ( )
private

Definition at line 383 of file text_mr.cpp.

◆ buttonInventory()

int Kyra::KyraEngine_MR::buttonInventory ( Button button)
private

Definition at line 474 of file gui_mr.cpp.

◆ buttonJesterStaff()

int Kyra::KyraEngine_MR::buttonJesterStaff ( Button button)
private

Definition at line 611 of file gui_mr.cpp.

◆ buttonMoodChange()

int Kyra::KyraEngine_MR::buttonMoodChange ( Button button)
private

Definition at line 521 of file gui_mr.cpp.

◆ buttonShowScore()

int Kyra::KyraEngine_MR::buttonShowScore ( Button button)
private

Definition at line 588 of file gui_mr.cpp.

◆ callbackButton1()

int Kyra::KyraEngine_MR::callbackButton1 ( Button button)
private

Definition at line 60 of file gui_mr.cpp.

◆ callbackButton2()

int Kyra::KyraEngine_MR::callbackButton2 ( Button button)
private

Definition at line 75 of file gui_mr.cpp.

◆ callbackButton3()

int Kyra::KyraEngine_MR::callbackButton3 ( Button button)
private

Definition at line 90 of file gui_mr.cpp.

◆ changeChapter()

void Kyra::KyraEngine_MR::changeChapter ( int  newChapter,
int  sceneId,
int  malcolmShapes,
int  facing 
)
private

Definition at line 1342 of file kyra_mr.cpp.

◆ chatCalcDuration()

int Kyra::KyraEngine_MR::chatCalcDuration ( const char *  text)
private

Definition at line 189 of file text_mr.cpp.

◆ chatGetType()

int Kyra::KyraEngine_MR::chatGetType ( const char *  text)
private

Definition at line 169 of file text_mr.cpp.

◆ checkCharCollision()

bool Kyra::KyraEngine_MR::checkCharCollision ( int  x,
int  y 
)
private

Definition at line 869 of file kyra_mr.cpp.

◆ checkItemCollision()

int Kyra::KyraEngine_MR::checkItemCollision ( int  x,
int  y 
)
private

Definition at line 49 of file items_mr.cpp.

◆ checkSceneChange()

int Kyra::KyraEngine_MR::checkSceneChange ( )
private

Definition at line 650 of file scene_mr.cpp.

◆ clearAnimObjects()

void Kyra::KyraEngine_MR::clearAnimObjects ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 35 of file animator_mr.cpp.

◆ clearInventorySlot()

void Kyra::KyraEngine_MR::clearInventorySlot ( int  slot,
int  page 
)
private

Definition at line 454 of file gui_mr.cpp.

◆ dialogEndScript()

void Kyra::KyraEngine_MR::dialogEndScript ( int  object)
private

Definition at line 778 of file text_mr.cpp.

◆ dialogStartScript()

void Kyra::KyraEngine_MR::dialogStartScript ( int  object,
int  funcNum 
)
private

Definition at line 758 of file text_mr.cpp.

◆ doDialog()

void Kyra::KyraEngine_MR::doDialog ( int  dlgIndex,
int  funcNum 
)
private

Definition at line 849 of file text_mr.cpp.

◆ drawAnimObjects()

void Kyra::KyraEngine_MR::drawAnimObjects ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 81 of file animator_mr.cpp.

◆ drawCharacterAnimObject()

void Kyra::KyraEngine_MR::drawCharacterAnimObject ( AnimObj obj,
int  x,
int  y,
int  drawLayer 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 126 of file animator_mr.cpp.

◆ drawInventorySlot()

void Kyra::KyraEngine_MR::drawInventorySlot ( int  page,
Item  item,
int  slot 
)
private

Definition at line 464 of file gui_mr.cpp.

◆ drawJestersStaff()

void Kyra::KyraEngine_MR::drawJestersStaff ( int  type,
int  page 
)
private

Definition at line 355 of file gui_mr.cpp.

◆ drawMalcolmsMoodPointer()

void Kyra::KyraEngine_MR::drawMalcolmsMoodPointer ( int  frame,
int  page 
)
private

Definition at line 335 of file gui_mr.cpp.

◆ drawMalcolmsMoodText()

void Kyra::KyraEngine_MR::drawMalcolmsMoodText ( )
private

Definition at line 303 of file gui_mr.cpp.

◆ drawSceneAnimObject()

void Kyra::KyraEngine_MR::drawSceneAnimObject ( AnimObj obj,
int  x,
int  y,
int  drawLayer 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 104 of file animator_mr.cpp.

◆ drawScore()

void Kyra::KyraEngine_MR::drawScore ( int  page,
int  x,
int  y 
)
private

Definition at line 366 of file gui_mr.cpp.

◆ drawScoreCounting()

void Kyra::KyraEngine_MR::drawScoreCounting ( int  oldScore,
int  newScore,
int  drawOld,
const int  x 
)
private

Definition at line 383 of file gui_mr.cpp.

◆ dropItem()

bool Kyra::KyraEngine_MR::dropItem ( int  unk1,
Item  item,
int  x,
int  y,
int  unk2 
)
private

Definition at line 102 of file items_mr.cpp.

◆ eelScript()

void Kyra::KyraEngine_MR::eelScript ( )
private

Definition at line 179 of file sequences_mr.cpp.

◆ enterNewScene()

void Kyra::KyraEngine_MR::enterNewScene ( uint16  scene,
int  facing,
int  unk1,
int  unk2,
int  unk3 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 32 of file scene_mr.cpp.

◆ enterNewSceneUnk1()

void Kyra::KyraEngine_MR::enterNewSceneUnk1 ( int  facing,
int  unk1,
int  unk2 
)
private

Definition at line 167 of file scene_mr.cpp.

◆ enterNewSceneUnk2()

void Kyra::KyraEngine_MR::enterNewSceneUnk2 ( int  unk1)
private

Definition at line 263 of file scene_mr.cpp.

◆ exchangeMouseItem()

void Kyra::KyraEngine_MR::exchangeMouseItem ( int  itemPos,
int  runScript 
)
private

Definition at line 313 of file items_mr.cpp.

◆ fadeOutMusic()

void Kyra::KyraEngine_MR::fadeOutMusic ( int  ticks)
private

Definition at line 433 of file kyra_mr.cpp.

◆ findFreeInventorySlot()

int Kyra::KyraEngine_MR::findFreeInventorySlot ( )
private

Definition at line 41 of file items_mr.cpp.

◆ freeSceneShapes()

void Kyra::KyraEngine_MR::freeSceneShapes ( )
private

Definition at line 288 of file scene_mr.cpp.

◆ getCharacterWalkspeed()

int Kyra::KyraEngine_MR::getCharacterWalkspeed ( ) const
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 775 of file kyra_mr.cpp.

◆ getDrawLayer()

int Kyra::KyraEngine_MR::getDrawLayer ( int  x,
int  y 
)
private

Definition at line 1212 of file kyra_mr.cpp.

◆ getItemCommandStringDrop()

int Kyra::KyraEngine_MR::getItemCommandStringDrop ( uint16  item)
private

Definition at line 518 of file items_mr.cpp.

◆ getItemCommandStringInv()

int Kyra::KyraEngine_MR::getItemCommandStringInv ( uint16  item)
private

Definition at line 530 of file items_mr.cpp.

◆ getItemCommandStringPickUp()

int Kyra::KyraEngine_MR::getItemCommandStringPickUp ( uint16  item)
private

Definition at line 524 of file items_mr.cpp.

◆ getScale()

int Kyra::KyraEngine_MR::getScale ( int  x,
int  y 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 1218 of file kyra_mr.cpp.

◆ getScoreX()

int Kyra::KyraEngine_MR::getScoreX ( const char *  str)
private

Definition at line 417 of file gui_mr.cpp.

◆ getTableEntry() [1/2]

uint8 * Kyra::KyraEngine_MR::getTableEntry ( uint8 buffer,
int  id 
)
private

Definition at line 1246 of file kyra_mr.cpp.

◆ getTableEntry() [2/2]

void Kyra::KyraEngine_MR::getTableEntry ( Common::SeekableReadStream stream,
int  id,
char *  dst 
)
private

Definition at line 1260 of file kyra_mr.cpp.

◆ go()

Common::Error Kyra::KyraEngine_MR::go ( )
virtual

Implements Kyra::KyraEngine_v1.

Definition at line 235 of file kyra_mr.cpp.

◆ goodConscienceChat()

void Kyra::KyraEngine_MR::goodConscienceChat ( const char *  str,
int  vocHigh,
int  vocLow 
)
private

Definition at line 422 of file text_mr.cpp.

◆ goodConscienceChatWaitToFinish()

void Kyra::KyraEngine_MR::goodConscienceChatWaitToFinish ( )
private

Definition at line 439 of file text_mr.cpp.

◆ gui()

GUI* Kyra::KyraEngine_MR::gui ( ) const
inlinevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 57 of file kyra_mr.h.

◆ handleInput()

void Kyra::KyraEngine_MR::handleInput ( int  x,
int  y 
)
private

Definition at line 924 of file kyra_mr.cpp.

◆ heliumMode()

bool Kyra::KyraEngine_MR::heliumMode ( ) const
inline

Definition at line 60 of file kyra_mr.h.

◆ hideBadConscience()

void Kyra::KyraEngine_MR::hideBadConscience ( )
private

Definition at line 90 of file sequences_mr.cpp.

◆ hideGoodConscience()

void Kyra::KyraEngine_MR::hideGoodConscience ( )
private

Definition at line 161 of file sequences_mr.cpp.

◆ hideInventory()

void Kyra::KyraEngine_MR::hideInventory ( )
private

Definition at line 240 of file gui_mr.cpp.

◆ init()

Common::Error Kyra::KyraEngine_MR::init ( void  )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 203 of file kyra_mr.cpp.

◆ initAnimationShapes()

int Kyra::KyraEngine_MR::initAnimationShapes ( uint8 filedata)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 223 of file sequences_mr.cpp.

◆ initItems()

void Kyra::KyraEngine_MR::initItems ( )
private

Definition at line 649 of file kyra_mr.cpp.

◆ initMainButtonList()

void Kyra::KyraEngine_MR::initMainButtonList ( bool  disable)
private

Definition at line 1887 of file staticres.cpp.

◆ initMainMenu()

void Kyra::KyraEngine_MR::initMainMenu ( )
private

Definition at line 327 of file kyra_mr.cpp.

◆ initMouseShapes()

void Kyra::KyraEngine_MR::initMouseShapes ( )
private

Definition at line 499 of file kyra_mr.cpp.

◆ initSceneAnims()

void Kyra::KyraEngine_MR::initSceneAnims ( int  unk1)
private

Definition at line 438 of file scene_mr.cpp.

◆ initSceneScreen()

void Kyra::KyraEngine_MR::initSceneScreen ( int  unk1)
private

Definition at line 553 of file scene_mr.cpp.

◆ initSceneScript()

void Kyra::KyraEngine_MR::initSceneScript ( int  unk1)
private

Definition at line 345 of file scene_mr.cpp.

◆ initStaticResource()

void Kyra::KyraEngine_MR::initStaticResource ( )
private

Definition at line 1016 of file staticres.cpp.

◆ inputSceneChange()

int Kyra::KyraEngine_MR::inputSceneChange ( int  x,
int  y,
int  unk1,
int  unk2 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 996 of file kyra_mr.cpp.

◆ isDropable()

bool Kyra::KyraEngine_MR::isDropable ( int  x,
int  y 
)
private

Definition at line 371 of file items_mr.cpp.

◆ itemDropDown()

void Kyra::KyraEngine_MR::itemDropDown ( int  startX,
int  startY,
int  dstX,
int  dstY,
int  itemSlot,
Item  item,
int  remove 
)
private

Definition at line 229 of file items_mr.cpp.

◆ itemInventoryMagic()

bool Kyra::KyraEngine_MR::itemInventoryMagic ( Item  handItem,
int  invSlot 
)
private

Definition at line 460 of file items_mr.cpp.

◆ itemListMagic()

bool Kyra::KyraEngine_MR::itemListMagic ( Item  handItem,
int  itemSlot 
)
private

Definition at line 385 of file items_mr.cpp.

◆ language()

int Kyra::KyraEngine_MR::language ( ) const
inline

Definition at line 59 of file kyra_mr.h.

◆ lineIsPassable()

bool Kyra::KyraEngine_MR::lineIsPassable ( int  x,
int  y 
)
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 753 of file scene_mr.cpp.

◆ loadAlbumPage()

void Kyra::KyraEngine_MR::loadAlbumPage ( )
private

Definition at line 702 of file gui_mr.cpp.

◆ loadAlbumPageWSA()

void Kyra::KyraEngine_MR::loadAlbumPageWSA ( )
private

Definition at line 720 of file gui_mr.cpp.

◆ loadButtonShapes()

void Kyra::KyraEngine_MR::loadButtonShapes ( )
private

Definition at line 36 of file gui_mr.cpp.

◆ loadCharacterShapes()

void Kyra::KyraEngine_MR::loadCharacterShapes ( int  newShapes)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 720 of file kyra_mr.cpp.

◆ loadCostPal()

void Kyra::KyraEngine_MR::loadCostPal ( )
private

Definition at line 616 of file kyra_mr.cpp.

◆ loadDlgHeader()

void Kyra::KyraEngine_MR::loadDlgHeader ( int vocHighBase,
int vocHighIndex,
int index1,
int index2 
)
private

Definition at line 642 of file text_mr.cpp.

◆ loadExtrasShapes()

void Kyra::KyraEngine_MR::loadExtrasShapes ( )
private

Definition at line 629 of file kyra_mr.cpp.

◆ loadGameState()

Common::Error Kyra::KyraEngine_MR::loadGameState ( int  slot)
privatevirtual

Load a game state.

Parameters
slotthe slot from which a savestate should be loaded
Returns
returns kNoError on success, else an error code.

Implements Kyra::KyraEngine_v1.

Definition at line 122 of file saveload_mr.cpp.

◆ loadInterface()

void Kyra::KyraEngine_MR::loadInterface ( )
private

Definition at line 643 of file kyra_mr.cpp.

◆ loadInterfaceShapes()

void Kyra::KyraEngine_MR::loadInterfaceShapes ( )
private

Definition at line 637 of file kyra_mr.cpp.

◆ loadLanguageFile()

int Kyra::KyraEngine_MR::loadLanguageFile ( const char *  file,
uint8 *&  buffer 
)
private

Definition at line 1234 of file kyra_mr.cpp.

◆ loadSceneMsc()

void Kyra::KyraEngine_MR::loadSceneMsc ( )
private

Definition at line 316 of file scene_mr.cpp.

◆ loadScenePal()

void Kyra::KyraEngine_MR::loadScenePal ( )
private

Definition at line 295 of file scene_mr.cpp.

◆ loadShadowShape()

void Kyra::KyraEngine_MR::loadShadowShape ( )
private

Definition at line 624 of file kyra_mr.cpp.

◆ makeCharFacingMouse()

void Kyra::KyraEngine_MR::makeCharFacingMouse ( )
private

Definition at line 1200 of file kyra_mr.cpp.

◆ malcolmSceneStartupChat()

void Kyra::KyraEngine_MR::malcolmSceneStartupChat ( )
private

Definition at line 598 of file text_mr.cpp.

◆ npcChatSequence()

void Kyra::KyraEngine_MR::npcChatSequence ( const char *  str,
int  object,
int  vocHigh,
int  vocLow 
)
private

Definition at line 793 of file text_mr.cpp.

◆ o3_addItemToCurScene()

int Kyra::KyraEngine_MR::o3_addItemToCurScene ( EMCState script)
private

Definition at line 159 of file script_mr.cpp.

◆ o3_addItemToInventory()

int Kyra::KyraEngine_MR::o3_addItemToInventory ( EMCState script)
private

Definition at line 147 of file script_mr.cpp.

◆ o3_badConscienceChat()

int Kyra::KyraEngine_MR::o3_badConscienceChat ( EMCState script)
private

Definition at line 240 of file script_mr.cpp.

◆ o3_blockOutWalkableRegion()

int Kyra::KyraEngine_MR::o3_blockOutWalkableRegion ( EMCState script)
private

Definition at line 800 of file script_mr.cpp.

◆ o3_changeChapter()

int Kyra::KyraEngine_MR::o3_changeChapter ( EMCState script)
private

Definition at line 998 of file script_mr.cpp.

◆ o3_checkInRect()

int Kyra::KyraEngine_MR::o3_checkInRect ( EMCState script)
private

Definition at line 357 of file script_mr.cpp.

◆ o3_countInventoryItemInstances()

int Kyra::KyraEngine_MR::o3_countInventoryItemInstances ( EMCState script)
private

Definition at line 215 of file script_mr.cpp.

◆ o3_countItemInstances()

int Kyra::KyraEngine_MR::o3_countItemInstances ( EMCState script)
private

Definition at line 1004 of file script_mr.cpp.

◆ o3_customChat()

int Kyra::KyraEngine_MR::o3_customChat ( EMCState script)
private

Definition at line 1037 of file script_mr.cpp.

◆ o3_customChatFinish()

int Kyra::KyraEngine_MR::o3_customChatFinish ( EMCState script)
private

Definition at line 1055 of file script_mr.cpp.

◆ o3_daggerWarning()

int Kyra::KyraEngine_MR::o3_daggerWarning ( EMCState script)
private

Definition at line 725 of file script_mr.cpp.

◆ o3_defineObject()

int Kyra::KyraEngine_MR::o3_defineObject ( EMCState script)
private

Definition at line 52 of file script_mr.cpp.

◆ o3_defineSceneAnim()

int Kyra::KyraEngine_MR::o3_defineSceneAnim ( EMCState script)
private

Definition at line 842 of file script_mr.cpp.

◆ o3_dialogEndScript()

int Kyra::KyraEngine_MR::o3_dialogEndScript ( EMCState script)
private

Definition at line 1031 of file script_mr.cpp.

◆ o3_dialogStartScript()

int Kyra::KyraEngine_MR::o3_dialogStartScript ( EMCState script)
private

Definition at line 1025 of file script_mr.cpp.

◆ o3_disableInventory()

int Kyra::KyraEngine_MR::o3_disableInventory ( EMCState script)
private

Definition at line 654 of file script_mr.cpp.

◆ o3_disguiseMalcolm()

int Kyra::KyraEngine_MR::o3_disguiseMalcolm ( EMCState script)
private

Definition at line 318 of file script_mr.cpp.

◆ o3_doDialog()

int Kyra::KyraEngine_MR::o3_doDialog ( EMCState script)
private

Definition at line 933 of file script_mr.cpp.

◆ o3_drawSceneShape()

int Kyra::KyraEngine_MR::o3_drawSceneShape ( EMCState script)
private

Definition at line 325 of file script_mr.cpp.

◆ o3_drawSceneShapeOnPage()

int Kyra::KyraEngine_MR::o3_drawSceneShapeOnPage ( EMCState script)
private

Definition at line 347 of file script_mr.cpp.

◆ o3_dummy()

int Kyra::KyraEngine_MR::o3_dummy ( EMCState script)
private

Definition at line 1078 of file script_mr.cpp.

◆ o3_enableInventory()

int Kyra::KyraEngine_MR::o3_enableInventory ( EMCState script)
private

Definition at line 660 of file script_mr.cpp.

◆ o3_enterNewScene()

int Kyra::KyraEngine_MR::o3_enterNewScene ( EMCState script)
private

Definition at line 666 of file script_mr.cpp.

◆ o3_getCharacterFrameFromFacing()

int Kyra::KyraEngine_MR::o3_getCharacterFrameFromFacing ( EMCState script)
private

Definition at line 92 of file script_mr.cpp.

◆ o3_getConversationState()

int Kyra::KyraEngine_MR::o3_getConversationState ( EMCState script)
private

Definition at line 969 of file script_mr.cpp.

◆ o3_getInventorySlot()

int Kyra::KyraEngine_MR::o3_getInventorySlot ( EMCState script)
private

Definition at line 142 of file script_mr.cpp.

◆ o3_getMalcolmShapes()

int Kyra::KyraEngine_MR::o3_getMalcolmShapes ( EMCState script)
private

Definition at line 31 of file script_mr.cpp.

◆ o3_getMalcolmsMood()

int Kyra::KyraEngine_MR::o3_getMalcolmsMood ( EMCState script)
private

Definition at line 87 of file script_mr.cpp.

◆ o3_getScore()

int Kyra::KyraEngine_MR::o3_getScore ( EMCState script)
private

Definition at line 720 of file script_mr.cpp.

◆ o3_goodConscienceChat()

int Kyra::KyraEngine_MR::o3_goodConscienceChat ( EMCState script)
private

Definition at line 828 of file script_mr.cpp.

◆ o3_hideBadConscience()

int Kyra::KyraEngine_MR::o3_hideBadConscience ( EMCState script)
private

Definition at line 124 of file script_mr.cpp.

◆ o3_hideGoodConscience()

int Kyra::KyraEngine_MR::o3_hideGoodConscience ( EMCState script)
private

Definition at line 836 of file script_mr.cpp.

◆ o3_makeSecondChanceSave()

int Kyra::KyraEngine_MR::o3_makeSecondChanceSave ( EMCState script)
private

Definition at line 285 of file script_mr.cpp.

◆ o3_npcChatSequence()

int Kyra::KyraEngine_MR::o3_npcChatSequence ( EMCState script)
private

Definition at line 231 of file script_mr.cpp.

◆ o3_objectChat()

int Kyra::KyraEngine_MR::o3_objectChat ( EMCState script)
private

Definition at line 188 of file script_mr.cpp.

◆ o3_playSoundEffect()

int Kyra::KyraEngine_MR::o3_playSoundEffect ( EMCState script)
private

Definition at line 714 of file script_mr.cpp.

◆ o3_refreshCharacter()

int Kyra::KyraEngine_MR::o3_refreshCharacter ( EMCState script)
private

Definition at line 66 of file script_mr.cpp.

◆ o3_removeInventoryItemInstances()

int Kyra::KyraEngine_MR::o3_removeInventoryItemInstances ( EMCState script)
private

Definition at line 205 of file script_mr.cpp.

◆ o3_removeItemInstances()

int Kyra::KyraEngine_MR::o3_removeItemInstances ( EMCState script)
private

Definition at line 626 of file script_mr.cpp.

◆ o3_removeItemsFromScene()

int Kyra::KyraEngine_MR::o3_removeItemsFromScene ( EMCState script)
private

Definition at line 298 of file script_mr.cpp.

◆ o3_removeItemSlot()

int Kyra::KyraEngine_MR::o3_removeItemSlot ( EMCState script)
private

Definition at line 583 of file script_mr.cpp.

◆ o3_removeSceneAnimObject()

int Kyra::KyraEngine_MR::o3_removeSceneAnimObject ( EMCState script)
private

Definition at line 1072 of file script_mr.cpp.

◆ o3_resetInventory()

int Kyra::KyraEngine_MR::o3_resetInventory ( EMCState script)
private

Definition at line 199 of file script_mr.cpp.

◆ o3_runActorScript()

int Kyra::KyraEngine_MR::o3_runActorScript ( EMCState script)
private

Definition at line 899 of file script_mr.cpp.

◆ o3_setCharacterAnimFrameFromFacing()

int Kyra::KyraEngine_MR::o3_setCharacterAnimFrameFromFacing ( EMCState script)
private

Definition at line 109 of file script_mr.cpp.

◆ o3_setCharacterFacing()

int Kyra::KyraEngine_MR::o3_setCharacterFacing ( EMCState script)
private

Definition at line 97 of file script_mr.cpp.

◆ o3_setCharacterPos()

int Kyra::KyraEngine_MR::o3_setCharacterPos ( EMCState script)
private

Definition at line 36 of file script_mr.cpp.

◆ o3_setConversationState()

int Kyra::KyraEngine_MR::o3_setConversationState ( EMCState script)
private

Definition at line 939 of file script_mr.cpp.

◆ o3_setInventorySlot()

int Kyra::KyraEngine_MR::o3_setInventorySlot ( EMCState script)
private

Definition at line 136 of file script_mr.cpp.

◆ o3_setMalcolmPos()

int Kyra::KyraEngine_MR::o3_setMalcolmPos ( EMCState script)
private

Definition at line 695 of file script_mr.cpp.

◆ o3_setMalcolmsMood()

int Kyra::KyraEngine_MR::o3_setMalcolmsMood ( EMCState script)
private

Definition at line 275 of file script_mr.cpp.

◆ o3_setSceneAnimPosAndFrame()

int Kyra::KyraEngine_MR::o3_setSceneAnimPosAndFrame ( EMCState script)
private

Definition at line 597 of file script_mr.cpp.

◆ o3_setSceneDim()

int Kyra::KyraEngine_MR::o3_setSceneDim ( EMCState script)
private

Definition at line 590 of file script_mr.cpp.

◆ o3_setSceneFilename()

int Kyra::KyraEngine_MR::o3_setSceneFilename ( EMCState script)
private

Definition at line 291 of file script_mr.cpp.

◆ o3_setupSceneAnimObject()

int Kyra::KyraEngine_MR::o3_setupSceneAnimObject ( EMCState script)
private

Definition at line 1063 of file script_mr.cpp.

◆ o3_showAlbum()

int Kyra::KyraEngine_MR::o3_showAlbum ( EMCState script)
private

Definition at line 130 of file script_mr.cpp.

◆ o3_showBadConscience()

int Kyra::KyraEngine_MR::o3_showBadConscience ( EMCState script)
private

Definition at line 118 of file script_mr.cpp.

◆ o3_showGoodConscience()

int Kyra::KyraEngine_MR::o3_showGoodConscience ( EMCState script)
private

Definition at line 822 of file script_mr.cpp.

◆ o3_showSceneFileMessage()

int Kyra::KyraEngine_MR::o3_showSceneFileMessage ( EMCState script)
private

Definition at line 103 of file script_mr.cpp.

◆ o3_showSceneStringsMessage()

int Kyra::KyraEngine_MR::o3_showSceneStringsMessage ( EMCState script)
private

Definition at line 816 of file script_mr.cpp.

◆ o3_stopMusic()

int Kyra::KyraEngine_MR::o3_stopMusic ( EMCState script)
private

Definition at line 708 of file script_mr.cpp.

◆ o3_switchScene()

int Kyra::KyraEngine_MR::o3_switchScene ( EMCState script)
private

Definition at line 684 of file script_mr.cpp.

◆ o3_updateConversations()

int Kyra::KyraEngine_MR::o3_updateConversations ( EMCState script)
private

Definition at line 379 of file script_mr.cpp.

◆ o3_updateSceneAnim()

int Kyra::KyraEngine_MR::o3_updateSceneAnim ( EMCState script)
private

Definition at line 892 of file script_mr.cpp.

◆ o3_updateScore()

int Kyra::KyraEngine_MR::o3_updateScore ( EMCState script)
private

Definition at line 280 of file script_mr.cpp.

◆ o3_wipeDownMouseItem()

int Kyra::KyraEngine_MR::o3_wipeDownMouseItem ( EMCState script)
private

Definition at line 248 of file script_mr.cpp.

◆ o3a_playSoundEffect()

int Kyra::KyraEngine_MR::o3a_playSoundEffect ( EMCState script)
private

Definition at line 1100 of file script_mr.cpp.

◆ o3a_setCharacterFrame()

int Kyra::KyraEngine_MR::o3a_setCharacterFrame ( EMCState script)
private

Definition at line 1085 of file script_mr.cpp.

◆ o3d_delay()

int Kyra::KyraEngine_MR::o3d_delay ( EMCState script)
private

Definition at line 1115 of file script_mr.cpp.

◆ o3d_updateAnim()

int Kyra::KyraEngine_MR::o3d_updateAnim ( EMCState script)
private

Definition at line 1108 of file script_mr.cpp.

◆ objectChat()

void Kyra::KyraEngine_MR::objectChat ( const char *  text,
int  object,
int  vocHigh,
int  vocLow 
)
private

Definition at line 193 of file text_mr.cpp.

◆ objectChatInit()

void Kyra::KyraEngine_MR::objectChatInit ( const char *  text,
int  object,
int  vocHigh,
int  vocLow 
)
private

Definition at line 235 of file text_mr.cpp.

◆ objectChatPrintText()

void Kyra::KyraEngine_MR::objectChatPrintText ( const char *  text,
int  object 
)
private

Definition at line 278 of file text_mr.cpp.

◆ objectChatProcess()

void Kyra::KyraEngine_MR::objectChatProcess ( const char *  script)
private

Definition at line 297 of file text_mr.cpp.

◆ objectChatWaitToFinish()

void Kyra::KyraEngine_MR::objectChatWaitToFinish ( )
private

Definition at line 319 of file text_mr.cpp.

◆ openTalkFile()

void Kyra::KyraEngine_MR::openTalkFile ( int  file)
private

Definition at line 693 of file kyra_mr.cpp.

◆ pickUpItem()

bool Kyra::KyraEngine_MR::pickUpItem ( int  x,
int  y,
int  runScript 
)
private

Definition at line 342 of file items_mr.cpp.

◆ playMenuAudioFile()

void Kyra::KyraEngine_MR::playMenuAudioFile ( )
private

Definition at line 398 of file kyra_mr.cpp.

◆ playStudioSFX()

void Kyra::KyraEngine_MR::playStudioSFX ( const char *  str)
private

Definition at line 471 of file kyra_mr.cpp.

◆ playVoice()

void Kyra::KyraEngine_MR::playVoice ( int  high,
int  low 
)
private

Definition at line 451 of file kyra_mr.cpp.

◆ playVQA()

void Kyra::KyraEngine_MR::playVQA ( const char *  name)

Definition at line 364 of file kyra_mr.cpp.

◆ preinit()

void Kyra::KyraEngine_MR::preinit ( )
private

Definition at line 490 of file kyra_mr.cpp.

◆ printAlbumPageText()

void Kyra::KyraEngine_MR::printAlbumPageText ( )
private

Definition at line 744 of file gui_mr.cpp.

◆ printAlbumText()

void Kyra::KyraEngine_MR::printAlbumText ( int  page,
const char *  str,
int  x,
int  y,
uint8  c0 
)
private

Definition at line 768 of file gui_mr.cpp.

◆ processAlbum()

void Kyra::KyraEngine_MR::processAlbum ( )
private

Definition at line 785 of file gui_mr.cpp.

◆ processDialog()

void Kyra::KyraEngine_MR::processDialog ( int  vocHighIndex,
int  vocHighBase,
int  funcNum 
)
private

Definition at line 698 of file text_mr.cpp.

◆ processItemDrop()

bool Kyra::KyraEngine_MR::processItemDrop ( uint16  sceneId,
Item  item,
int  x,
int  y,
int  unk1,
int  unk2 
)
private

Definition at line 125 of file items_mr.cpp.

◆ randomSceneChat()

void Kyra::KyraEngine_MR::randomSceneChat ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 830 of file text_mr.cpp.

◆ readSettings()

void Kyra::KyraEngine_MR::readSettings ( )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 1417 of file kyra_mr.cpp.

◆ redrawInventory()

void Kyra::KyraEngine_MR::redrawInventory ( int  page)
private

Definition at line 429 of file gui_mr.cpp.

◆ refreshAnimObjects()

void Kyra::KyraEngine_MR::refreshAnimObjects ( int  force)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 142 of file animator_mr.cpp.

◆ registerDefaultSettings()

void Kyra::KyraEngine_MR::registerDefaultSettings ( )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 1377 of file kyra_mr.cpp.

◆ removeSceneAnimObject()

void Kyra::KyraEngine_MR::removeSceneAnimObject ( int  anim,
int  refresh 
)
private

Definition at line 394 of file animator_mr.cpp.

◆ removeTrashItems()

void Kyra::KyraEngine_MR::removeTrashItems ( )
private

Definition at line 30 of file items_mr.cpp.

◆ resetCharacterAnimDim()

void Kyra::KyraEngine_MR::resetCharacterAnimDim ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 422 of file animator_mr.cpp.

◆ resetSkipFlag()

void Kyra::KyraEngine_MR::resetSkipFlag ( bool  removeEvent = true)
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 1366 of file kyra_mr.cpp.

◆ restoreCommandLine()

void Kyra::KyraEngine_MR::restoreCommandLine ( )
private

Definition at line 150 of file gui_mr.cpp.

◆ restoreGfxRect32x32()

void Kyra::KyraEngine_MR::restoreGfxRect32x32 ( int  x,
int  y 
)
private

Definition at line 1228 of file kyra_mr.cpp.

◆ restorePage3()

void Kyra::KyraEngine_MR::restorePage3 ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 31 of file animator_mr.cpp.

◆ runLoop()

void Kyra::KyraEngine_MR::runLoop ( )
private

Definition at line 886 of file kyra_mr.cpp.

◆ runSceneScript1()

int Kyra::KyraEngine_MR::runSceneScript1 ( int  x,
int  y 
)
private

Definition at line 701 of file scene_mr.cpp.

◆ runSceneScript2()

int Kyra::KyraEngine_MR::runSceneScript2 ( )
private

Definition at line 720 of file scene_mr.cpp.

◆ runSceneScript4()

void Kyra::KyraEngine_MR::runSceneScript4 ( int  unk1)
private

Definition at line 733 of file scene_mr.cpp.

◆ runSceneScript8()

void Kyra::KyraEngine_MR::runSceneScript8 ( )
private

Definition at line 747 of file scene_mr.cpp.

◆ runStartupScript()

void Kyra::KyraEngine_MR::runStartupScript ( int  script,
int  unk1 
)
private

Definition at line 673 of file kyra_mr.cpp.

◆ saveGameStateIntern()

Common::Error Kyra::KyraEngine_MR::saveGameStateIntern ( int  slot,
const char *  saveName,
const Graphics::Surface thumbnail 
)
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 33 of file saveload_mr.cpp.

◆ scoreIncrease()

void Kyra::KyraEngine_MR::scoreIncrease ( int  count,
const char *  str 
)
private

Definition at line 1311 of file kyra_mr.cpp.

◆ screen()

Screen* Kyra::KyraEngine_MR::screen ( )
inlinevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 55 of file kyra_mr.h.

◆ screen_v2()

Screen_v2* Kyra::KyraEngine_MR::screen_v2 ( ) const
inlinevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 56 of file kyra_mr.h.

◆ setCharacterAnimDim()

void Kyra::KyraEngine_MR::setCharacterAnimDim ( int  w,
int  h 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 409 of file animator_mr.cpp.

◆ setCommandLineRestoreTimer()

void Kyra::KyraEngine_MR::setCommandLineRestoreTimer ( int  secs)
private

Definition at line 91 of file timer_mr.cpp.

◆ setDlgIndex()

void Kyra::KyraEngine_MR::setDlgIndex ( int  index)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 650 of file text_mr.cpp.

◆ setItemMouseCursor()

void Kyra::KyraEngine_MR::setItemMouseCursor ( )
private

Definition at line 94 of file items_mr.cpp.

◆ setMouseCursor()

void Kyra::KyraEngine_MR::setMouseCursor ( Item  item)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 78 of file items_mr.cpp.

◆ setNextIdleAnimTimer()

void Kyra::KyraEngine_MR::setNextIdleAnimTimer ( )
private

Definition at line 97 of file timer_mr.cpp.

◆ setupOpcodeTable()

void Kyra::KyraEngine_MR::setupOpcodeTable ( )
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 1127 of file script_mr.cpp.

◆ setupSceneAnimObject()

void Kyra::KyraEngine_MR::setupSceneAnimObject ( int  anim,
uint16  flags,
int  x,
int  y,
int  x2,
int  y2,
int  w,
int  h,
int  unk10,
int  specialSize,
int  unk14,
int  shape,
const char *  filename 
)
private

Definition at line 315 of file animator_mr.cpp.

◆ setupTimers()

void Kyra::KyraEngine_MR::setupTimers ( )
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 32 of file timer_mr.cpp.

◆ setWalkspeed()

void Kyra::KyraEngine_MR::setWalkspeed ( uint8  speed)
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 82 of file timer_mr.cpp.

◆ showAlbum()

void Kyra::KyraEngine_MR::showAlbum ( )
private

Definition at line 638 of file gui_mr.cpp.

◆ showBadConscience()

void Kyra::KyraEngine_MR::showBadConscience ( )
private

Definition at line 28 of file sequences_mr.cpp.

◆ showGoodConscience()

void Kyra::KyraEngine_MR::showGoodConscience ( )
private

Definition at line 108 of file sequences_mr.cpp.

◆ showIdleAnim()

void Kyra::KyraEngine_MR::showIdleAnim ( )
private

Definition at line 432 of file animator_mr.cpp.

◆ showInventory()

void Kyra::KyraEngine_MR::showInventory ( )
private

Definition at line 162 of file gui_mr.cpp.

◆ showMessage()

void Kyra::KyraEngine_MR::showMessage ( const char *  string,
uint8  c0,
uint8  c1 
)
private

Definition at line 105 of file gui_mr.cpp.

◆ showMessageFromCCode()

void Kyra::KyraEngine_MR::showMessageFromCCode ( int  string,
uint8  c0,
int   
)
private

Definition at line 122 of file gui_mr.cpp.

◆ skipFlag()

bool Kyra::KyraEngine_MR::skipFlag ( ) const
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 1360 of file kyra_mr.cpp.

◆ snd_playSoundEffect()

void Kyra::KyraEngine_MR::snd_playSoundEffect ( int  item,
int  volume 
)
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 441 of file kyra_mr.cpp.

◆ snd_playVoiceFile()

void Kyra::KyraEngine_MR::snd_playVoiceFile ( int  file)
privatevirtual

Implements Kyra::KyraEngine_v1.

Definition at line 455 of file kyra_mr.cpp.

◆ snd_playWanderScoreViaMap()

void Kyra::KyraEngine_MR::snd_playWanderScoreViaMap ( int  track,
int  force 
)
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 405 of file kyra_mr.cpp.

◆ snd_stopVoice()

void Kyra::KyraEngine_MR::snd_stopVoice ( )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 466 of file kyra_mr.cpp.

◆ snd_voiceIsPlaying()

bool Kyra::KyraEngine_MR::snd_voiceIsPlaying ( )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 462 of file kyra_mr.cpp.

◆ soundDigital()

SoundDigital_MR* Kyra::KyraEngine_MR::soundDigital ( )
inline

Definition at line 58 of file kyra_mr.h.

◆ startup()

void Kyra::KyraEngine_MR::startup ( )
private

Definition at line 507 of file kyra_mr.cpp.

◆ stopMusicTrack()

void Kyra::KyraEngine_MR::stopMusicTrack ( )
private

Definition at line 425 of file kyra_mr.cpp.

◆ talkObjectsInCurScene()

bool Kyra::KyraEngine_MR::talkObjectsInCurScene ( )
private

Definition at line 1278 of file kyra_mr.cpp.

◆ timerFleaDeath()

void Kyra::KyraEngine_MR::timerFleaDeath ( int  arg)
private

Definition at line 60 of file timer_mr.cpp.

◆ timerRestoreCommandLine()

void Kyra::KyraEngine_MR::timerRestoreCommandLine ( int  arg)
private

Definition at line 43 of file timer_mr.cpp.

◆ timerRunSceneScript7()

void Kyra::KyraEngine_MR::timerRunSceneScript7 ( int  arg)
private

Definition at line 48 of file timer_mr.cpp.

◆ trySceneChange()

int Kyra::KyraEngine_MR::trySceneChange ( int moveTable,
int  unk1,
int  unk2 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 591 of file scene_mr.cpp.

◆ uninitAnimationShapes()

void Kyra::KyraEngine_MR::uninitAnimationShapes ( int  count,
uint8 filedata 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 230 of file sequences_mr.cpp.

◆ uninitMainMenu()

void Kyra::KyraEngine_MR::uninitMainMenu ( )
private

Definition at line 357 of file kyra_mr.cpp.

◆ unloadScene()

void Kyra::KyraEngine_MR::unloadScene ( )
private

Definition at line 280 of file scene_mr.cpp.

◆ update()

void Kyra::KyraEngine_MR::update ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 1047 of file kyra_mr.cpp.

◆ updateCharacterAnim()

void Kyra::KyraEngine_MR::updateCharacterAnim ( int  charId)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 233 of file animator_mr.cpp.

◆ updateCharAnimFrame()

void Kyra::KyraEngine_MR::updateCharAnimFrame ( int table)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 779 of file kyra_mr.cpp.

◆ updateCharPal()

void Kyra::KyraEngine_MR::updateCharPal ( int  unk1)
private

Definition at line 834 of file kyra_mr.cpp.

◆ updateCLState()

void Kyra::KyraEngine_MR::updateCLState ( )
private

Definition at line 155 of file gui_mr.cpp.

◆ updateCommandLine()

void Kyra::KyraEngine_MR::updateCommandLine ( )
private

Definition at line 143 of file gui_mr.cpp.

◆ updateDlgBuffer()

void Kyra::KyraEngine_MR::updateDlgBuffer ( )
private

Definition at line 621 of file text_mr.cpp.

◆ updateDlgIndex()

void Kyra::KyraEngine_MR::updateDlgIndex ( )
private

Definition at line 659 of file text_mr.cpp.

◆ updateItemAnimations()

void Kyra::KyraEngine_MR::updateItemAnimations ( )
private

Definition at line 185 of file animator_mr.cpp.

◆ updateItemCommand()

void Kyra::KyraEngine_MR::updateItemCommand ( Item  item,
int  str,
uint8  c0 
)
private

Definition at line 126 of file gui_mr.cpp.

◆ updateMalcolmShapes()

void Kyra::KyraEngine_MR::updateMalcolmShapes ( )
private

Definition at line 765 of file kyra_mr.cpp.

◆ updateMouse()

void Kyra::KyraEngine_MR::updateMouse ( )
private

Definition at line 1080 of file kyra_mr.cpp.

◆ updateSceneAnim()

void Kyra::KyraEngine_MR::updateSceneAnim ( int  anim,
int  newFrame 
)
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 278 of file animator_mr.cpp.

◆ updateScore()

bool Kyra::KyraEngine_MR::updateScore ( int  scoreId,
int  strId 
)
private

Definition at line 1289 of file kyra_mr.cpp.

◆ updateWithText()

void Kyra::KyraEngine_MR::updateWithText ( )
privatevirtual

Implements Kyra::KyraEngine_v2.

Definition at line 1059 of file kyra_mr.cpp.

◆ writeSettings()

void Kyra::KyraEngine_MR::writeSettings ( )
privatevirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 1390 of file kyra_mr.cpp.

Friends And Related Function Documentation

◆ GUI_MR

friend class GUI_MR
friend

Definition at line 45 of file kyra_mr.h.

◆ TextDisplayer_MR

friend class TextDisplayer_MR
friend

Definition at line 44 of file kyra_mr.h.

Member Data Documentation

◆ _activeItemAnim

ActiveItemAnim Kyra::KyraEngine_MR::_activeItemAnim[10]
private

Definition at line 223 of file kyra_mr.h.

◆ _actorFile

uint8* Kyra::KyraEngine_MR::_actorFile
private

Definition at line 273 of file kyra_mr.h.

◆ _actorFileSize

uint32 Kyra::KyraEngine_MR::_actorFileSize
private

Definition at line 274 of file kyra_mr.h.

◆ _album

struct Kyra::KyraEngine_MR::Album Kyra::KyraEngine_MR::_album
private

◆ _albumChatActive

bool Kyra::KyraEngine_MR::_albumChatActive
private

Definition at line 432 of file kyra_mr.h.

◆ _albumWSAX

const int8 Kyra::KyraEngine_MR::_albumWSAX
staticprivate
Initial value:
= {
0, 77, -50, 99, -61, 82, -58, 85,
-64, 80, -63, 88, -63, 88, -64, 0
}

Definition at line 556 of file kyra_mr.h.

◆ _albumWSAY

const int8 Kyra::KyraEngine_MR::_albumWSAY
staticprivate
Initial value:
= {
0, -1, 3, 0, -1, 0, -2, 0,
-1, -2, 2, 2, -6, -6, -6, 0
}

Definition at line 557 of file kyra_mr.h.

◆ _badConscienceAnim

int Kyra::KyraEngine_MR::_badConscienceAnim
private

Definition at line 476 of file kyra_mr.h.

◆ _badConscienceFrameTable

const uint8 Kyra::KyraEngine_MR::_badConscienceFrameTable
staticprivate
Initial value:
= {
0x13, 0x13, 0x13, 0x18, 0x13, 0x13, 0x13, 0x13,
0x13, 0x13, 0x13, 0x10, 0x13, 0x13, 0x13, 0x13,
0x13, 0x13, 0x13, 0x18, 0x13, 0x13, 0x13, 0x13,
0x15, 0x15, 0x14, 0x18, 0x14, 0x14, 0x14, 0x14,
0x24, 0x24, 0x24, 0x24, 0x24, 0x1D, 0x1D, 0x1D
}

Definition at line 479 of file kyra_mr.h.

◆ _badConsciencePosition

bool Kyra::KyraEngine_MR::_badConsciencePosition
private

Definition at line 477 of file kyra_mr.h.

◆ _badConscienceShown

bool Kyra::KyraEngine_MR::_badConscienceShown
private

Definition at line 475 of file kyra_mr.h.

◆ _cCodeFile

uint8* Kyra::KyraEngine_MR::_cCodeFile
private

Definition at line 269 of file kyra_mr.h.

◆ _chapterLowestScene

const uint8 Kyra::KyraEngine_MR::_chapterLowestScene
staticprivate
Initial value:
= {
0x00, 0x00, 0x19, 0x2B, 0x33, 0x3B
}

Definition at line 511 of file kyra_mr.h.

◆ _characterAnimTable

int8 Kyra::KyraEngine_MR::_characterAnimTable[2]
private

Definition at line 387 of file kyra_mr.h.

◆ _characterFrameTable

const uint8 Kyra::KyraEngine_MR::_characterFrameTable
staticprivate
Initial value:
= {
0x36, 0x35, 0x35, 0x33, 0x32, 0x32, 0x34, 0x34
}

Definition at line 388 of file kyra_mr.h.

◆ _charBackUpHeight

int Kyra::KyraEngine_MR::_charBackUpHeight
private

Definition at line 214 of file kyra_mr.h.

◆ _charBackUpHeight2

int Kyra::KyraEngine_MR::_charBackUpHeight2
private

Definition at line 213 of file kyra_mr.h.

◆ _charBackUpWidth

int Kyra::KyraEngine_MR::_charBackUpWidth
private

Definition at line 214 of file kyra_mr.h.

◆ _charBackUpWidth2

int Kyra::KyraEngine_MR::_charBackUpWidth2
private

Definition at line 213 of file kyra_mr.h.

◆ _charPalUpdate

bool Kyra::KyraEngine_MR::_charPalUpdate
private

Definition at line 392 of file kyra_mr.h.

◆ _chatAltFlag

bool Kyra::KyraEngine_MR::_chatAltFlag
private

Definition at line 441 of file kyra_mr.h.

◆ _cnvFile

Common::SeekableReadStream* Kyra::KyraEngine_MR::_cnvFile
private

Definition at line 445 of file kyra_mr.h.

◆ _commandLineY

int Kyra::KyraEngine_MR::_commandLineY
private

Definition at line 241 of file kyra_mr.h.

◆ _configHelium

bool Kyra::KyraEngine_MR::_configHelium
private

Definition at line 72 of file kyra_mr.h.

◆ _configSkip

bool Kyra::KyraEngine_MR::_configSkip
private

Definition at line 71 of file kyra_mr.h.

◆ _configStudio

bool Kyra::KyraEngine_MR::_configStudio
private

Definition at line 70 of file kyra_mr.h.

◆ _configVQAQuality

int Kyra::KyraEngine_MR::_configVQAQuality
private

Definition at line 73 of file kyra_mr.h.

◆ _conversationState

int8 Kyra::KyraEngine_MR::_conversationState[30][30]
private

Definition at line 440 of file kyra_mr.h.

◆ _costPalBuffer

uint8* Kyra::KyraEngine_MR::_costPalBuffer
private

Definition at line 504 of file kyra_mr.h.

◆ _curDlgChapter

int Kyra::KyraEngine_MR::_curDlgChapter
private

Definition at line 447 of file kyra_mr.h.

◆ _curDlgIndex

int Kyra::KyraEngine_MR::_curDlgIndex
private

Definition at line 447 of file kyra_mr.h.

◆ _curDlgLang

int Kyra::KyraEngine_MR::_curDlgLang
private

Definition at line 447 of file kyra_mr.h.

◆ _currentChapter

int Kyra::KyraEngine_MR::_currentChapter
private

Definition at line 508 of file kyra_mr.h.

◆ _currentTalkFile

int Kyra::KyraEngine_MR::_currentTalkFile
private

Definition at line 338 of file kyra_mr.h.

◆ _curStudioSFX

int Kyra::KyraEngine_MR::_curStudioSFX
private

Definition at line 138 of file kyra_mr.h.

◆ _dialogSceneAnim

int Kyra::KyraEngine_MR::_dialogSceneAnim
private

Definition at line 457 of file kyra_mr.h.

◆ _dialogSceneScript

int Kyra::KyraEngine_MR::_dialogSceneScript
private

Definition at line 458 of file kyra_mr.h.

◆ _dialogScriptData

EMCData Kyra::KyraEngine_MR::_dialogScriptData
private

Definition at line 455 of file kyra_mr.h.

◆ _dialogScriptFuncEnd

int Kyra::KyraEngine_MR::_dialogScriptFuncEnd
private

Definition at line 459 of file kyra_mr.h.

◆ _dialogScriptFuncProc

int Kyra::KyraEngine_MR::_dialogScriptFuncProc
private

Definition at line 459 of file kyra_mr.h.

◆ _dialogScriptFuncStart

int Kyra::KyraEngine_MR::_dialogScriptFuncStart
private

Definition at line 459 of file kyra_mr.h.

◆ _dialogScriptState

EMCState Kyra::KyraEngine_MR::_dialogScriptState
private

Definition at line 456 of file kyra_mr.h.

◆ _dlgBuffer

Common::SeekableReadStream* Kyra::KyraEngine_MR::_dlgBuffer
private

Definition at line 446 of file kyra_mr.h.

◆ _enableInventory

bool Kyra::KyraEngine_MR::_enableInventory
private

Definition at line 149 of file kyra_mr.h.

◆ _enterNewSceneLock

int Kyra::KyraEngine_MR::_enterNewSceneLock
private

Definition at line 346 of file kyra_mr.h.

◆ _fadeOutMusicChannel

int Kyra::KyraEngine_MR::_fadeOutMusicChannel
private

Definition at line 113 of file kyra_mr.h.

◆ _gamePlayBuffer

uint8* Kyra::KyraEngine_MR::_gamePlayBuffer
private

Definition at line 192 of file kyra_mr.h.

◆ _gfxBackUpRect

uint8* Kyra::KyraEngine_MR::_gfxBackUpRect
private

Definition at line 517 of file kyra_mr.h.

◆ _goodConscienceAnim

int Kyra::KyraEngine_MR::_goodConscienceAnim
private

Definition at line 485 of file kyra_mr.h.

◆ _goodConscienceFrameTable

const uint8 Kyra::KyraEngine_MR::_goodConscienceFrameTable
staticprivate
Initial value:
= {
0x13, 0x13, 0x13, 0x13, 0x13,
0x13, 0x13, 0x13, 0x13, 0x13,
0x13, 0x13, 0x13, 0x13, 0x13,
0x15, 0x15, 0x15, 0x15, 0x15,
0x1E, 0x1E, 0x1E, 0x1E, 0x1E
}

Definition at line 488 of file kyra_mr.h.

◆ _goodConsciencePosition

bool Kyra::KyraEngine_MR::_goodConsciencePosition
private

Definition at line 486 of file kyra_mr.h.

◆ _goodConscienceShown

bool Kyra::KyraEngine_MR::_goodConscienceShown
private

Definition at line 484 of file kyra_mr.h.

◆ _gui

GUI_MR* Kyra::KyraEngine_MR::_gui
private

Definition at line 142 of file kyra_mr.h.

◆ _interface

uint8* Kyra::KyraEngine_MR::_interface
private

Definition at line 227 of file kyra_mr.h.

◆ _interfaceCommandLine

uint8* Kyra::KyraEngine_MR::_interfaceCommandLine
private

Definition at line 228 of file kyra_mr.h.

◆ _inventoryScrollSpeed

int Kyra::KyraEngine_MR::_inventoryScrollSpeed
private

Definition at line 245 of file kyra_mr.h.

◆ _inventoryState

bool Kyra::KyraEngine_MR::_inventoryState
private

Definition at line 244 of file kyra_mr.h.

◆ _inventoryX

const uint8 Kyra::KyraEngine_MR::_inventoryX
staticprivate
Initial value:
= {
0x45, 0x61, 0x7D, 0x99, 0xB5,
0x45, 0x61, 0x7D, 0x99, 0xB5
}

Definition at line 258 of file kyra_mr.h.

◆ _inventoryY

const uint8 Kyra::KyraEngine_MR::_inventoryY
staticprivate
Initial value:
= {
0x9C, 0x9C, 0x9C, 0x9C, 0x9C,
0xB2, 0xB2, 0xB2, 0xB2, 0xB2
}

Definition at line 259 of file kyra_mr.h.

◆ _invWsa

WSAMovie_v2* Kyra::KyraEngine_MR::_invWsa
private

Definition at line 264 of file kyra_mr.h.

◆ _invWsaFrame

int Kyra::KyraEngine_MR::_invWsaFrame
private

Definition at line 265 of file kyra_mr.h.

◆ _isStartupDialog

bool Kyra::KyraEngine_MR::_isStartupDialog
private

Definition at line 452 of file kyra_mr.h.

◆ _itemAnimDefinition

const ItemAnimDefinition* Kyra::KyraEngine_MR::_itemAnimDefinition
private

Definition at line 222 of file kyra_mr.h.

◆ _itemBuffer1

int8* Kyra::KyraEngine_MR::_itemBuffer1
private

Definition at line 281 of file kyra_mr.h.

◆ _itemBuffer2

int8* Kyra::KyraEngine_MR::_itemBuffer2
private

Definition at line 282 of file kyra_mr.h.

◆ _itemFile

uint8* Kyra::KyraEngine_MR::_itemFile
private

Definition at line 271 of file kyra_mr.h.

◆ _itemMagicTable

const uint8* Kyra::KyraEngine_MR::_itemMagicTable
private

Definition at line 299 of file kyra_mr.h.

◆ _itemStringDrop

const uint8 Kyra::KyraEngine_MR::_itemStringDrop
staticprivate
Initial value:
= {
0x5, 0x8, 0x1, 0xB
}

Definition at line 306 of file kyra_mr.h.

◆ _itemStringInv

const uint8 Kyra::KyraEngine_MR::_itemStringInv
staticprivate
Initial value:
= {
0x6, 0x9, 0x2, 0xC
}

Definition at line 307 of file kyra_mr.h.

◆ _itemStringMap

const uint8* Kyra::KyraEngine_MR::_itemStringMap
private

Definition at line 303 of file kyra_mr.h.

◆ _itemStringMapSize

int Kyra::KyraEngine_MR::_itemStringMapSize
private

Definition at line 304 of file kyra_mr.h.

◆ _itemStringPickUp

const uint8 Kyra::KyraEngine_MR::_itemStringPickUp
staticprivate
Initial value:
= {
0x4, 0x7, 0x0, 0xA
}

Definition at line 305 of file kyra_mr.h.

◆ _languageExtension

const char *const Kyra::KyraEngine_MR::_languageExtension
staticprivate
Initial value:
= {
"TRE",
"TRF",
"TRG"
}

Definition at line 662 of file kyra_mr.h.

◆ _languageExtensionSize

const int Kyra::KyraEngine_MR::_languageExtensionSize = ARRAYSIZE(KyraEngine_MR::_languageExtension)
staticprivate

Definition at line 663 of file kyra_mr.h.

◆ _lastCharPalLayer

int Kyra::KyraEngine_MR::_lastCharPalLayer
private

Definition at line 391 of file kyra_mr.h.

◆ _loadingState

bool Kyra::KyraEngine_MR::_loadingState
private

Definition at line 205 of file kyra_mr.h.

◆ _mainButtonData

Button* Kyra::KyraEngine_MR::_mainButtonData
private

Definition at line 144 of file kyra_mr.h.

◆ _mainButtonList

Button* Kyra::KyraEngine_MR::_mainButtonList
private

Definition at line 145 of file kyra_mr.h.

◆ _mainButtonListInitialized

bool Kyra::KyraEngine_MR::_mainButtonListInitialized
private

Definition at line 146 of file kyra_mr.h.

◆ _mainMenuItalianFan

const char *const Kyra::KyraEngine_MR::_mainMenuItalianFan
staticprivate
Initial value:
= {
"Nuova Partita",
"Introduzione",
"Carica una partita",
"Esci dal gioco"
}

Definition at line 189 of file kyra_mr.h.

◆ _mainMenuSpanishFan

const char *const Kyra::KyraEngine_MR::_mainMenuSpanishFan
staticprivate
Initial value:
= {
"Nueva Partida",
"Ver Intro",
"Restaurar",
"Finalizar"
}

Definition at line 188 of file kyra_mr.h.

◆ _mainMenuStrings

const char* const* Kyra::KyraEngine_MR::_mainMenuStrings
private

Definition at line 185 of file kyra_mr.h.

◆ _mainMenuStringsSize

int Kyra::KyraEngine_MR::_mainMenuStringsSize
private

Definition at line 186 of file kyra_mr.h.

◆ _malcolmShapeXOffset

int Kyra::KyraEngine_MR::_malcolmShapeXOffset
private

Definition at line 323 of file kyra_mr.h.

◆ _malcolmShapeYOffset

int Kyra::KyraEngine_MR::_malcolmShapeYOffset
private

Definition at line 323 of file kyra_mr.h.

◆ _malcolmsMood

int Kyra::KyraEngine_MR::_malcolmsMood
private

Definition at line 396 of file kyra_mr.h.

◆ _maskPageMaxY

int Kyra::KyraEngine_MR::_maskPageMaxY
private

Definition at line 363 of file kyra_mr.h.

◆ _maskPageMinY

int Kyra::KyraEngine_MR::_maskPageMinY
private

Definition at line 363 of file kyra_mr.h.

◆ _menu

MainMenu* Kyra::KyraEngine_MR::_menu
private

Definition at line 164 of file kyra_mr.h.

◆ _menuAnim

WSAMovie_v2* Kyra::KyraEngine_MR::_menuAnim
private

Definition at line 165 of file kyra_mr.h.

◆ _menuAudioFile

const char* Kyra::KyraEngine_MR::_menuAudioFile
private

Definition at line 114 of file kyra_mr.h.

◆ _menuDirectlyToLoad

bool Kyra::KyraEngine_MR::_menuDirectlyToLoad
private

Definition at line 98 of file kyra_mr.h.

◆ _mrEngineDesc

const KyraEngine_v2::EngineDesc Kyra::KyraEngine_MR::_mrEngineDesc
staticprivate
Initial value:

Definition at line 67 of file kyra_mr.h.

◆ _musicSoundChannel

int Kyra::KyraEngine_MR::_musicSoundChannel
private

Definition at line 112 of file kyra_mr.h.

◆ _newSceneDlgState

byte Kyra::KyraEngine_MR::_newSceneDlgState[40]
private

Definition at line 439 of file kyra_mr.h.

◆ _nextAnimItem

int Kyra::KyraEngine_MR::_nextAnimItem
private

Definition at line 224 of file kyra_mr.h.

◆ _nextIdleAnim

uint32 Kyra::KyraEngine_MR::_nextIdleAnim
private

Definition at line 177 of file kyra_mr.h.

◆ _nextIdleType

bool Kyra::KyraEngine_MR::_nextIdleType
private

Definition at line 219 of file kyra_mr.h.

◆ _noScriptEnter

bool Kyra::KyraEngine_MR::_noScriptEnter
private

Definition at line 342 of file kyra_mr.h.

◆ _noStartupChat

bool Kyra::KyraEngine_MR::_noStartupChat
private

Definition at line 358 of file kyra_mr.h.

◆ _opcodesDialog

Common::Array<const Opcode *> Kyra::KyraEngine_MR::_opcodesDialog
private

Definition at line 466 of file kyra_mr.h.

◆ _optionsFile

uint8* Kyra::KyraEngine_MR::_optionsFile
private

Definition at line 272 of file kyra_mr.h.

◆ _paletteOverlay

uint8* Kyra::KyraEngine_MR::_paletteOverlay
private

Definition at line 505 of file kyra_mr.h.

◆ _restoreCommandLine

bool Kyra::KyraEngine_MR::_restoreCommandLine
private

Definition at line 243 of file kyra_mr.h.

◆ _scaleTable

int Kyra::KyraEngine_MR::_scaleTable[15]
private

Definition at line 382 of file kyra_mr.h.

◆ _sceneDatLayerTable

int8 Kyra::KyraEngine_MR::_sceneDatLayerTable[15]
private

Definition at line 369 of file kyra_mr.h.

◆ _sceneDatPalette

int8 Kyra::KyraEngine_MR::_sceneDatPalette[45]
private

Definition at line 368 of file kyra_mr.h.

◆ _sceneMaxX

int Kyra::KyraEngine_MR::_sceneMaxX
private

Definition at line 362 of file kyra_mr.h.

◆ _sceneMinX

int Kyra::KyraEngine_MR::_sceneMinX
private

Definition at line 362 of file kyra_mr.h.

◆ _scenesFile

uint8* Kyra::KyraEngine_MR::_scenesFile
private

Definition at line 270 of file kyra_mr.h.

◆ _sceneShapeDescs

SceneShapeDesc Kyra::KyraEngine_MR::_sceneShapeDescs[20]
private

Definition at line 377 of file kyra_mr.h.

◆ _sceneShapes

uint8* Kyra::KyraEngine_MR::_sceneShapes[20]
private

Definition at line 333 of file kyra_mr.h.

◆ _sceneStrings

uint8* Kyra::KyraEngine_MR::_sceneStrings
private

Definition at line 275 of file kyra_mr.h.

◆ _score

int Kyra::KyraEngine_MR::_score
private

Definition at line 523 of file kyra_mr.h.

◆ _scoreFile

uint8* Kyra::KyraEngine_MR::_scoreFile
private

Definition at line 268 of file kyra_mr.h.

◆ _scoreFlagTable

int8 Kyra::KyraEngine_MR::_scoreFlagTable[26]
private

Definition at line 529 of file kyra_mr.h.

◆ _scoreMax

int Kyra::KyraEngine_MR::_scoreMax
private

Definition at line 524 of file kyra_mr.h.

◆ _scoreTable

const uint8* Kyra::KyraEngine_MR::_scoreTable
private

Definition at line 526 of file kyra_mr.h.

◆ _scoreTableSize

int Kyra::KyraEngine_MR::_scoreTableSize
private

Definition at line 527 of file kyra_mr.h.

◆ _screen

Screen_MR* Kyra::KyraEngine_MR::_screen
private

Definition at line 82 of file kyra_mr.h.

◆ _sfxFileList

const char* const* Kyra::KyraEngine_MR::_sfxFileList
private

Definition at line 128 of file kyra_mr.h.

◆ _sfxFileListSize

int Kyra::KyraEngine_MR::_sfxFileListSize
private

Definition at line 129 of file kyra_mr.h.

◆ _sfxFileMap

const uint8* Kyra::KyraEngine_MR::_sfxFileMap
private

Definition at line 126 of file kyra_mr.h.

◆ _sfxFileMapSize

int Kyra::KyraEngine_MR::_sfxFileMapSize
private

Definition at line 127 of file kyra_mr.h.

◆ _shapeDescs

const KyraEngine_MR::ShapeDesc Kyra::KyraEngine_MR::_shapeDescs
staticprivate
Initial value:
= {
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 82, 96, -43, -86 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 69, 91, -31, -82 },
{ 57, 91, -31, -82 },
{ 57, 91, -31, -82 }
}

Definition at line 329 of file kyra_mr.h.

◆ _shapeDescsSize

const int Kyra::KyraEngine_MR::_shapeDescsSize = ARRAYSIZE(KyraEngine_MR::_shapeDescs)
staticprivate

Definition at line 330 of file kyra_mr.h.

◆ _shownMessage

const char* Kyra::KyraEngine_MR::_shownMessage
private

Definition at line 242 of file kyra_mr.h.

◆ _soundDigital

SoundDigital_MR* Kyra::KyraEngine_MR::_soundDigital
private

Definition at line 83 of file kyra_mr.h.

◆ _soundList

const char* const* Kyra::KyraEngine_MR::_soundList
private

Definition at line 116 of file kyra_mr.h.

◆ _soundListSize

int Kyra::KyraEngine_MR::_soundListSize
private

Definition at line 117 of file kyra_mr.h.

◆ _stringBuffer

char* Kyra::KyraEngine_MR::_stringBuffer
private

Definition at line 521 of file kyra_mr.h.

◆ _talkObjectList

TalkObject* Kyra::KyraEngine_MR::_talkObjectList
private

Definition at line 412 of file kyra_mr.h.

◆ _text

TextDisplayer_MR* Kyra::KyraEngine_MR::_text
private

Definition at line 657 of file kyra_mr.h.

◆ _trashItemList

const Item Kyra::KyraEngine_MR::_trashItemList
staticprivate
Initial value:
= {
0x1E, 0x1D, 0x1C, 0x1F, 0x0F, 0x05, 0x04, 0x00,
0x03, 0x22, 0x0B, 0x20, 0x21, 0x10, 0x11, 0x3A,
0x39, 0x40, 0x3E, 0x3D, 0x3C, 0x3F, kItemNone
}

Definition at line 284 of file kyra_mr.h.

◆ _useActorBuffer

bool Kyra::KyraEngine_MR::_useActorBuffer
private

Definition at line 506 of file kyra_mr.h.

◆ _useFrameTable

bool Kyra::KyraEngine_MR::_useFrameTable
private

Definition at line 494 of file kyra_mr.h.

◆ _vocHighTable

const uint8 Kyra::KyraEngine_MR::_vocHighTable
staticprivate
Initial value:
= {
0x64, 0x76, 0x82, 0x83, 0x92
}

Definition at line 451 of file kyra_mr.h.

◆ _voiceSoundChannel

int Kyra::KyraEngine_MR::_voiceSoundChannel
private

Definition at line 131 of file kyra_mr.h.

◆ _wasPlayingVQA

bool Kyra::KyraEngine_MR::_wasPlayingVQA
private

Definition at line 658 of file kyra_mr.h.


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