◆ run()
Initialize the engine and start its main loop.
- Returns
- kNoError on success, otherwise an error code.
Implements Engine.
◆ initialize()
bool Ultima::Ultima4::Ultima4Engine::initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ isDataRequired()
bool Ultima::Ultima4::Ultima4Engine::isDataRequired |
( |
Common::Path & |
folder, |
|
|
int & |
majorVersion, |
|
|
int & |
minorVersion |
|
) |
| |
|
overrideprotectedvirtual |
◆ canLoadGameStateCurrently()
bool Ultima::Ultima4::Ultima4Engine::canLoadGameStateCurrently |
( |
bool |
isAutosave = false | ) |
|
|
overridevirtual |
◆ canSaveGameStateCurrently()
bool Ultima::Ultima4::Ultima4Engine::canSaveGameStateCurrently |
( |
bool |
isAutosave = false | ) |
|
|
overridevirtual |
◆ saveGameState()
Save a game state.
- Parameters
-
slot | the slot into which the savestate should be stored |
desc | a description for the savestate, entered by the user |
isAutosave | Expected to be true if an autosave is being created |
- Returns
- returns kNoError on success, else an error code.
Reimplemented from Engine.
◆ loadGameStream()
Load a game state.
- Parameters
-
stream | the stream to load the savestate from |
- Returns
- returns kNoError on success, else an error code.
Reimplemented from Engine.
◆ saveGameStream()
Save a game state.
- Parameters
-
stream | The write stream to save the savegame data to |
isAutosave | Expected to be true if an autosave is being created |
- Returns
- returns kNoError on success, else an error code.
Reimplemented from Engine.
◆ setToJourneyOnwards()
void Ultima::Ultima4::Ultima4Engine::setToJourneyOnwards |
( |
| ) |
|
Specifies to load the previous save as the actual game starts. Used by the main menu when the Journey Onwards option is selected
◆ quitGame()
void Ultima::Ultima4::Ultima4Engine::quitGame |
( |
| ) |
|
The documentation for this class was generated from the following file: