Public Member Functions | |
| AlcachofaEngine (OSystem *syst, const AlcachofaGameDescription *gameDesc) | |
| EngineVersion | version () const |
| bool | isV1 () const |
| bool | isV2 () const |
| bool | isV3 () const |
| const AlcachofaGameDescription & | gameDescription () const |
| IRenderer & | renderer () |
| DrawQueue & | drawQueue () |
| Camera & | camera () |
| Input & | input () |
| Sounds & | sounds () |
| Player & | player () |
| World & | world () |
| Script & | script () |
| GlobalUI & | globalUI () |
| Menu & | menu () |
| Scheduler & | scheduler () |
| Console & | console () |
| Game & | game () |
| Config & | config () |
| bool | isDebugModeActive () const |
| uint32 | getMillis () const |
| void | setMillis (uint32 newMillis) |
| void | pauseEngineIntern (bool pause) override |
| void | playVideo (int32 videoId) |
| void | fadeExit () |
| void | setDebugMode (DebugMode debugMode, int32 param) |
| uint32 | getFeatures () const |
| Common::String | getGameId () const |
| bool | hasFeature (EngineFeature f) const override |
| bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
| bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
| Common::String | getSaveStatePattern () |
| Common::Error | syncGame (MySerializer &s) |
| Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) override |
| Common::Error | loadGameStream (Common::SeekableReadStream *stream) override |
| bool | syncThumbnail (MySerializer &s, Graphics::ManagedSurface *thumbnail) |
| void | getSavegameThumbnail (Graphics::Surface &thumbnail) |
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 |
| virtual bool | gameTypeHasAddOns () const |
| virtual bool | dirCanBeGameAddOn (const Common::FSDirectory &dir) const |
| virtual bool | dirMustBeGameAddOn (const Common::FSDirectory &dir) const |
| Common::ErrorCode | updateAddOns (const MetaEngine *metaEngine) 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::String | getSaveStateName (int slot) const |
| virtual Common::Error | loadGameState (int slot) |
| void | setGameToLoadSlot (int slot) |
| virtual Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
| bool | saveGameDialog () |
| bool | loadGameDialog () |
Protected Member Functions | |
| Common::Error | run () override |
Protected Member Functions inherited from Engine | |
| virtual int | runDialog (GUI::Dialog &dialog) |
| void | defaultSyncSoundSettings () |
|
overrideprotectedvirtual |
Initialize the engine and start its main loop.
Implements Engine.
|
overridevirtual |
Actual implementation of pauseEngine by subclasses.
Reimplemented from Engine.
|
inlineoverridevirtual |
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.
|
inlineoverridevirtual |
Indicate whether a game state can be saved.
| msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
inlineoverridevirtual |
Save a game state.
| stream | The write stream to save the savegame data to. |
| isAutosave | Expected to be true if an autosave is being created. |
Reimplemented from Engine.
|
inlineoverridevirtual |
Load a game state.
| stream | The stream to load the save state from. |
Reimplemented from Engine.