Public Member Functions | |
MortevielleEngine (OSystem *system, const MortevielleGameDescription *gameDesc) | |
bool | hasFeature (EngineFeature f) const override |
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
Common::Error | loadGameState (int slot) override |
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
Common::Error | run () override |
void | pauseEngineIntern (bool pause) override |
uint32 | getGameFlags () const |
Common::Language | getLanguage () const |
Common::Language | getOriginalLanguage () const |
bool | useOriginalData () const |
Common::String | getSaveStateName (int slot) const override |
int | getChar () |
bool | keyPressed () |
Common::Point | getMousePos () const |
void | setMousePos (const Common::Point &pt) |
bool | getMouseClick () const |
void | setMouseClick (bool v) |
Common::String | getEngineString (int idx) const |
Common::String | getGameString (int idx) const |
void | delay (int amount) |
void | gameLoaded () |
void | initGame () |
void | displayAloneText () |
void | displayInterScreenMessage (int mesgId) |
void | draw (int x, int y) |
void | charToHour () |
void | hourToChar () |
Common::String | getString (int num) |
void | setPal (int n) |
Common::String | copy (const Common::String &s, int idx, size_t size) |
void | testKeyboard () |
int | getPresence (int roomId) |
void | displayEmptyHand () |
void | displayPicture (const byte *pic, int x, int y) |
int | gettKeyPressed () |
void | handleDescriptionText (int f, int mesgId) |
int | getAnimOffset (int frameNum, int animNum) |
void | clearScreen () |
Public Member Functions inherited from Engine | |
MetaEngine * | getMetaEngine () const |
void | setMetaEngine (MetaEngine *metaEngine) |
PauseToken | pauseEngine () |
bool | isPaused () const |
void | openMainMenuDialog () |
uint32 | getTotalPlayTime () const |
void | setTotalPlayTime (uint32 time=0) |
Common::TimerManager * | getTimerManager () |
Common::EventManager * | getEventManager () |
Common::SaveFileManager * | getSaveFileManager () |
bool | existExtractedCDAudioFiles (uint track=1) |
bool | isDataAndCDAudioReadFromSameCD () |
void | warnMissingExtractedCDAudio () |
void | handleAutoSave () |
void | saveAutosaveIfEnabled () |
virtual bool | canSaveAutosaveCurrently () |
virtual int | getAutosaveSlot () const |
Engine (OSystem *syst) | |
virtual | ~Engine () |
virtual void | initializePath (const Common::FSNode &gamePath) |
virtual void | errorString (const char *buf_input, char *buf_output, int buf_output_size) |
virtual GUI::Debugger * | getDebugger () final |
void | setDebugger (GUI::Debugger *debugger) |
GUI::Debugger * | getOrCreateDebugger () |
bool | enhancementEnabled (int32 cls) |
virtual void | syncSoundSettings () |
virtual void | applyGameSettings () |
virtual void | flipMute () |
virtual Common::Error | loadGameStream (Common::SeekableReadStream *stream) |
void | setGameToLoadSlot (int slot) |
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
bool | saveGameDialog () |
bool | loadGameDialog () |
Static Public Member Functions | |
static Common::String | generateSaveFilename (const Common::String &target, int slot) |
Static Public Member Functions inherited from Engine | |
static void | quitGame () |
static bool | shouldQuit () |
static bool | warnUserAboutUnsupportedGame (Common::String msg=Common::String()) |
static void | errorUnsupportedGame (Common::String extraMsg) |
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 |
ScreenSurface * | _screenSurface |
SoundManager * | _soundManager |
SavegameManager * | _savegameManager |
Menu * | _menu |
MouseHandler * | _mouse |
TextHandler * | _text |
DialogManager * | _dialogManager |
Public Attributes inherited from Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Additional Inherited Members | |
Public Types inherited from Engine | |
enum | EngineFeature { kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime, kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride } |
Protected Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
Protected Attributes inherited from Engine | |
Common::TimerManager * | _timer |
Common::EventManager * | _eventMan |
Common::SaveFileManager * | _saveFileMan |
GUI::Dialog * | _mainMenuDialog |
const Common::String | _targetName |
int32 | _activeEnhancements = kEnhGameBreakingBugFixes |
|
overridevirtual |
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
|
overridevirtual |
Indicate whether a game state can be loaded.
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
overridevirtual |
Indicate whether a game state can be saved.
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
overridevirtual |
Load a game state.
slot | The slot from which a save state should be loaded. |
Reimplemented from Engine.
|
overridevirtual |
Save a game state.
slot | The slot into which the save state should be stored. |
desc | Description for the save state, entered by the user. |
isAutosave | Expected to be true if an autosave is being created. |
Reimplemented from Engine.
|
overridevirtual |
Initialize the engine and start its main loop.
Implements Engine.
|
overridevirtual |
Actual implementation of pauseEngine by subclasses.
Reimplemented from Engine.
|
inlineoverridevirtual |
Generate the savegame filename.
Reimplemented from Engine.