◆ isDataRequired()
bool Ultima::Nuvie::NuvieEngine::isDataRequired |
( |
Common::Path & |
folder, |
|
|
int & |
majorVersion, |
|
|
int & |
minorVersion |
|
) |
| |
|
protected |
Returns the data archive folder and version that's required
◆ getGameId()
GameId Ultima::Nuvie::NuvieEngine::getGameId |
( |
| ) |
const |
Returns the game type being played
◆ isEnhanced()
bool Ultima::Nuvie::NuvieEngine::isEnhanced |
( |
| ) |
const |
Returns true if the game is running an enhanced version as compared to the original game
◆ run()
Play the game
Implements Engine.
◆ hasFeature()
bool Ultima::Nuvie::NuvieEngine::hasFeature |
( |
EngineFeature |
f | ) |
const |
|
overridevirtual |
Returns supported engine features
Reimplemented from Engine.
◆ getRandomNumber()
uint Ultima::Nuvie::NuvieEngine::getRandomNumber |
( |
uint |
maxVal | ) |
|
|
inline |
◆ syncSoundSettings()
void Ultima::Nuvie::NuvieEngine::syncSoundSettings |
( |
| ) |
|
|
overridevirtual |
Synchronize sound settings
Reimplemented from Engine.
◆ canLoadGameStateCurrently()
bool Ultima::Nuvie::NuvieEngine::canLoadGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
Indicates whether a game state can be loaded.
Reimplemented from Engine.
◆ canSaveGameStateCurrently()
bool Ultima::Nuvie::NuvieEngine::canSaveGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
Indicates whether a game state can be saved.
Reimplemented from Engine.
◆ loadGameState()
Common::Error Ultima::Nuvie::NuvieEngine::loadGameState |
( |
int |
slot | ) |
|
|
overridevirtual |
Load a game state.
- Parameters
-
slot | the slot from which a savestate should be loaded |
- Returns
- returns kNoError on success, else an error code.
Reimplemented from Engine.
◆ 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 | If true, autosave is being created |
- Returns
- returns kNoError on success, else an error code.
Reimplemented from Engine.
◆ journeyOnwards()
bool Ultima::Nuvie::NuvieEngine::journeyOnwards |
( |
| ) |
|
Either starts the most recently saved game, or falls back on starting a new game
◆ loadLatestSave()
bool Ultima::Nuvie::NuvieEngine::loadLatestSave |
( |
| ) |
|
Loads the most recently saved game
◆ quickSave()
bool Ultima::Nuvie::NuvieEngine::quickSave |
( |
int |
saveSlot, |
|
|
bool |
isLoad |
|
) |
| |
Quick save or load a savegame
◆ getSoundManager()
SoundManager* Ultima::Nuvie::NuvieEngine::getSoundManager |
( |
| ) |
const |
|
inline |
Return a reference to the sound manager
The documentation for this class was generated from the following file: