|
Common::Error | run () override |
|
template<typename T > |
void | syncArray (Common::Serializer &ser, Common::Array< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion) |
|
template<typename T > |
void | syncList (Common::Serializer &ser, Common::List< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion) |
|
template<typename T > |
void | syncListReverse (Common::Serializer &ser, Common::List< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion) |
|
template<typename T > |
void | sync (Common::Serializer &ser, T &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion) |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | loadGameState (int slot) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
|
virtual int | runDialog (GUI::Dialog &dialog) |
|
void | defaultSyncSoundSettings () |
|
virtual void | pauseEngineIntern (bool pause) |
|
◆ run()
Initialize the engine and start its main loop.
- Returns
- kNoError on success, otherwise an error code.
Implements Engine.
◆ canLoadGameStateCurrently()
bool Composer::ComposerEngine::canLoadGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
inlineoverrideprotectedvirtual |
Indicate whether a game state can be loaded.
- Parameters
-
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
◆ loadGameState()
Common::Error Composer::ComposerEngine::loadGameState |
( |
int |
slot | ) |
|
|
overrideprotectedvirtual |
Load a game state.
- Parameters
-
slot | The slot from which a save state should be loaded. |
- Returns
- kNoError on success, otherwise an error code.
Reimplemented from Engine.
◆ canSaveGameStateCurrently()
bool Composer::ComposerEngine::canSaveGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
inlineoverrideprotectedvirtual |
Indicate whether a game state can be saved.
- Parameters
-
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
◆ saveGameState()
Save a game state.
- Parameters
-
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. |
- Returns
- kNoError on success, otherwise an error code.
Reimplemented from Engine.
◆ hasFeature()
bool Composer::ComposerEngine::hasFeature |
( |
EngineFeature |
f | ) |
const |
|
overridevirtual |
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
The documentation for this class was generated from the following file: