◆ formatSaveName()
static Common::String Stark::StarkEngine::formatSaveName |
( |
const char * |
target, |
|
|
int |
slot |
|
) |
| |
|
static |
Build a save file name for the specified target and slot
◆ listSaveNames()
List all the save file names for the specified target
◆ getSaveNameSlot()
static int Stark::StarkEngine::getSaveNameSlot |
( |
const char * |
target, |
|
|
const Common::String & |
saveName |
|
) |
| |
|
static |
Extract the save slot number from the provided save file name
◆ run()
Initialize the engine and start its main loop.
- Returns
- kNoError on success, otherwise an error code.
Implements Engine.
◆ hasFeature()
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
◆ canLoadGameStateCurrently()
bool Stark::StarkEngine::canLoadGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overrideprotectedvirtual |
Indicate whether a game state can be loaded.
- Parameters
-
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
◆ canSaveGameStateCurrently()
bool Stark::StarkEngine::canSaveGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overrideprotectedvirtual |
Indicate whether a game state can be saved.
- Parameters
-
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
◆ loadGameState()
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.
◆ 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.
◆ pauseEngineIntern()
void Stark::StarkEngine::pauseEngineIntern |
( |
bool |
pause | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: