◆ initialize()
| virtual void Sherlock::SherlockEngine::initialize |
( |
| ) |
|
|
protectedvirtual |
◆ hasFeature()
| bool Sherlock::SherlockEngine::hasFeature |
( |
EngineFeature |
f | ) |
const |
|
overrideprotectedvirtual |
Returns a list of features the game itself supports
Reimplemented from Engine.
◆ loadConfig()
| virtual void Sherlock::SherlockEngine::loadConfig |
( |
| ) |
|
|
protectedvirtual |
◆ run()
Main method for running the game
Implements Engine.
◆ canLoadGameStateCurrently()
| bool Sherlock::SherlockEngine::canLoadGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
◆ canSaveGameStateCurrently()
| bool Sherlock::SherlockEngine::canSaveGameStateCurrently |
( |
Common::U32String * |
msg = nullptr | ) |
|
|
overridevirtual |
◆ loadGameState()
| Common::Error Sherlock::SherlockEngine::loadGameState |
( |
int |
slot | ) |
|
|
overridevirtual |
Called by the GMM to load a savegame
Reimplemented from Engine.
◆ saveGameState()
Called by the GMM to save the game
Reimplemented from Engine.
◆ syncSoundSettings()
| void Sherlock::SherlockEngine::syncSoundSettings |
( |
| ) |
|
|
overridevirtual |
Called by the engine when sound settings are updated
Reimplemented from Engine.
◆ saveConfig()
| virtual void Sherlock::SherlockEngine::saveConfig |
( |
| ) |
|
|
virtual |
◆ isDemo()
| virtual bool Sherlock::SherlockEngine::isDemo |
( |
| ) |
const |
|
virtual |
Returns whether the version is a demo
◆ getGameID()
| GameType Sherlock::SherlockEngine::getGameID |
( |
| ) |
const |
Returns the Id of the game
◆ getPlatform()
Returns the platform the game's datafiles are for
◆ getLanguage()
Return the game's language
◆ getRandomNumber()
| int Sherlock::SherlockEngine::getRandomNumber |
( |
int |
limit | ) |
|
|
inline |
◆ readFlags()
| bool Sherlock::SherlockEngine::readFlags |
( |
int |
flagNum | ) |
|
Read the state of a global flag
◆ setFlags()
| void Sherlock::SherlockEngine::setFlags |
( |
int |
flagNum | ) |
|
Sets a global flag to either true or false depending on whether the specified flag is positive or negative
◆ setFlagsDirect()
| void Sherlock::SherlockEngine::setFlagsDirect |
( |
int |
flagNum | ) |
|
Set a global flag to 0 or 1 depending on whether the passed flag is negative or positive.
◆ synchronize()
| void Sherlock::SherlockEngine::synchronize |
( |
Serializer & |
s | ) |
|
Synchronize the data for a savegame
The documentation for this class was generated from the following file: