|
| XeenEngine (OSystem *syst, const MM::MightAndMagicGameDescription *gameDesc) |
|
uint32 | getSpecificGameId () const |
|
uint32 | getGameFeatures () const |
|
int | getRandomNumber (int maxNumber) |
|
int | getRandomNumber (int minNumber, int maxNumber) |
|
bool | shouldExit () const |
|
bool | isLoadPending () const |
|
Common::Error | loadGameState (int slot) override |
|
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
|
void | syncSoundSettings () override |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveAutosaveCurrently () override |
|
virtual void | showCutscene (const Common::String &name, int status, uint score) |
|
virtual void | dream ()=0 |
|
void | saveSettings () |
|
void | GUIError (const Common::U32String &msg) |
|
| MMEngine (OSystem *syst, const MM::MightAndMagicGameDescription *gameDesc) |
|
bool | hasFeature (EngineFeature f) const override |
|
uint32 | getFeatures () const |
|
Common::Language | getLanguage () const |
|
Common::Platform | getPlatform () const |
|
uint32 | getGameID () const |
|
bool | getIsCD () const |
|
uint | getRandomNumber (int max) |
|
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 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 | applyGameSettings () |
|
virtual void | flipMute () |
|
virtual Common::String | getSaveStateName (int slot) const |
|
virtual Common::Error | loadGameStream (Common::SeekableReadStream *stream) |
|
void | setGameToLoadSlot (int slot) |
|
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
|
bool | saveGameDialog () |
|
bool | loadGameDialog () |
|
◆ showStartup()
virtual void MM::Xeen::XeenEngine::showStartup |
( |
| ) |
|
|
protectedpure virtual |
◆ showMainMenu()
virtual void MM::Xeen::XeenEngine::showMainMenu |
( |
| ) |
|
|
protectedpure virtual |
◆ playGame()
virtual void MM::Xeen::XeenEngine::playGame |
( |
| ) |
|
|
protectedvirtual |
◆ death()
virtual void MM::Xeen::XeenEngine::death |
( |
| ) |
|
|
protectedpure virtual |
◆ getSpecificGameId()
uint32 MM::Xeen::XeenEngine::getSpecificGameId |
( |
| ) |
const |
Returns the game Id, but with a reuslt of Clouds or Dark Side for World of Xeen, depending on which side the player is currently on
◆ getGameFeatures()
uint32 MM::Xeen::XeenEngine::getGameFeatures |
( |
| ) |
const |
Returns the game features
◆ getRandomNumber() [1/2]
int MM::Xeen::XeenEngine::getRandomNumber |
( |
int |
maxNumber | ) |
|
◆ getRandomNumber() [2/2]
int MM::Xeen::XeenEngine::getRandomNumber |
( |
int |
minNumber, |
|
|
int |
maxNumber |
|
) |
| |
◆ shouldExit()
bool MM::Xeen::XeenEngine::shouldExit |
( |
| ) |
const |
|
inline |
Returns true if the game should be exited (either quitting, exiting to the main menu, or loading a savegame)
◆ isLoadPending()
bool MM::Xeen::XeenEngine::isLoadPending |
( |
| ) |
const |
|
inline |
Returns true if a savegame load is pending
◆ loadGameState()
Load a savegame
Reimplemented from Engine.
◆ saveGameState()
Save the game
Reimplemented from Engine.
◆ syncSoundSettings()
void MM::Xeen::XeenEngine::syncSoundSettings |
( |
| ) |
|
|
overridevirtual |
Updates sound settings
Reimplemented from Engine.
◆ canLoadGameStateCurrently()
bool MM::Xeen::XeenEngine::canLoadGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
Returns true if a savegame can currently be loaded
Reimplemented from Engine.
◆ canSaveGameStateCurrently()
bool MM::Xeen::XeenEngine::canSaveGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
Returns true if the game can currently be saved
Reimplemented from Engine.
◆ canSaveAutosaveCurrently()
bool MM::Xeen::XeenEngine::canSaveAutosaveCurrently |
( |
| ) |
|
|
overridevirtual |
Returns true if an autosave can be created
Reimplemented from Engine.
◆ showCutscene()
virtual void MM::Xeen::XeenEngine::showCutscene |
( |
const Common::String & |
name, |
|
|
int |
status, |
|
|
uint |
score |
|
) |
| |
|
inlinevirtual |
◆ dream()
virtual void MM::Xeen::XeenEngine::dream |
( |
| ) |
|
|
pure virtual |
◆ saveSettings()
void MM::Xeen::XeenEngine::saveSettings |
( |
| ) |
|
◆ GUIError()
Show an error message in a GUI dialog
The documentation for this class was generated from the following file: