ScummVM
Mortevielle::MortevielleEngine Class Reference

#include <mortevielle.h>

Inheritance diagram for Mortevielle::MortevielleEngine:
Collaboration diagram for Mortevielle::MortevielleEngine:

Public Member Functions

 MortevielleEngine (OSystem *system, const MortevielleGameDescription *gameDesc)
 
 ~MortevielleEngine ()
 
virtual bool hasFeature (EngineFeature f) const
 Specifies whether the engine supports given features. More...
 
virtual bool canLoadGameStateCurrently ()
 Return true if a game can currently be loaded. More...
 
virtual bool canSaveGameStateCurrently ()
 Return true if a game can currently be saved. More...
 
virtual Common::Error loadGameState (int slot)
 Load in a savegame at the specified slot number. More...
 
virtual Common::Error saveGameState (int slot, const Common::String &desc)
 Save the current game. More...
 
virtual Common::Error run ()
 Init the engine and start its main loop. More...
 
virtual void pauseEngineIntern (bool pause)
 Pause the game. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
uint32 getGameFlags () const
 
Common::Language getLanguage () const
 
Common::Language getOriginalLanguage () const
 
bool useOriginalData () const
 
Common::String generateSaveFilename (int slot)
 
int getChar ()
 Wait for a keypress. More...
 
bool keyPressed ()
 Check is a key was pressed It also delays the engine and check if the screen has to be updated. More...
 
Common::Point getMousePos () const
 
void setMousePos (const Common::Point &pt)
 Sets the mouse position. More...
 
bool getMouseClick () const
 
void setMouseClick (bool v)
 
Common::String getEngineString (int idx) const
 
Common::String getGameString (int idx) const
 
void delay (int amount)
 Delay by a given amount. More...
 
void gameLoaded ()
 Called when a savegame has been loaded. More...
 
void initGame ()
 Engine function - initGame. More...
 
void displayAloneText ()
 Shows the "you are alone" message in the status area on the right hand side of the screen. More...
 
void displayInterScreenMessage (int mesgId)
 Display a message switching from a screen to another. More...
 
void draw (int x, int y)
 Draw picture. More...
 
void charToHour ()
 Engine function - extract time from a char. More...
 
void hourToChar ()
 Engine function - Transform time into a char. More...
 
Common::String getString (int num)
 Decode and extract the line with the given Id. More...
 
void setPal (int n)
 Engine function - Set the palette. More...
 
Common::String copy (const Common::String &s, int idx, size_t size)
 Returns a substring of the given string. More...
 
void testKeyboard ()
 Test Keyboard. More...
 
int getPresence (int roomId)
 Get Presence. More...
 
void displayEmptyHand ()
 Display empty hand. More...
 
void displayPicture (const byte *pic, int x, int y)
 Display picture at a given coordinate. More...
 
int gettKeyPressed ()
 Test Key Pressed. More...
 
void handleDescriptionText (int f, int mesgId)
 Display description text. More...
 
int getAnimOffset (int frameNum, int animNum)
 Returns the offset within the compressed image data resource of the desired image. More...
 
void clearScreen ()
 Clear Screen. More...
 
- 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 syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
 
virtual void 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...
 

Static Public Member Functions

static Common::String generateSaveFilename (const Common::String &target, int slot)
 Support method that generates a savegame name. 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

Common::Point _prevPos
 
int _currMenu
 
int _currAction
 
int _drawingSizeArr [108]
 
int _charAnswerCount [9]
 
int _charAnswerMax [9]
 
byte _tabdon [4001]
 
bool _soundOff
 
bool _outsideOnlyFl
 
bool _destinationOk
 
bool _largestClearScreen
 
float _addFix
 
int _savedBitIndex
 
int _numpal
 
int _key
 
bool _mouseClick
 
SaveStruct _coreVar
 
SaveStruct _saveStruct
 
int _maff
 
int _caff
 
int _crep
 
int _is
 
byte _destinationArray [7][25]
 
byte_curPict
 
byte_curAnim
 
byte_rightFramePict
 
PaletteManager _paletteManager
 
GfxSurface _backgroundSurface
 
Common::RandomSource _randomSource
 
Debugger_debugger
 
ScreenSurface_screenSurface
 
SoundManager_soundManager
 
SavegameManager_savegameManager
 
Menu_menu
 
MouseHandler_mouse
 
TextHandler_text
 
DialogManager_dialogManager
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Private Member Functions

Common::ErrorCode initialize ()
 Initialize the game state. More...
 
Common::ErrorCode loadMortDat ()
 Loads the contents of the mort.dat data file. More...
 
void readStaticStrings (Common::File &f, int dataSize, DataType dataType)
 Read in a static strings block, and if the language matches, load up the static strings. More...
 
void loadFont (Common::File &f)
 
bool handleEvents ()
 Handle pending events. More...
 
void addKeypress (Common::Event &evt)
 Add the specified key to the pending keypress stack. More...
 
void initMouse ()
 Initialize the mouse. More...
 
void showIntroduction ()
 Show the game introduction. More...
 
void mainGame ()
 Main game loop. More...
 
void playGame ()
 This method handles playing a loaded game. More...
 
void handleAction ()
 Waits for the user to select an action, and then handles it. More...
 
void loadPalette ()
 Engine function - Load Palette from File. More...
 
void loadTexts ()
 Engine function - Load Texts from File. More...
 
void loadCFIEC ()
 
void loadCFIPH ()
 
void showTitleScreen ()
 Engine function - Show title screen. More...
 
int readclock ()
 Read the current system time. More...
 
void palette (int v1)
 
int checkLeoMaxRandomPresence ()
 Set a random presence: Leo or Max. More...
 
void interactNPC ()
 Interact with NPC. More...
 
void initCaveOrCellar ()
 Init room : Cave or Cellar. More...
 
void displayControlMenu ()
 Display control menu string. More...
 
void displayItemInHand (int objId)
 Display item in hand. More...
 
void resetRoomVariables (int roomId)
 Reset room variables. More...
 
int getPresenceStats (int &rand, int faithScore, int roomId)
 Compute presence stats. More...
 
void setPresenceFlags (int roomId)
 Set presence flags. More...
 
void testKey (bool d)
 Engine function - Place. More...
 
void exitRoom ()
 Exit room. More...
 
void getReadDescription (int objId)
 get 'read' description More...
 
void getSearchDescription (int objId)
 get 'search' description More...
 
int checkLeaveSecretPassage ()
 Check before leaving the secret passage. More...
 
void startDialog (int16 rep)
 Engine function - Start non interactive Dialog. More...
 
void endSearch ()
 Engine function - End of Search: reset globals. More...
 
int convertCharacterIndexToBitIndex (int characterIndex)
 Engine function - Convert character index to bit index. More...
 
int convertBitIndexToCharacterIndex (int bitIndex)
 Engine function - Convert bit index to character index. More...
 
void clearUpperLeftPart ()
 Engine function - Clear upper left part of Screen - Type 1. More...
 
void clearDescriptionBar ()
 Engine function - Clear low bar used by description. More...
 
void clearVerbBar ()
 Engine function - Clear lowest bar used by verbs. More...
 
void clearUpperRightPart ()
 Engine function - Clear upper right part of the screen. More...
 
int getRandomNumber (int minval, int maxval)
 Engine function - Get a random number between two values. More...
 
void showMoveMenuAlert ()
 Engine function - Show alert "use move menu". More...
 
void showConfigScreen ()
 The original engine used this method to display a starting text screen letting the player select the graphics mode to use. More...
 
void decodeNumber (byte *pStart, int count)
 Decodes a number of 64 byte blocks. More...
 
void resetVariables ()
 Engine function - When restarting the game, reset the main variables used by the engine. More...
 
void music ()
 Engine function - Play Music. More...
 
void drawRightFrame ()
 Draw right frame. More...
 
void prepareRoom ()
 Engine function - Prepare room and hint string. More...
 
void drawClock ()
 Engine function - Draw Clock. More...
 
void checkManorDistance ()
 Engine function - Check Manor distance (in the mountains) More...
 
void gotoManorFront ()
 Engine function - Go to Manor front. More...
 
void gotoManorBack ()
 Engine function - Go to Manor back. More...
 
void gotoDiningRoom ()
 Engine function - Go to Dining room. More...
 
bool checkInventory (int objectId)
 Engine function - Check inventory for a given object. More...
 
void loseGame ()
 Engine function - You lose! More...
 
void floodedInWell ()
 Engine function - Dead : Flooded in Well. More...
 
void displayDiningRoom ()
 Engine function - Display Dining Room. More...
 
void startMusicOrSpeech (int so)
 Start music or speech. More...
 
void setTextColor (int col)
 Set Text Color. More...
 
void prepareScreenType1 ()
 Prepare screen - Type 1! More...
 
void prepareScreenType2 ()
 Prepare room - Type 2! More...
 
void prepareScreenType3 ()
 Prepare room - Type 3! More...
 
void updateHour (int &day, int &hour, int &minute)
 Engine function - Update hour. More...
 
void getKnockAnswer ()
 Engine function - Get the answer after you known a door. More...
 
int getPresenceStatsGreenRoom ()
 Engine function - Get Presence Statistics - Green Room. More...
 
int getPresenceStatsPurpleRoom ()
 Engine function - Get Presence Statistics - Purple Room. More...
 
int getPresenceStatsToilets ()
 Engine function - Get Presence Statistics - Toilets. More...
 
int getPresenceStatsBlueRoom ()
 Engine function - Get Presence Statistics - Blue Room. More...
 
int getPresenceStatsRedRoom ()
 Engine function - Get Presence Statistics - Red Room. More...
 
int getPresenceStatsDiningRoom (int &hour)
 Engine function - Get Presence Statistics - Room Bureau. More...
 
int getPresenceStatsBureau (int &hour)
 Engine function - Get Presence Statistics - Room Bureau. More...
 
int getPresenceStatsKitchen ()
 Engine function - Get Presence Statistics - Room Kitchen. More...
 
int getPresenceStatsAttic ()
 Engine function - Get Presence Statistics - Room Attic. More...
 
int getPresenceStatsLanding ()
 Engine function - Get Presence Statistics - Room Landing. More...
 
int getPresenceStatsChapel (int &hour)
 Engine function - Get Presence Statistics - Room Chapel. More...
 
int getPresenceBitIndex (int roomId)
 Engine function - Get Room Presence Bit Index. More...
 
void setPresenceGreenRoom (int roomId)
 Engine function - Check who is in the Green Room. More...
 
void setPresencePurpleRoom ()
 Engine function - Check who is in the Purple Room. More...
 
void setPresenceBlueRoom ()
 Engine function - Check who is in the Blue Room. More...
 
void setPresenceRedRoom (int roomId)
 Engine function - Check who is in the Red Room. More...
 
int setPresenceDiningRoom (int hour)
 Engine function - Check who is in the Dining Room. More...
 
int setPresenceBureau (int hour)
 Engine function - Check who is in the Bureau. More...
 
int setPresenceKitchen ()
 Engine function - Check who is in the Kitchen. More...
 
int setPresenceLanding ()
 Engine function - Check who is in the Landing. More...
 
int setPresenceChapel (int hour)
 Engine function - Check who is in the chapel. More...
 
void setRandomPresenceGreenRoom (int faithScore)
 Engine function - Set Random Presence - Green Room. More...
 
void setRandomPresencePurpleRoom (int faithScore)
 Engine function - Set Random Presence - Purple Room. More...
 
void setRandomPresenceBlueRoom (int faithScore)
 Engine function - Set Random Presence - Blue Room. More...
 
void setRandomPresenceRedRoom (int faithScore)
 Engine function - Set Random Presence - Red Room. More...
 
void setRandomPresenceJuliaRoom (int faithScore)
 Engine function - Set Random Presence - Room 9. More...
 
void setRandomPresenceDiningRoom (int faithScore)
 Engine function - Set Random Presence - Dining Room. More...
 
void setRandomPresenceBureau (int faithScore)
 Engine function - Set Random Presence - Bureau. More...
 
void setRandomPresenceKitchen (int faithScore)
 Engine function - Set Random Presence - Kitchen. More...
 
void setRandomPresenceAttic (int faithScore)
 Engine function - Set Random Presence - Attic / Cellar. More...
 
void setRandomPresenceLanding (int faithScore)
 Engine function - Set Random Presence - Landing. More...
 
void setRandomPresenceChapel (int faithScore)
 Engine function - Set Random Presence - Chapel. More...
 
void loadPlaces ()
 Engine function - Init Places. More...
 
void resetPresenceInRooms (int roomId)
 Engine function - Reset presence in other rooms. More...
 
void showPeoplePresent (int bitIndex)
 Engine function - Show the people present in the given room. More...
 
int selectCharacters (int min, int max)
 Engine function - Select random characters. More...
 
void fctMove ()
 Engine function - Move. More...
 
void fctTake ()
 Engine function - Take. More...
 
void fctInventoryTake ()
 Engine function - Inventory / Take. More...
 
void fctLift ()
 Engine function - Lift. More...
 
void fctRead ()
 Engine function - Read. More...
 
void fctSelfRead ()
 Engine function - Self / Read. More...
 
void fctLook ()
 Engine function - Look. More...
 
void fctSelftLook ()
 Engine function - Self / Look. More...
 
void fctSearch ()
 Engine function - Search. More...
 
void fctSelfSearch ()
 Engine function - Self / Search. More...
 
void fctOpen ()
 Engine function - Open. More...
 
void fctPlace ()
 Engine function - Place. More...
 
void fctTurn ()
 Engine function - Turn. More...
 
void fctSelfHide ()
 Engine function - Hide Self. More...
 
void fctAttach ()
 Engine function - Attach. More...
 
void fctClose ()
 Engine function - Close. More...
 
void fctKnock ()
 Engine function - Knock. More...
 
void fctSelfPut ()
 Engine function - Self / Put. More...
 
void fctListen ()
 Engine function - Listen. More...
 
void fctEat ()
 Engine function - Eat. More...
 
void fctEnter ()
 Engine function - Enter. More...
 
void fctSleep ()
 Engine function - Sleep. More...
 
void fctForce ()
 Engine function - Force. More...
 
void fctLeave ()
 Engine function - Leave. More...
 
void fctWait ()
 Engine function - Wait. More...
 
void fctSound ()
 Engine function - Sound. More...
 
void fctDiscuss ()
 Engine function - Discuss. More...
 
void fctSmell ()
 Engine function - Smell. More...
 
void fctScratch ()
 Engine function - Scratch. More...
 
void endGame ()
 The game is over. More...
 
void askRestart ()
 You lost! More...
 
void handleOpcode ()
 Engine function - Handle OpCodes. More...
 
void prepareDisplayText ()
 Prepare Display Text. More...
 
bool decryptNextChar (char &c, int &idx, byte &pt)
 Decrypt the next character. More...
 
void displayStatusArrow ()
 Display Arrow status. More...
 
void displayStatusInDescriptionBar (char stat)
 Display status character in description bar. More...
 
void displayQuestionText (Common::String s, int cmd)
 Display Question String. More...
 
void displayTextInDescriptionBar (int x, int y, int nb, int mesgId)
 Display text in description bar. More...
 
void displayTextInVerbBar (Common::String text)
 
void displayTextBlock (Common::String text)
 Display Text Block. More...
 
void mapMessageId (int &mesgId)
 Recompute message Id. More...
 
void resetOpenObjects ()
 Initialize open objects array. More...
 
void setCoordinates (int sx)
 Set coordinates. More...
 
void drawPicture ()
 Draw Picture. More...
 
void drawPictureWithText ()
 
void addObjectToInventory (int objectId)
 Check if inventory is full and, if not, add object in it. More...
 
void putInHand (int &objId)
 Engine function - Put in hand. More...
 
void initMaxAnswer ()
 Initialize max answers per character. More...
 
void displayAnimFrame (int frameNum, int animId)
 Display animation frame. More...
 
int getFirstObject ()
 Search - Get the first object. More...
 
void prepareNextObject ()
 Search - Prepare next object. More...
 
void putObject ()
 Try to put an object somewhere. More...
 
void resetObjectPlace ()
 Reset object place. More...
 
void resetCoreVar ()
 
void drawDiscussionBox ()
 Draw discussion box. More...
 
void displayNarrativePicture (int af, int ob)
 Display Narrative Picture. More...
 
void menuUp ()
 Menu up. More...
 
void displayLookScreen (int objId)
 Display LOOK Screen. More...
 
void adzon ()
 

Private Attributes

const MortevielleGameDescription_gameDescription
 
Common::Stack< int_keypresses
 
uint32 _lastGameFrame
 
Common::Point _mousePos
 
Common::StringArray _engineStrings
 
Common::StringArray _gameStrings
 
int _menuOpcode
 
bool _inMainGameLoop
 
bool _quitGame
 
bool _endGame
 
bool _loseGame
 
bool _txxFileFl
 
bool _roomPresenceLuc
 
bool _roomPresenceIda
 
bool _purpleRoomPresenceLeo
 
bool _roomPresenceGuy
 
bool _roomPresenceEva
 
bool _roomPresenceMax
 
bool _roomPresenceBob
 
bool _roomPresencePat
 
bool _toiletsPresenceBobMax
 
bool _bathRoomPresenceBobMax
 
bool _juliaRoomPresenceLeo
 
bool _hiddenHero
 
bool _heroSearching
 
bool _keyPressedEsc
 
bool _reloadCFIEC
 
bool _col
 
bool _syn
 
bool _obpart
 
bool _anyone
 
bool _uptodatePresence
 
int _textColor
 
int _place
 
int _manorDistance
 
int _currBitIndex
 
int _currDay
 
int _currHour
 
int _currHalfHour
 
int _day
 
int _hour
 
int _minute
 
int _curSearchObjId
 
int _controlMenu
 
int _startTime
 
int _endTime
 
Common::Point _stdPal [91][17]
 
int _x26KeyCount
 
int _roomDoorId
 
int _openObjCount
 
int _takeObjCount
 
int _num
 
int _searchCount
 
bool _introSpeechPlayed
 
int _inGameHourDuration
 
int _x
 
int _y
 
int _currentHourCount
 
int _currentTime
 
int _pauseStartTime
 
Common::String _hintPctMessage
 
byte_cfiecBuffer
 
int _cfiecBufferSize
 
int _openObjects [7]
 
uint16 _dialogIndexArray [kMaxDialogIndex+1]
 
Hint _dialogHintArray [kMaxDialogHint+1]
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsJoystick
}
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Detailed Description

Definition at line 163 of file mortevielle.h.

Constructor & Destructor Documentation

◆ MortevielleEngine()

Mortevielle::MortevielleEngine::MortevielleEngine ( OSystem system,
const MortevielleGameDescription gameDesc 
)

Definition at line 50 of file mortevielle.cpp.

◆ ~MortevielleEngine()

Mortevielle::MortevielleEngine::~MortevielleEngine ( )

Definition at line 156 of file mortevielle.cpp.

Member Function Documentation

◆ addKeypress()

void Mortevielle::MortevielleEngine::addKeypress ( Common::Event evt)
private

Add the specified key to the pending keypress stack.

Definition at line 117 of file utils.cpp.

◆ addObjectToInventory()

void Mortevielle::MortevielleEngine::addObjectToInventory ( int  objectId)
private

Check if inventory is full and, if not, add object in it.

Remarks
Originally called 'ajjer'

Definition at line 3166 of file utils.cpp.

◆ adzon()

void Mortevielle::MortevielleEngine::adzon ( )
private

Definition at line 2451 of file utils.cpp.

◆ askRestart()

void Mortevielle::MortevielleEngine::askRestart ( )
private

You lost!

Remarks
Originally called 'tencore'

Definition at line 1695 of file actions.cpp.

◆ canLoadGameStateCurrently()

bool Mortevielle::MortevielleEngine::canLoadGameStateCurrently ( )
virtual

Return true if a game can currently be loaded.

Reimplemented from Engine.

Definition at line 184 of file mortevielle.cpp.

◆ canSaveGameStateCurrently()

bool Mortevielle::MortevielleEngine::canSaveGameStateCurrently ( )
virtual

Return true if a game can currently be saved.

Reimplemented from Engine.

Definition at line 192 of file mortevielle.cpp.

◆ charToHour()

void Mortevielle::MortevielleEngine::charToHour ( )

Engine function - extract time from a char.

Remarks
Originally called 'theure'

Definition at line 1628 of file utils.cpp.

◆ checkInventory()

bool Mortevielle::MortevielleEngine::checkInventory ( int  objectId)
private

Engine function - Check inventory for a given object.

Remarks
Originally called 'cherjer'

Definition at line 1308 of file utils.cpp.

◆ checkLeaveSecretPassage()

int Mortevielle::MortevielleEngine::checkLeaveSecretPassage ( )
private

Check before leaving the secret passage.

Remarks
Originally called 't23coul'

Definition at line 3417 of file utils.cpp.

◆ checkLeoMaxRandomPresence()

int Mortevielle::MortevielleEngine::checkLeoMaxRandomPresence ( )
private

Set a random presence: Leo or Max.

Remarks
Originally called 'chlm'

Definition at line 2683 of file utils.cpp.

◆ checkManorDistance()

void Mortevielle::MortevielleEngine::checkManorDistance ( )
private

Engine function - Check Manor distance (in the mountains)

Remarks
Originally called 't1neig'

Definition at line 1411 of file utils.cpp.

◆ clearDescriptionBar()

void Mortevielle::MortevielleEngine::clearDescriptionBar ( )
private

Engine function - Clear low bar used by description.

Remarks
Originally called 'clsf2'

Definition at line 1655 of file utils.cpp.

◆ clearScreen()

void Mortevielle::MortevielleEngine::clearScreen ( void  )

Clear Screen.

Remarks
Originally called 'hirs'

Definition at line 2407 of file utils.cpp.

◆ clearUpperLeftPart()

void Mortevielle::MortevielleEngine::clearUpperLeftPart ( )
private

Engine function - Clear upper left part of Screen - Type 1.

Remarks
Originally called 'clsf1'

Definition at line 1645 of file utils.cpp.

◆ clearUpperRightPart()

void Mortevielle::MortevielleEngine::clearUpperRightPart ( )
private

Engine function - Clear upper right part of the screen.

Remarks
Originally called 'clsf10'

Definition at line 1683 of file utils.cpp.

◆ clearVerbBar()

void Mortevielle::MortevielleEngine::clearVerbBar ( )
private

Engine function - Clear lowest bar used by verbs.

Remarks
Originally called 'clsf3'

Definition at line 1672 of file utils.cpp.

◆ convertBitIndexToCharacterIndex()

int Mortevielle::MortevielleEngine::convertBitIndexToCharacterIndex ( int  bitIndex)
private

Engine function - Convert bit index to character index.

Remarks
Originally called 'tip'

Definition at line 442 of file utils.cpp.

◆ convertCharacterIndexToBitIndex()

int Mortevielle::MortevielleEngine::convertCharacterIndexToBitIndex ( int  characterIndex)
private

Engine function - Convert character index to bit index.

Remarks
Originally called 'conv'

Definition at line 434 of file utils.cpp.

◆ copy()

Common::String Mortevielle::MortevielleEngine::copy ( const Common::String s,
int  idx,
size_t  size 
)

Returns a substring of the given string.

Parameters
sSource string
idxStarting index (1 based)
sizeNumber of characters to return

Definition at line 2391 of file utils.cpp.

◆ decodeNumber()

void Mortevielle::MortevielleEngine::decodeNumber ( byte pStart,
int  count 
)
private

Decodes a number of 64 byte blocks.

Parameters
pStartStart of data
countNumber of 64 byte blocks
Remarks
Originally called 'zzuul'

Definition at line 1753 of file utils.cpp.

◆ decryptNextChar()

bool Mortevielle::MortevielleEngine::decryptNextChar ( char &  c,
int idx,
byte pt 
)
private

Decrypt the next character.

Parameters
cOUT, next decrypted char
idxIN/OUT, current buffer index
ptIN/OUT, current encryption point
Returns
a boolean specifying if a stop character has been encountered
Remarks
Originally called 'cinq_huit'

Definition at line 1823 of file utils.cpp.

◆ delay()

void Mortevielle::MortevielleEngine::delay ( int  amount)

Delay by a given amount.

Definition at line 234 of file utils.cpp.

◆ displayAloneText()

void Mortevielle::MortevielleEngine::displayAloneText ( )

Shows the "you are alone" message in the status area on the right hand side of the screen.

Remarks
Originally called 'person'

Definition at line 701 of file utils.cpp.

◆ displayAnimFrame()

void Mortevielle::MortevielleEngine::displayAnimFrame ( int  frameNum,
int  animId 
)
private

Display animation frame.

Remarks
Originally called 'aniof'

Definition at line 2886 of file utils.cpp.

◆ displayControlMenu()

void Mortevielle::MortevielleEngine::displayControlMenu ( )
private

Display control menu string.

Remarks
Originally called 'tctrm'

Definition at line 2436 of file utils.cpp.

◆ displayDiningRoom()

void Mortevielle::MortevielleEngine::displayDiningRoom ( )
private

Engine function - Display Dining Room.

Remarks
Originally called 'st1sama'

Definition at line 1323 of file utils.cpp.

◆ displayEmptyHand()

void Mortevielle::MortevielleEngine::displayEmptyHand ( )

Display empty hand.

Remarks
Originally called 'maivid'

Definition at line 2674 of file utils.cpp.

◆ displayInterScreenMessage()

void Mortevielle::MortevielleEngine::displayInterScreenMessage ( int  mesgId)

Display a message switching from a screen to another.

Remarks
Originally called 'messint'

Definition at line 3025 of file utils.cpp.

◆ displayItemInHand()

void Mortevielle::MortevielleEngine::displayItemInHand ( int  objId)
private

Display item in hand.

Remarks
Originally called 'modobj'

Definition at line 2660 of file utils.cpp.

◆ displayLookScreen()

void Mortevielle::MortevielleEngine::displayLookScreen ( int  objId)
private

Display LOOK Screen.

Remarks
Originally called 'treg'

Definition at line 3362 of file utils.cpp.

◆ displayNarrativePicture()

void Mortevielle::MortevielleEngine::displayNarrativePicture ( int  af,
int  ob 
)
private

Display Narrative Picture.

Remarks
Originally called 'tlu'

Definition at line 3010 of file utils.cpp.

◆ displayPicture()

void Mortevielle::MortevielleEngine::displayPicture ( const byte pic,
int  x,
int  y 
)

Display picture at a given coordinate.

Remarks
Originally called 'pictout'

Definition at line 2445 of file utils.cpp.

◆ displayQuestionText()

void Mortevielle::MortevielleEngine::displayQuestionText ( Common::String  s,
int  cmd 
)
private

Display Question String.

Remarks
Originally called 'writetp'

Definition at line 2878 of file utils.cpp.

◆ displayStatusArrow()

void Mortevielle::MortevielleEngine::displayStatusArrow ( )
private

Display Arrow status.

Remarks
Originally called 'tfleche'

Definition at line 3267 of file utils.cpp.

◆ displayStatusInDescriptionBar()

void Mortevielle::MortevielleEngine::displayStatusInDescriptionBar ( char  stat)
private

Display status character in description bar.

Remarks
Originally called 'fenat'

Definition at line 3430 of file utils.cpp.

◆ displayTextBlock()

void Mortevielle::MortevielleEngine::displayTextBlock ( Common::String  text)
private

Display Text Block.

Remarks
Originally called 'ecr2'

Definition at line 2626 of file utils.cpp.

◆ displayTextInDescriptionBar()

void Mortevielle::MortevielleEngine::displayTextInDescriptionBar ( int  x,
int  y,
int  nb,
int  mesgId 
)
private

Display text in description bar.

Remarks
Originally called 'text1'

Definition at line 2493 of file utils.cpp.

◆ displayTextInVerbBar()

void Mortevielle::MortevielleEngine::displayTextInVerbBar ( Common::String  text)
private

Definition at line 2650 of file utils.cpp.

◆ draw()

void Mortevielle::MortevielleEngine::draw ( int  x,
int  y 
)

Draw picture.

Remarks
Originally called 'dessine'

Definition at line 2164 of file utils.cpp.

◆ drawClock()

void Mortevielle::MortevielleEngine::drawClock ( )
private

Engine function - Draw Clock.

Remarks
Originally called 'pendule'

Definition at line 2338 of file utils.cpp.

◆ drawDiscussionBox()

void Mortevielle::MortevielleEngine::drawDiscussionBox ( )
private

Draw discussion box.

Remarks
Originally called 'premtet'

Definition at line 3141 of file utils.cpp.

◆ drawPicture()

void Mortevielle::MortevielleEngine::drawPicture ( )
private

Draw Picture.

Remarks
Originally called 'dessin'

Definition at line 2912 of file utils.cpp.

◆ drawPictureWithText()

void Mortevielle::MortevielleEngine::drawPictureWithText ( )
private
Remarks
Originally called 'afdes'

Definition at line 2962 of file utils.cpp.

◆ drawRightFrame()

void Mortevielle::MortevielleEngine::drawRightFrame ( )
private

Draw right frame.

Remarks
Originally called 'dessine_rouleau'

Definition at line 2175 of file utils.cpp.

◆ endGame()

void Mortevielle::MortevielleEngine::endGame ( )
private

The game is over.

Remarks
Originally called 'tmaj1'

Definition at line 1660 of file actions.cpp.

◆ endSearch()

void Mortevielle::MortevielleEngine::endSearch ( )
private

Engine function - End of Search: reset globals.

Remarks
Originally called 'finfouill'

Definition at line 1357 of file utils.cpp.

◆ exitRoom()

void Mortevielle::MortevielleEngine::exitRoom ( )
private

Exit room.

Remarks
Originally called 'tsort'

Definition at line 3054 of file utils.cpp.

◆ fctAttach()

void Mortevielle::MortevielleEngine::fctAttach ( )
private

Engine function - Attach.

Remarks
Originally called 'tattacher'

Definition at line 920 of file actions.cpp.

◆ fctClose()

void Mortevielle::MortevielleEngine::fctClose ( )
private

Engine function - Close.

Remarks
Originally called 'tfermer'

Definition at line 947 of file actions.cpp.

◆ fctDiscuss()

void Mortevielle::MortevielleEngine::fctDiscuss ( )
private

Engine function - Discuss.

Remarks
Originally called 'tparler'

Definition at line 1421 of file actions.cpp.

◆ fctEat()

void Mortevielle::MortevielleEngine::fctEat ( )
private

Engine function - Eat.

Remarks
Originally called 'tmanger'

Definition at line 1168 of file actions.cpp.

◆ fctEnter()

void Mortevielle::MortevielleEngine::fctEnter ( )
private

Engine function - Enter.

Remarks
Originally called 'tentrer'

Definition at line 1209 of file actions.cpp.

◆ fctForce()

void Mortevielle::MortevielleEngine::fctForce ( )
private

Engine function - Force.

Remarks
Originally called 'tdefoncer'

Definition at line 1316 of file actions.cpp.

◆ fctInventoryTake()

void Mortevielle::MortevielleEngine::fctInventoryTake ( )
private

Engine function - Inventory / Take.

Remarks
Originally called 'tsprendre'

Definition at line 352 of file actions.cpp.

◆ fctKnock()

void Mortevielle::MortevielleEngine::fctKnock ( )
private

Engine function - Knock.

Remarks
Originally called 'tfrapper'

Definition at line 988 of file actions.cpp.

◆ fctLeave()

void Mortevielle::MortevielleEngine::fctLeave ( )
private

Engine function - Leave.

Remarks
Originally called 'tsortir'

Definition at line 1336 of file actions.cpp.

◆ fctLift()

void Mortevielle::MortevielleEngine::fctLift ( )
private

Engine function - Lift.

Remarks
Originally called 'tsoulever'

Definition at line 378 of file actions.cpp.

◆ fctListen()

void Mortevielle::MortevielleEngine::fctListen ( )
private

Engine function - Listen.

Remarks
Originally called 'tecouter'

Definition at line 1131 of file actions.cpp.

◆ fctLook()

void Mortevielle::MortevielleEngine::fctLook ( )
private

Engine function - Look.

Remarks
Originally called 'tregarder'

Definition at line 442 of file actions.cpp.

◆ fctMove()

void Mortevielle::MortevielleEngine::fctMove ( )
private

Engine function - Move.

Remarks
Originally called 'taller'

Definition at line 42 of file actions.cpp.

◆ fctOpen()

void Mortevielle::MortevielleEngine::fctOpen ( )
private

Engine function - Open.

Remarks
Originally called 'touvrir'

Definition at line 645 of file actions.cpp.

◆ fctPlace()

void Mortevielle::MortevielleEngine::fctPlace ( )
private

Engine function - Place.

Remarks
Originally called 'tmettre'

Definition at line 727 of file actions.cpp.

◆ fctRead()

void Mortevielle::MortevielleEngine::fctRead ( )
private

Engine function - Read.

Remarks
Originally called 'tlire'

Definition at line 412 of file actions.cpp.

◆ fctScratch()

void Mortevielle::MortevielleEngine::fctScratch ( )
private

Engine function - Scratch.

Remarks
Originally called 'tgratter'

Definition at line 1646 of file actions.cpp.

◆ fctSearch()

void Mortevielle::MortevielleEngine::fctSearch ( )
private

Engine function - Search.

Remarks
Originally called 'tfouiller'

Definition at line 540 of file actions.cpp.

◆ fctSelfHide()

void Mortevielle::MortevielleEngine::fctSelfHide ( )
private

Engine function - Hide Self.

Remarks
Originally called 'tcacher'

Definition at line 901 of file actions.cpp.

◆ fctSelfPut()

void Mortevielle::MortevielleEngine::fctSelfPut ( )
private

Engine function - Self / Put.

Remarks
Originally called 'tposer'

Definition at line 1034 of file actions.cpp.

◆ fctSelfRead()

void Mortevielle::MortevielleEngine::fctSelfRead ( )
private

Engine function - Self / Read.

Remarks
Originally called 'tslire'

Definition at line 431 of file actions.cpp.

◆ fctSelfSearch()

void Mortevielle::MortevielleEngine::fctSelfSearch ( )
private

Engine function - Self / Search.

Remarks
Originally called 'tsfouiller'

Definition at line 634 of file actions.cpp.

◆ fctSelftLook()

void Mortevielle::MortevielleEngine::fctSelftLook ( )
private

Engine function - Self / Look.

Remarks
Originally called 'tsregarder'

Definition at line 529 of file actions.cpp.

◆ fctSleep()

void Mortevielle::MortevielleEngine::fctSleep ( )
private

Engine function - Sleep.

Remarks
Originally called 'tdormir'

Definition at line 1270 of file actions.cpp.

◆ fctSmell()

void Mortevielle::MortevielleEngine::fctSmell ( )
private

Engine function - Smell.

Remarks
Originally called 'tsentir'

Definition at line 1628 of file actions.cpp.

◆ fctSound()

void Mortevielle::MortevielleEngine::fctSound ( )
private

Engine function - Sound.

Remarks
Originally called 'tsonder'

Definition at line 1406 of file actions.cpp.

◆ fctTake()

void Mortevielle::MortevielleEngine::fctTake ( )
private

Engine function - Take.

Remarks
Originally called 'tprendre'

Definition at line 207 of file actions.cpp.

◆ fctTurn()

void Mortevielle::MortevielleEngine::fctTurn ( )
private

Engine function - Turn.

Remarks
Originally called 'ttourner'

Definition at line 861 of file actions.cpp.

◆ fctWait()

void Mortevielle::MortevielleEngine::fctWait ( )
private

Engine function - Wait.

Remarks
Originally called 'tattendre'

Definition at line 1373 of file actions.cpp.

◆ floodedInWell()

void Mortevielle::MortevielleEngine::floodedInWell ( )
private

Engine function - Dead : Flooded in Well.

Remarks
Originally called 't1deau'

Definition at line 1446 of file utils.cpp.

◆ gameLoaded()

void Mortevielle::MortevielleEngine::gameLoaded ( )

Called when a savegame has been loaded.

Remarks
Originally called 'antegame'

Definition at line 1455 of file utils.cpp.

◆ generateSaveFilename() [1/2]

Common::String Mortevielle::MortevielleEngine::generateSaveFilename ( const Common::String target,
int  slot 
)
static

Support method that generates a savegame name.

Parameters
slotSlot number

Definition at line 218 of file mortevielle.cpp.

◆ generateSaveFilename() [2/2]

Common::String Mortevielle::MortevielleEngine::generateSaveFilename ( int  slot)
inline

Definition at line 455 of file mortevielle.h.

◆ getAnimOffset()

int Mortevielle::MortevielleEngine::getAnimOffset ( int  frameNum,
int  animNum 
)

Returns the offset within the compressed image data resource of the desired image.

Remarks
Originally called 'animof'

Definition at line 2480 of file utils.cpp.

◆ getChar()

int Mortevielle::MortevielleEngine::getChar ( )

Wait for a keypress.

Remarks
Originally called 'get_ch'

Definition at line 69 of file utils.cpp.

◆ getDebugger()

virtual GUI::Debugger* Mortevielle::MortevielleEngine::getDebugger ( )
inlinevirtual

Return the engine's debugger instance, if any.

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

Reimplemented from Engine.

Definition at line 449 of file mortevielle.h.

◆ getEngineString()

Common::String Mortevielle::MortevielleEngine::getEngineString ( int  idx) const
inline

Definition at line 463 of file mortevielle.h.

◆ getFirstObject()

int Mortevielle::MortevielleEngine::getFirstObject ( )
private

Search - Get the first object.

Remarks
Originally called 'rechai'

Definition at line 3404 of file utils.cpp.

◆ getGameFlags()

uint32 Mortevielle::MortevielleEngine::getGameFlags ( ) const

Definition at line 36 of file detection.cpp.

◆ getGameString()

Common::String Mortevielle::MortevielleEngine::getGameString ( int  idx) const
inline

Definition at line 464 of file mortevielle.h.

◆ getKnockAnswer()

void Mortevielle::MortevielleEngine::getKnockAnswer ( )
private

Engine function - Get the answer after you known a door.

Remarks
Originally called 'frap'

Definition at line 1028 of file utils.cpp.

◆ getLanguage()

Common::Language Mortevielle::MortevielleEngine::getLanguage ( ) const

Definition at line 38 of file detection.cpp.

◆ getMouseClick()

bool Mortevielle::MortevielleEngine::getMouseClick ( ) const
inline

Definition at line 461 of file mortevielle.h.

◆ getMousePos()

Common::Point Mortevielle::MortevielleEngine::getMousePos ( ) const
inline

Definition at line 459 of file mortevielle.h.

◆ getOriginalLanguage()

Common::Language Mortevielle::MortevielleEngine::getOriginalLanguage ( ) const

Definition at line 40 of file detection.cpp.

◆ getPresence()

int Mortevielle::MortevielleEngine::getPresence ( int  roomId)

Get Presence.

Remarks
Originally called 't11'

Definition at line 2790 of file utils.cpp.

◆ getPresenceBitIndex()

int Mortevielle::MortevielleEngine::getPresenceBitIndex ( int  roomId)
private

Engine function - Get Room Presence Bit Index.

Remarks
Originally called 'nouvp'

Definition at line 1046 of file utils.cpp.

◆ getPresenceStats()

int Mortevielle::MortevielleEngine::getPresenceStats ( int rand,
int  faithScore,
int  roomId 
)
private

Compute presence stats.

Remarks
Originally called 'ecfren'

Definition at line 2708 of file utils.cpp.

◆ getPresenceStatsAttic()

int Mortevielle::MortevielleEngine::getPresenceStatsAttic ( )
private

Engine function - Get Presence Statistics - Room Attic.

Remarks
Originally called 'cpl13'

Definition at line 791 of file utils.cpp.

◆ getPresenceStatsBlueRoom()

int Mortevielle::MortevielleEngine::getPresenceStatsBlueRoom ( )
private

Engine function - Get Presence Statistics - Blue Room.

Remarks
Originally called 'cpl5'

Definition at line 658 of file utils.cpp.

◆ getPresenceStatsBureau()

int Mortevielle::MortevielleEngine::getPresenceStatsBureau ( int hour)
private

Engine function - Get Presence Statistics - Room Bureau.

Remarks
Originally called 'cpl11'

Definition at line 747 of file utils.cpp.

◆ getPresenceStatsChapel()

int Mortevielle::MortevielleEngine::getPresenceStatsChapel ( int hour)
private

Engine function - Get Presence Statistics - Room Chapel.

Remarks
Originally called 'cpl20'

Definition at line 826 of file utils.cpp.

◆ getPresenceStatsDiningRoom()

int Mortevielle::MortevielleEngine::getPresenceStatsDiningRoom ( int hour)
private

Engine function - Get Presence Statistics - Room Bureau.

Remarks
Originally called 'cpl10'

Definition at line 724 of file utils.cpp.

◆ getPresenceStatsGreenRoom()

int Mortevielle::MortevielleEngine::getPresenceStatsGreenRoom ( )
private

Engine function - Get Presence Statistics - Green Room.

Remarks
Originally called 'cpl1'

Definition at line 587 of file utils.cpp.

◆ getPresenceStatsKitchen()

int Mortevielle::MortevielleEngine::getPresenceStatsKitchen ( )
private

Engine function - Get Presence Statistics - Room Kitchen.

Remarks
Originally called 'cpl12'

Definition at line 770 of file utils.cpp.

◆ getPresenceStatsLanding()

int Mortevielle::MortevielleEngine::getPresenceStatsLanding ( )
private

Engine function - Get Presence Statistics - Room Landing.

Remarks
Originally called 'cpl15'

Definition at line 799 of file utils.cpp.

◆ getPresenceStatsPurpleRoom()

int Mortevielle::MortevielleEngine::getPresenceStatsPurpleRoom ( )
private

Engine function - Get Presence Statistics - Purple Room.

Remarks
Originally called 'cpl2'

Definition at line 618 of file utils.cpp.

◆ getPresenceStatsRedRoom()

int Mortevielle::MortevielleEngine::getPresenceStatsRedRoom ( )
private

Engine function - Get Presence Statistics - Red Room.

Remarks
Originally called 'cpl6'

Definition at line 679 of file utils.cpp.

◆ getPresenceStatsToilets()

int Mortevielle::MortevielleEngine::getPresenceStatsToilets ( )
private

Engine function - Get Presence Statistics - Toilets.

Remarks
Originally called 'cpl3'

Definition at line 641 of file utils.cpp.

◆ getRandomNumber()

int Mortevielle::MortevielleEngine::getRandomNumber ( int  minval,
int  maxval 
)
private

Engine function - Get a random number between two values.

Remarks
Originally called 'get_random_number' and 'hazard'

Definition at line 1710 of file utils.cpp.

◆ getReadDescription()

void Mortevielle::MortevielleEngine::getReadDescription ( int  objId)
private

get 'read' description

Remarks
Originally called 'st4'

Definition at line 3073 of file utils.cpp.

◆ getSearchDescription()

void Mortevielle::MortevielleEngine::getSearchDescription ( int  objId)
private

get 'search' description

Remarks
Originally called 'st7'

Definition at line 3107 of file utils.cpp.

◆ getString()

Common::String Mortevielle::MortevielleEngine::getString ( int  num)

Decode and extract the line with the given Id.

Remarks
Originally called 'deline'

Definition at line 1874 of file utils.cpp.

◆ gettKeyPressed()

int Mortevielle::MortevielleEngine::gettKeyPressed ( )

Test Key Pressed.

Remarks
Originally called 'testou'

Definition at line 3450 of file utils.cpp.

◆ gotoDiningRoom()

void Mortevielle::MortevielleEngine::gotoDiningRoom ( )
private

Engine function - Go to Dining room.

Remarks
Originally called 't1sama'

Definition at line 1369 of file utils.cpp.

◆ gotoManorBack()

void Mortevielle::MortevielleEngine::gotoManorBack ( )
private

Engine function - Go to Manor back.

Remarks
Originally called 't1derr'

Definition at line 1437 of file utils.cpp.

◆ gotoManorFront()

void Mortevielle::MortevielleEngine::gotoManorFront ( )
private

Engine function - Go to Manor front.

Remarks
Originally called 't1deva'

Definition at line 1427 of file utils.cpp.

◆ handleAction()

void Mortevielle::MortevielleEngine::handleAction ( )
private

Waits for the user to select an action, and then handles it.

Remarks
Originally called tecran

Definition at line 255 of file utils.cpp.

◆ handleDescriptionText()

void Mortevielle::MortevielleEngine::handleDescriptionText ( int  f,
int  mesgId 
)

Display description text.

Remarks
Originally called 'repon'

Definition at line 2504 of file utils.cpp.

◆ handleEvents()

bool Mortevielle::MortevielleEngine::handleEvents ( )
private

Handle pending events.

Remarks
Since the ScummVM screen surface is double height to handle 640x200 using 640x400, the mouse Y position is divided by 2 to keep the game thinking the Y goes from 0 - 199

Definition at line 85 of file utils.cpp.

◆ handleOpcode()

void Mortevielle::MortevielleEngine::handleOpcode ( )
private

Engine function - Handle OpCodes.

Remarks
Originally called 'tsitu'

Definition at line 1507 of file utils.cpp.

◆ hasFeature()

bool Mortevielle::MortevielleEngine::hasFeature ( EngineFeature  f) const
virtual

Specifies whether the engine supports given features.

Reimplemented from Engine.

Definition at line 174 of file mortevielle.cpp.

◆ hourToChar()

void Mortevielle::MortevielleEngine::hourToChar ( )

Engine function - Transform time into a char.

Remarks
Originally called 'tmaj3'

Definition at line 1613 of file utils.cpp.

◆ initCaveOrCellar()

void Mortevielle::MortevielleEngine::initCaveOrCellar ( )
private

Init room : Cave or Cellar.

Remarks
Originally called 'cavegre'

Definition at line 2415 of file utils.cpp.

◆ initGame()

void Mortevielle::MortevielleEngine::initGame ( )

Engine function - initGame.

Remarks
Originally called 'dprog'

Definition at line 1081 of file utils.cpp.

◆ initialize()

Common::ErrorCode Mortevielle::MortevielleEngine::initialize ( )
private

Initialize the game state.

Definition at line 248 of file mortevielle.cpp.

◆ initMaxAnswer()

void Mortevielle::MortevielleEngine::initMaxAnswer ( )
private

Initialize max answers per character.

Remarks
Originally called 'init_nbrepm'

Definition at line 2777 of file utils.cpp.

◆ initMouse()

void Mortevielle::MortevielleEngine::initMouse ( )
private

Initialize the mouse.

Definition at line 207 of file utils.cpp.

◆ interactNPC()

void Mortevielle::MortevielleEngine::interactNPC ( )
private

Interact with NPC.

Remarks
Originally called 'quelquun'

Definition at line 3184 of file utils.cpp.

◆ keyPressed()

bool Mortevielle::MortevielleEngine::keyPressed ( )

Check is a key was pressed It also delays the engine and check if the screen has to be updated.

Remarks
Originally called 'keypressed'

Definition at line 45 of file utils.cpp.

◆ loadCFIEC()

void Mortevielle::MortevielleEngine::loadCFIEC ( )
private

Definition at line 2064 of file utils.cpp.

◆ loadCFIPH()

void Mortevielle::MortevielleEngine::loadCFIPH ( )
private

Definition at line 2090 of file utils.cpp.

◆ loadFont()

void Mortevielle::MortevielleEngine::loadFont ( Common::File f)
private

◆ loadGameState()

Common::Error Mortevielle::MortevielleEngine::loadGameState ( int  slot)
virtual

Load in a savegame at the specified slot number.

Reimplemented from Engine.

Definition at line 200 of file mortevielle.cpp.

◆ loadMortDat()

Common::ErrorCode Mortevielle::MortevielleEngine::loadMortDat ( )
private

Loads the contents of the mort.dat data file.

Definition at line 301 of file mortevielle.cpp.

◆ loadPalette()

void Mortevielle::MortevielleEngine::loadPalette ( )
private

Engine function - Load Palette from File.

Remarks
Originally called 'charpal'

Definition at line 1977 of file utils.cpp.

◆ loadPlaces()

void Mortevielle::MortevielleEngine::loadPlaces ( )
private

Engine function - Init Places.

Remarks
Originally called 'init_lieu'

Definition at line 365 of file utils.cpp.

◆ loadTexts()

void Mortevielle::MortevielleEngine::loadTexts ( )
private

Engine function - Load Texts from File.

Remarks
Originally called 'chartex'

Definition at line 2013 of file utils.cpp.

◆ loseGame()

void Mortevielle::MortevielleEngine::loseGame ( )
private

Engine function - You lose!

Remarks
Originally called 'tperd'

Definition at line 1285 of file utils.cpp.

◆ mainGame()

void Mortevielle::MortevielleEngine::mainGame ( )
private

Main game loop.

Handles potentially playing the game multiple times, such as if the player loses, and chooses to start playing the game again.

Definition at line 473 of file mortevielle.cpp.

◆ mapMessageId()

void Mortevielle::MortevielleEngine::mapMessageId ( int mesgId)
private

Recompute message Id.

Remarks
Originally called 'modif'

Definition at line 2573 of file utils.cpp.

◆ menuUp()

void Mortevielle::MortevielleEngine::menuUp ( )
private

Menu up.

Remarks
Originally called 'mennor'

Definition at line 3133 of file utils.cpp.

◆ music()

void Mortevielle::MortevielleEngine::music ( )
private

Engine function - Play Music.

Remarks
Originally called 'music'

Definition at line 2110 of file utils.cpp.

◆ palette()

void Mortevielle::MortevielleEngine::palette ( int  v1)
private

Definition at line 2380 of file utils.cpp.

◆ pauseEngineIntern()

void Mortevielle::MortevielleEngine::pauseEngineIntern ( bool  pause)
virtual

Pause the game.

Reimplemented from Engine.

Definition at line 229 of file mortevielle.cpp.

◆ playGame()

void Mortevielle::MortevielleEngine::playGame ( )
private

This method handles playing a loaded game.

Remarks
Originally called tjouer

Definition at line 500 of file mortevielle.cpp.

◆ prepareDisplayText()

void Mortevielle::MortevielleEngine::prepareDisplayText ( )
private

Prepare Display Text.

Remarks
Originally called 'affrep'

Definition at line 3045 of file utils.cpp.

◆ prepareNextObject()

void Mortevielle::MortevielleEngine::prepareNextObject ( )
private

Search - Prepare next object.

Remarks
Originally called 'tsuiv'

Definition at line 3238 of file utils.cpp.

◆ prepareRoom()

void Mortevielle::MortevielleEngine::prepareRoom ( )
private

Engine function - Prepare room and hint string.

Remarks
Originally called 'tinke'

Definition at line 2193 of file utils.cpp.

◆ prepareScreenType1()

void Mortevielle::MortevielleEngine::prepareScreenType1 ( )
private

Prepare screen - Type 1!

Remarks
Originally called 'ecrf1'

Definition at line 392 of file utils.cpp.

◆ prepareScreenType2()

void Mortevielle::MortevielleEngine::prepareScreenType2 ( )
private

Prepare room - Type 2!

Remarks
Originally called 'ecrf2'

Definition at line 401 of file utils.cpp.

◆ prepareScreenType3()

void Mortevielle::MortevielleEngine::prepareScreenType3 ( )
private

Prepare room - Type 3!

Remarks
Originally called 'ecrf7'

Definition at line 409 of file utils.cpp.

◆ putInHand()

void Mortevielle::MortevielleEngine::putInHand ( int objId)
private

Engine function - Put in hand.

Remarks
Originally called 'avpoing'

Definition at line 3387 of file utils.cpp.

◆ putObject()

void Mortevielle::MortevielleEngine::putObject ( )
private

Try to put an object somewhere.

Remarks
Originally called 'ajchai'

Definition at line 3150 of file utils.cpp.

◆ readclock()

int Mortevielle::MortevielleEngine::readclock ( )
private

Read the current system time.

Definition at line 2185 of file utils.cpp.

◆ readStaticStrings()

void Mortevielle::MortevielleEngine::readStaticStrings ( Common::File f,
int  dataSize,
DataType  dataType 
)
private

Read in a static strings block, and if the language matches, load up the static strings.

Definition at line 363 of file mortevielle.cpp.

◆ resetCoreVar()

void Mortevielle::MortevielleEngine::resetCoreVar ( )
private

Definition at line 1910 of file utils.cpp.

◆ resetObjectPlace()

void Mortevielle::MortevielleEngine::resetObjectPlace ( )
private

Reset object place.

Remarks
Originally called 'copcha'

Definition at line 1905 of file utils.cpp.

◆ resetOpenObjects()

void Mortevielle::MortevielleEngine::resetOpenObjects ( )
private

Initialize open objects array.

Remarks
Originally called 'initouv'

Definition at line 2616 of file utils.cpp.

◆ resetPresenceInRooms()

void Mortevielle::MortevielleEngine::resetPresenceInRooms ( int  roomId)
private

Engine function - Reset presence in other rooms.

Remarks
Originally called 't5'

Definition at line 469 of file utils.cpp.

◆ resetRoomVariables()

void Mortevielle::MortevielleEngine::resetRoomVariables ( int  roomId)
private

Reset room variables.

Remarks
Originally called 'debloc'

Definition at line 2695 of file utils.cpp.

◆ resetVariables()

void Mortevielle::MortevielleEngine::resetVariables ( )
private

Engine function - When restarting the game, reset the main variables used by the engine.

Remarks
Originally called 'inzon'

Definition at line 1952 of file utils.cpp.

◆ run()

Common::Error Mortevielle::MortevielleEngine::run ( )
virtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implements Engine.

Definition at line 411 of file mortevielle.cpp.

◆ saveGameState()

Common::Error Mortevielle::MortevielleEngine::saveGameState ( int  slot,
const Common::String desc 
)
virtual

Save the current game.

Reimplemented from Engine.

Definition at line 207 of file mortevielle.cpp.

◆ selectCharacters()

int Mortevielle::MortevielleEngine::selectCharacters ( int  min,
int  max 
)
private

Engine function - Select random characters.

Remarks
Originally called 'choix'

Definition at line 558 of file utils.cpp.

◆ setCoordinates()

void Mortevielle::MortevielleEngine::setCoordinates ( int  sx)
private

Set coordinates.

Remarks
Originally called 'tcoord'

Definition at line 3306 of file utils.cpp.

◆ setMouseClick()

void Mortevielle::MortevielleEngine::setMouseClick ( bool  v)
inline

Definition at line 462 of file mortevielle.h.

◆ setMousePos()

void Mortevielle::MortevielleEngine::setMousePos ( const Common::Point pt)

Sets the mouse position.

Remarks
Since the ScummVM screen surface is double height to handle 640x200 using 640x400, the mouse Y position is doubled to convert from 0-199 to 0-399

Definition at line 219 of file utils.cpp.

◆ setPal()

void Mortevielle::MortevielleEngine::setPal ( int  n)

Engine function - Set the palette.

Remarks
Originally called 'writepal'

Definition at line 1966 of file utils.cpp.

◆ setPresenceBlueRoom()

void Mortevielle::MortevielleEngine::setPresenceBlueRoom ( )
private

Engine function - Check who is in the Blue Room.

Remarks
Originally called 'quelq5'

Definition at line 883 of file utils.cpp.

◆ setPresenceBureau()

int Mortevielle::MortevielleEngine::setPresenceBureau ( int  hour)
private

Engine function - Check who is in the Bureau.

Remarks
Originally called 'quelq11'

Definition at line 936 of file utils.cpp.

◆ setPresenceChapel()

int Mortevielle::MortevielleEngine::setPresenceChapel ( int  hour)
private

Engine function - Check who is in the chapel.

Remarks
Originally called 'quelq20'

Definition at line 1000 of file utils.cpp.

◆ setPresenceDiningRoom()

int Mortevielle::MortevielleEngine::setPresenceDiningRoom ( int  hour)
private

Engine function - Check who is in the Dining Room.

Remarks
Originally called 'quelq10'

Definition at line 905 of file utils.cpp.

◆ setPresenceFlags()

void Mortevielle::MortevielleEngine::setPresenceFlags ( int  roomId)
private

Set presence flags.

Remarks
Originally called 'becfren'

Definition at line 2743 of file utils.cpp.

◆ setPresenceGreenRoom()

void Mortevielle::MortevielleEngine::setPresenceGreenRoom ( int  roomId)
private

Engine function - Check who is in the Green Room.

Remarks
Originally called 'quelq1'

Definition at line 849 of file utils.cpp.

◆ setPresenceKitchen()

int Mortevielle::MortevielleEngine::setPresenceKitchen ( )
private

Engine function - Check who is in the Kitchen.

Remarks
Originally called 'quelq12'

Definition at line 964 of file utils.cpp.

◆ setPresenceLanding()

int Mortevielle::MortevielleEngine::setPresenceLanding ( )
private

Engine function - Check who is in the Landing.

Remarks
Originally called 'quelq15'

Definition at line 975 of file utils.cpp.

◆ setPresencePurpleRoom()

void Mortevielle::MortevielleEngine::setPresencePurpleRoom ( )
private

Engine function - Check who is in the Purple Room.

Remarks
Originally called 'quelq2'

Definition at line 870 of file utils.cpp.

◆ setPresenceRedRoom()

void Mortevielle::MortevielleEngine::setPresenceRedRoom ( int  roomId)
private

Engine function - Check who is in the Red Room.

Remarks
Originally called 'quelq6'

Definition at line 892 of file utils.cpp.

◆ setRandomPresenceAttic()

void Mortevielle::MortevielleEngine::setRandomPresenceAttic ( int  faithScore)
private

Engine function - Set Random Presence - Attic / Cellar.

Remarks
Originally called 'pl13'

Definition at line 1213 of file utils.cpp.

◆ setRandomPresenceBlueRoom()

void Mortevielle::MortevielleEngine::setRandomPresenceBlueRoom ( int  faithScore)
private

Engine function - Set Random Presence - Blue Room.

Remarks
Originally called 'pl5'

