Public Attributes | |
| const SherlockGameDescription * | _gameDescription |
| Animation * | _animation |
| Debugger * | _debugger |
| Events * | _events |
| FixedText * | _fixedText |
| Inventory * | _inventory |
| Journal * | _journal |
| Map * | _map |
| Music * | _music |
| People * | _people |
| Resources * | _res |
| SaveManager * | _saves |
| Scene * | _scene |
| Screen * | _screen |
| Sound * | _sound |
| Talk * | _talk |
| UserInterface * | _ui |
| Common::RandomSource | _randomSource |
| Common::Array< bool > | _flags |
| bool | _useEpilogue2 |
| int | _loadGameSlot |
| bool | _canLoadSave |
| bool | _showOriginalSavesDialog |
| bool | _interactiveFl |
| bool | _isScreenDoubled |
| bool | _startupAutosave |
Public Attributes inherited from Engine | |
| OSystem * | _system |
| Audio::Mixer * | _mixer |
Protected Member Functions | |
| virtual void | initialize () |
| virtual void | showOpening ()=0 |
| virtual void | startScene () |
| bool | hasFeature (EngineFeature f) const override |
| virtual void | loadConfig () |
Protected Member Functions inherited from Engine | |
| virtual int | runDialog (GUI::Dialog &dialog) |
| void | defaultSyncSoundSettings () |
| virtual void | pauseEngineIntern (bool pause) |
Additional Inherited Members | |
Public Types inherited from Engine | |
| enum | EngineFeature { kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime, kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride } |
Static Public Member Functions inherited from Engine | |
| static void | quitGame () |
| static bool | shouldQuit () |
| static bool | warnUserAboutUnsupportedGame (Common::String msg=Common::String()) |
| static bool | warnUserAboutUnsupportedAddOn (Common::String addOnName) |
| static void | errorAddingAddOnWithoutBaseGame (Common::String addOnName, Common::String gameId) |
| static void | errorUnsupportedGame (Common::String extraMsg) |
Protected Attributes inherited from Engine | |
| Common::TimerManager * | _timer |
| Common::EventManager * | _eventMan |
| Common::SaveFileManager * | _saveFileMan |
| GUI::Dialog * | _mainMenuDialog |
| const Common::String | _targetName |
| int32 | _activeEnhancements = kEnhGameBreakingBugFixes |
|
protectedvirtual |
Does basic initialization of the game engine
Reimplemented in Sherlock::Scalpel::ScalpelEngine, and Sherlock::Tattoo::TattooEngine.
|
overrideprotectedvirtual |
Returns a list of features the game itself supports
Reimplemented from Engine.
|
protectedvirtual |
Load game configuration esttings
Reimplemented in Sherlock::Tattoo::TattooEngine.
|
overridevirtual |
Main method for running the game
Implements Engine.
|
overridevirtual |
Returns true if a savegame can be loaded
Reimplemented from Engine.
Reimplemented in Sherlock::Tattoo::TattooEngine.
|
overridevirtual |
Returns true if the game can be saved
Reimplemented from Engine.
Reimplemented in Sherlock::Tattoo::TattooEngine.
|
overridevirtual |
Called by the GMM to load a savegame
Reimplemented from Engine.
|
overridevirtual |
Called by the GMM to save the game
Reimplemented from Engine.
|
overridevirtual |
Called by the engine when sound settings are updated
Reimplemented from Engine.
|
virtual |
Saves game configuration information
Reimplemented in Sherlock::Tattoo::TattooEngine.
|
virtual |
Returns whether the version is a demo
| GameType Sherlock::SherlockEngine::getGameID | ( | ) | const |
Returns the Id of the game
| Common::Platform Sherlock::SherlockEngine::getPlatform | ( | ) | const |
Returns the platform the game's datafiles are for
| Common::Language Sherlock::SherlockEngine::getLanguage | ( | ) | const |
Return the game's language
|
inline |
Return a random number
| bool Sherlock::SherlockEngine::readFlags | ( | int | flagNum | ) |
Read the state of a global flag
| 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
| void Sherlock::SherlockEngine::setFlagsDirect | ( | int | flagNum | ) |
Set a global flag to 0 or 1 depending on whether the passed flag is negative or positive.
| void Sherlock::SherlockEngine::synchronize | ( | Serializer & | s | ) |
Synchronize the data for a savegame