Definition at line 1125 of file utils.cpp.

◆ setRandomPresenceBureau()

void Mortevielle::MortevielleEngine::setRandomPresenceBureau ( int  faithScore)
private

Engine function - Set Random Presence - Bureau.

Remarks
Originally called 'pl11'

Definition at line 1184 of file utils.cpp.

◆ setRandomPresenceChapel()

void Mortevielle::MortevielleEngine::setRandomPresenceChapel ( int  faithScore)
private

Engine function - Set Random Presence - Chapel.

Remarks
Originally called 'pl20'

Definition at line 1239 of file utils.cpp.

◆ setRandomPresenceDiningRoom()

void Mortevielle::MortevielleEngine::setRandomPresenceDiningRoom ( int  faithScore)
private

Engine function - Set Random Presence - Dining Room.

Remarks
Originally called 'pl10'

Definition at line 1170 of file utils.cpp.

◆ setRandomPresenceGreenRoom()

void Mortevielle::MortevielleEngine::setRandomPresenceGreenRoom ( int  faithScore)
private

Engine function - Set Random Presence - Green Room.

Remarks
Originally called 'pl1'

Definition at line 1094 of file utils.cpp.

◆ setRandomPresenceJuliaRoom()

void Mortevielle::MortevielleEngine::setRandomPresenceJuliaRoom ( int  faithScore)
private

Engine function - Set Random Presence - Room 9.

Remarks
Originally called 'pl9'

Definition at line 1156 of file utils.cpp.

◆ setRandomPresenceKitchen()

void Mortevielle::MortevielleEngine::setRandomPresenceKitchen ( int  faithScore)
private

Engine function - Set Random Presence - Kitchen.

Remarks
Originally called 'pl12'

Definition at line 1199 of file utils.cpp.

◆ setRandomPresenceLanding()

void Mortevielle::MortevielleEngine::setRandomPresenceLanding ( int  faithScore)
private

Engine function - Set Random Presence - Landing.

Remarks
Originally called 'pl15'

Definition at line 1226 of file utils.cpp.

◆ setRandomPresencePurpleRoom()

void Mortevielle::MortevielleEngine::setRandomPresencePurpleRoom ( int  faithScore)
private

Engine function - Set Random Presence - Purple Room.

Remarks
Originally called 'pl2'

Definition at line 1110 of file utils.cpp.

◆ setRandomPresenceRedRoom()

void Mortevielle::MortevielleEngine::setRandomPresenceRedRoom ( int  faithScore)
private

Engine function - Set Random Presence - Red Room.

Remarks
Originally called 'pl6'

Definition at line 1140 of file utils.cpp.

◆ setTextColor()

void Mortevielle::MortevielleEngine::setTextColor ( int  col)
private

Set Text Color.

Remarks
Originally called 'text_color'

Definition at line 384 of file utils.cpp.

◆ showConfigScreen()

void Mortevielle::MortevielleEngine::showConfigScreen ( )
private

The original engine used this method to display a starting text screen letting the player select the graphics mode to use.

Remarks
Originally called 'dialpre'

Definition at line 1727 of file utils.cpp.

◆ showIntroduction()

void Mortevielle::MortevielleEngine::showIntroduction ( )
private

Show the game introduction.

Definition at line 453 of file mortevielle.cpp.

◆ showMoveMenuAlert()

void Mortevielle::MortevielleEngine::showMoveMenuAlert ( )
private

Engine function - Show alert "use move menu".

Remarks
Originally called 'aldepl'

Definition at line 1718 of file utils.cpp.

◆ showPeoplePresent()

void Mortevielle::MortevielleEngine::showPeoplePresent ( int  bitIndex)
private

Engine function - Show the people present in the given room.

Remarks
Originally called 'affper'

Definition at line 504 of file utils.cpp.

◆ showTitleScreen()

void Mortevielle::MortevielleEngine::showTitleScreen ( )
private

Engine function - Show title screen.

Remarks
Originally called 'suite'

Definition at line 2144 of file utils.cpp.

◆ startDialog()

void Mortevielle::MortevielleEngine::startDialog ( int16  rep)
private

Engine function - Start non interactive Dialog.

Remarks
Originally called 'sparl'

Definition at line 1332 of file utils.cpp.

◆ startMusicOrSpeech()

void Mortevielle::MortevielleEngine::startMusicOrSpeech ( int  so)
private

Start music or speech.

Remarks
Originally called 'musique'

Definition at line 1254 of file utils.cpp.

◆ testKey()

void Mortevielle::MortevielleEngine::testKey ( bool  d)
private

Engine function - Place.

Remarks
Originally called 'tkey1'

Definition at line 2972 of file utils.cpp.

◆ testKeyboard()

void Mortevielle::MortevielleEngine::testKeyboard ( )

Test Keyboard.

Remarks
Originally called 'teskbd'

Definition at line 3441 of file utils.cpp.

◆ updateHour()

void Mortevielle::MortevielleEngine::updateHour ( int day,
int hour,
int minute 
)
private

Engine function - Update hour.

Remarks
Originally called 'calch'

Definition at line 417 of file utils.cpp.

◆ useOriginalData()

bool Mortevielle::MortevielleEngine::useOriginalData ( ) const

Definition at line 42 of file detection.cpp.

Member Data Documentation

◆ _addFix

float Mortevielle::MortevielleEngine::_addFix

Definition at line 409 of file mortevielle.h.

◆ _anyone

bool Mortevielle::MortevielleEngine::_anyone
private

Definition at line 197 of file mortevielle.h.

◆ _backgroundSurface

GfxSurface Mortevielle::MortevielleEngine::_backgroundSurface

Definition at line 428 of file mortevielle.h.

◆ _bathRoomPresenceBobMax

bool Mortevielle::MortevielleEngine::_bathRoomPresenceBobMax
private

Definition at line 188 of file mortevielle.h.

◆ _caff

int Mortevielle::MortevielleEngine::_caff

Definition at line 417 of file mortevielle.h.

◆ _cfiecBuffer

byte* Mortevielle::MortevielleEngine::_cfiecBuffer
private

Definition at line 231 of file mortevielle.h.

◆ _cfiecBufferSize

int Mortevielle::MortevielleEngine::_cfiecBufferSize
private

Definition at line 232 of file mortevielle.h.

◆ _charAnswerCount

int Mortevielle::MortevielleEngine::_charAnswerCount[9]

Definition at line 402 of file mortevielle.h.

◆ _charAnswerMax

int Mortevielle::MortevielleEngine::_charAnswerMax[9]

Definition at line 403 of file mortevielle.h.

◆ _col

bool Mortevielle::MortevielleEngine::_col
private

Definition at line 194 of file mortevielle.h.

◆ _controlMenu

int Mortevielle::MortevielleEngine::_controlMenu
private

Definition at line 211 of file mortevielle.h.

◆ _coreVar

SaveStruct Mortevielle::MortevielleEngine::_coreVar

Definition at line 414 of file mortevielle.h.

◆ _crep

int Mortevielle::MortevielleEngine::_crep

Definition at line 418 of file mortevielle.h.

◆ _curAnim

byte* Mortevielle::MortevielleEngine::_curAnim

Definition at line 424 of file mortevielle.h.

◆ _curPict

byte* Mortevielle::MortevielleEngine::_curPict

Definition at line 423 of file mortevielle.h.

◆ _currAction

int Mortevielle::MortevielleEngine::_currAction

Definition at line 400 of file mortevielle.h.

◆ _currBitIndex

int Mortevielle::MortevielleEngine::_currBitIndex
private

Definition at line 203 of file mortevielle.h.

◆ _currDay

int Mortevielle::MortevielleEngine::_currDay
private

Definition at line 204 of file mortevielle.h.

◆ _currentHourCount

int Mortevielle::MortevielleEngine::_currentHourCount
private

Definition at line 226 of file mortevielle.h.

◆ _currentTime

int Mortevielle::MortevielleEngine::_currentTime
private

Definition at line 227 of file mortevielle.h.

◆ _currHalfHour

int Mortevielle::MortevielleEngine::_currHalfHour
private

Definition at line 206 of file mortevielle.h.

◆ _currHour

int Mortevielle::MortevielleEngine::_currHour
private

Definition at line 205 of file mortevielle.h.

◆ _currMenu

int Mortevielle::MortevielleEngine::_currMenu

Definition at line 399 of file mortevielle.h.

◆ _curSearchObjId

int Mortevielle::MortevielleEngine::_curSearchObjId
private

Definition at line 210 of file mortevielle.h.

◆ _day

int Mortevielle::MortevielleEngine::_day
private

Definition at line 207 of file mortevielle.h.

◆ _debugger

Debugger* Mortevielle::MortevielleEngine::_debugger

Definition at line 431 of file mortevielle.h.

◆ _destinationArray

byte Mortevielle::MortevielleEngine::_destinationArray[7][25]

Definition at line 421 of file mortevielle.h.

◆ _destinationOk

bool Mortevielle::MortevielleEngine::_destinationOk

Definition at line 407 of file mortevielle.h.

◆ _dialogHintArray

Hint Mortevielle::MortevielleEngine::_dialogHintArray[kMaxDialogHint+1]
private

Definition at line 235 of file mortevielle.h.

◆ _dialogIndexArray

uint16 Mortevielle::MortevielleEngine::_dialogIndexArray[kMaxDialogIndex+1]
private

Definition at line 234 of file mortevielle.h.

◆ _dialogManager

DialogManager* Mortevielle::MortevielleEngine::_dialogManager

Definition at line 438 of file mortevielle.h.

◆ _drawingSizeArr

int Mortevielle::MortevielleEngine::_drawingSizeArr[108]

Definition at line 401 of file mortevielle.h.

◆ _endGame

bool Mortevielle::MortevielleEngine::_endGame
private

Definition at line 176 of file mortevielle.h.

◆ _endTime

int Mortevielle::MortevielleEngine::_endTime
private

Definition at line 213 of file mortevielle.h.

◆ _engineStrings

Common::StringArray Mortevielle::MortevielleEngine::_engineStrings
private

Definition at line 169 of file mortevielle.h.

◆ _gameDescription

const MortevielleGameDescription* Mortevielle::MortevielleEngine::_gameDescription
private

Definition at line 165 of file mortevielle.h.

◆ _gameStrings

Common::StringArray Mortevielle::MortevielleEngine::_gameStrings
private

Definition at line 170 of file mortevielle.h.

◆ _heroSearching

bool Mortevielle::MortevielleEngine::_heroSearching
private

Definition at line 191 of file mortevielle.h.

◆ _hiddenHero

bool Mortevielle::MortevielleEngine::_hiddenHero
private

Definition at line 190 of file mortevielle.h.

◆ _hintPctMessage

Common::String Mortevielle::MortevielleEngine::_hintPctMessage
private

Definition at line 230 of file mortevielle.h.

◆ _hour

int Mortevielle::MortevielleEngine::_hour
private

Definition at line 208 of file mortevielle.h.

◆ _inGameHourDuration

int Mortevielle::MortevielleEngine::_inGameHourDuration
private

Definition at line 223 of file mortevielle.h.

◆ _inMainGameLoop

bool Mortevielle::MortevielleEngine::_inMainGameLoop
private

Definition at line 174 of file mortevielle.h.

◆ _introSpeechPlayed

bool Mortevielle::MortevielleEngine::_introSpeechPlayed
private

Definition at line 222 of file mortevielle.h.

◆ _is

int Mortevielle::MortevielleEngine::_is

Definition at line 419 of file mortevielle.h.

◆ _juliaRoomPresenceLeo

bool Mortevielle::MortevielleEngine::_juliaRoomPresenceLeo
private

Definition at line 189 of file mortevielle.h.

◆ _key

int Mortevielle::MortevielleEngine::_key

Definition at line 412 of file mortevielle.h.

◆ _keyPressedEsc

bool Mortevielle::MortevielleEngine::_keyPressedEsc
private

Definition at line 192 of file mortevielle.h.

◆ _keypresses

Common::Stack<int> Mortevielle::MortevielleEngine::_keypresses
private

Definition at line 166 of file mortevielle.h.

◆ _largestClearScreen

bool Mortevielle::MortevielleEngine::_largestClearScreen

Definition at line 408 of file mortevielle.h.

◆ _lastGameFrame

uint32 Mortevielle::MortevielleEngine::_lastGameFrame
private

Definition at line 167 of file mortevielle.h.

◆ _loseGame

bool Mortevielle::MortevielleEngine::_loseGame
private

Definition at line 177 of file mortevielle.h.

◆ _maff

int Mortevielle::MortevielleEngine::_maff

Definition at line 416 of file mortevielle.h.

◆ _manorDistance

int Mortevielle::MortevielleEngine::_manorDistance
private

Definition at line 202 of file mortevielle.h.

◆ _menu

Menu* Mortevielle::MortevielleEngine::_menu

Definition at line 435 of file mortevielle.h.

◆ _menuOpcode

int Mortevielle::MortevielleEngine::_menuOpcode
private

Definition at line 172 of file mortevielle.h.

◆ _minute

int Mortevielle::MortevielleEngine::_minute
private

Definition at line 209 of file mortevielle.h.

◆ _mouse

MouseHandler* Mortevielle::MortevielleEngine::_mouse

Definition at line 436 of file mortevielle.h.

◆ _mouseClick

bool Mortevielle::MortevielleEngine::_mouseClick

Definition at line 413 of file mortevielle.h.

◆ _mousePos

Common::Point Mortevielle::MortevielleEngine::_mousePos
private

Definition at line 168 of file mortevielle.h.

◆ _num

int Mortevielle::MortevielleEngine::_num
private

Definition at line 220 of file mortevielle.h.

◆ _numpal

int Mortevielle::MortevielleEngine::_numpal

Definition at line 411 of file mortevielle.h.

◆ _obpart

bool Mortevielle::MortevielleEngine::_obpart
private

Definition at line 196 of file mortevielle.h.

◆ _openObjCount

int Mortevielle::MortevielleEngine::_openObjCount
private

Definition at line 218 of file mortevielle.h.

◆ _openObjects

int Mortevielle::MortevielleEngine::_openObjects[7]
private

Definition at line 233 of file mortevielle.h.

◆ _outsideOnlyFl

bool Mortevielle::MortevielleEngine::_outsideOnlyFl

Definition at line 406 of file mortevielle.h.

◆ _paletteManager

PaletteManager Mortevielle::MortevielleEngine::_paletteManager

Definition at line 427 of file mortevielle.h.

◆ _pauseStartTime

int Mortevielle::MortevielleEngine::_pauseStartTime
private

Definition at line 228 of file mortevielle.h.

◆ _place

int Mortevielle::MortevielleEngine::_place
private

Definition at line 201 of file mortevielle.h.

◆ _prevPos

Common::Point Mortevielle::MortevielleEngine::_prevPos

Definition at line 398 of file mortevielle.h.

◆ _purpleRoomPresenceLeo

bool Mortevielle::MortevielleEngine::_purpleRoomPresenceLeo
private

Definition at line 181 of file mortevielle.h.

◆ _quitGame

bool Mortevielle::MortevielleEngine::_quitGame
private

Definition at line 175 of file mortevielle.h.

◆ _randomSource

Common::RandomSource Mortevielle::MortevielleEngine::_randomSource

Definition at line 429 of file mortevielle.h.

◆ _reloadCFIEC

bool Mortevielle::MortevielleEngine::_reloadCFIEC
private

Definition at line 193 of file mortevielle.h.

◆ _rightFramePict

byte* Mortevielle::MortevielleEngine::_rightFramePict

Definition at line 425 of file mortevielle.h.

◆ _roomDoorId

int Mortevielle::MortevielleEngine::_roomDoorId
private

Definition at line 217 of file mortevielle.h.

◆ _roomPresenceBob

bool Mortevielle::MortevielleEngine::_roomPresenceBob
private

Definition at line 185 of file mortevielle.h.

◆ _roomPresenceEva

bool Mortevielle::MortevielleEngine::_roomPresenceEva
private

Definition at line 183 of file mortevielle.h.

◆ _roomPresenceGuy

bool Mortevielle::MortevielleEngine::_roomPresenceGuy
private

Definition at line 182 of file mortevielle.h.

◆ _roomPresenceIda

bool Mortevielle::MortevielleEngine::_roomPresenceIda
private

Definition at line 180 of file mortevielle.h.

◆ _roomPresenceLuc

bool Mortevielle::MortevielleEngine::_roomPresenceLuc
private

Definition at line 179 of file mortevielle.h.

◆ _roomPresenceMax

bool Mortevielle::MortevielleEngine::_roomPresenceMax
private

Definition at line 184 of file mortevielle.h.

◆ _roomPresencePat

bool Mortevielle::MortevielleEngine::_roomPresencePat
private

Definition at line 186 of file mortevielle.h.

◆ _savedBitIndex

int Mortevielle::MortevielleEngine::_savedBitIndex

Definition at line 410 of file mortevielle.h.

◆ _savegameManager

SavegameManager* Mortevielle::MortevielleEngine::_savegameManager

Definition at line 434 of file mortevielle.h.

◆ _saveStruct

SaveStruct Mortevielle::MortevielleEngine::_saveStruct

Definition at line 414 of file mortevielle.h.

◆ _screenSurface

ScreenSurface* Mortevielle::MortevielleEngine::_screenSurface

Definition at line 432 of file mortevielle.h.

◆ _searchCount

int Mortevielle::MortevielleEngine::_searchCount
private

Definition at line 221 of file mortevielle.h.

◆ _soundManager

SoundManager* Mortevielle::MortevielleEngine::_soundManager

Definition at line 433 of file mortevielle.h.

◆ _soundOff

bool Mortevielle::MortevielleEngine::_soundOff

Definition at line 405 of file mortevielle.h.

◆ _startTime

int Mortevielle::MortevielleEngine::_startTime
private

Definition at line 212 of file mortevielle.h.

◆ _stdPal

Common::Point Mortevielle::MortevielleEngine::_stdPal[91][17]
private

Definition at line 214 of file mortevielle.h.

◆ _syn

bool Mortevielle::MortevielleEngine::_syn
private

Definition at line 195 of file mortevielle.h.

◆ _tabdon

byte Mortevielle::MortevielleEngine::_tabdon[4001]

Definition at line 404 of file mortevielle.h.

◆ _takeObjCount

int Mortevielle::MortevielleEngine::_takeObjCount
private

Definition at line 219 of file mortevielle.h.

◆ _text

TextHandler* Mortevielle::MortevielleEngine::_text

Definition at line 437 of file mortevielle.h.

◆ _textColor

int Mortevielle::MortevielleEngine::_textColor
private

Definition at line 200 of file mortevielle.h.

◆ _toiletsPresenceBobMax

bool Mortevielle::MortevielleEngine::_toiletsPresenceBobMax
private

Definition at line 187 of file mortevielle.h.

◆ _txxFileFl

bool Mortevielle::MortevielleEngine::_txxFileFl
private

Definition at line 178 of file mortevielle.h.

◆ _uptodatePresence

bool Mortevielle::MortevielleEngine::_uptodatePresence
private

Definition at line 198 of file mortevielle.h.

◆ _x

int Mortevielle::MortevielleEngine::_x
private

Definition at line 224 of file mortevielle.h.

◆ _x26KeyCount

int Mortevielle::MortevielleEngine::_x26KeyCount
private

Definition at line 216 of file mortevielle.h.

◆ _y

int Mortevielle::MortevielleEngine::_y
private

Definition at line 225 of file mortevielle.h.


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