ScummVM API documentation
Sherlock::Tattoo::TattooEngine Class Reference
Inheritance diagram for Sherlock::Tattoo::TattooEngine:
Sherlock::SherlockEngine Engine

Public Member Functions

 TattooEngine (OSystem *syst, const SherlockGameDescription *gameDesc)
 
void doFoolscapPuzzle ()
 
void saveConfig () override
 
bool canLoadGameStateCurrently (Common::U32String *msg=nullptr) override
 
bool canSaveGameStateCurrently (Common::U32String *msg=nullptr) override
 
- Public Member Functions inherited from Sherlock::SherlockEngine
 SherlockEngine (OSystem *syst, const SherlockGameDescription *gameDesc)
 
Common::Error run () override
 
Common::Error loadGameState (int slot) override
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 
void syncSoundSettings () override
 
virtual bool isDemo () const
 
GameType getGameID () const
 
Common::Platform getPlatform () const
 
Common::Language getLanguage () const
 
int getRandomNumber (int limit)
 
bool readFlags (int flagNum)
 
void setFlags (int flagNum)
 
void setFlagsDirect (int flagNum)
 
void synchronize (Serializer &s)
 
- Public Member Functions inherited from Engine
MetaEnginegetMetaEngine () const
 
void setMetaEngine (MetaEngine *metaEngine)
 
PauseToken pauseEngine ()
 
bool isPaused () const
 
void openMainMenuDialog ()
 
uint32 getTotalPlayTime () const
 
void setTotalPlayTime (uint32 time=0)
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
bool existExtractedCDAudioFiles (uint track=1)
 
bool isDataAndCDAudioReadFromSameCD ()
 
void warnMissingExtractedCDAudio ()
 
void handleAutoSave ()
 
void saveAutosaveIfEnabled ()
 
virtual bool canSaveAutosaveCurrently ()
 
virtual int getAutosaveSlot () const
 
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 
virtual GUI::DebuggergetDebugger () final
 
void setDebugger (GUI::Debugger *debugger)
 
GUI::DebuggergetOrCreateDebugger ()
 
bool enhancementEnabled (int32 cls)
 
virtual void applyGameSettings ()
 
virtual void flipMute ()
 
virtual Common::String getSaveStateName (int slot) const
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 
void setGameToLoadSlot (int slot)
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Public Attributes

bool _runningProlog
 
bool _fastMode
 
bool _allowFastMode
 
bool _transparentMenus
 
bool _textWindowsOn
 
- Public Attributes inherited from Sherlock::SherlockEngine
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

void initialize () override
 
void showOpening () override
 
void startScene () override
 
void loadConfig () override
 
- Protected Member Functions inherited from Sherlock::SherlockEngine
bool hasFeature (EngineFeature f) const override
 
- 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 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
 

Member Function Documentation

◆ initialize()

void Sherlock::Tattoo::TattooEngine::initialize ( )
overrideprotectedvirtual

Initialize the engine

Reimplemented from Sherlock::SherlockEngine.

◆ startScene()

void Sherlock::Tattoo::TattooEngine::startScene ( )
overrideprotectedvirtual

Starting a scene within the game

Reimplemented from Sherlock::SherlockEngine.

◆ loadConfig()

void Sherlock::Tattoo::TattooEngine::loadConfig ( )
overrideprotectedvirtual

Load configuration options

Reimplemented from Sherlock::SherlockEngine.

◆ doFoolscapPuzzle()

void Sherlock::Tattoo::TattooEngine::doFoolscapPuzzle ( )

Shows the foolscap puzzle

◆ saveConfig()

void Sherlock::Tattoo::TattooEngine::saveConfig ( )
overridevirtual

Save the game configuration

Reimplemented from Sherlock::SherlockEngine.

◆ canLoadGameStateCurrently()

bool Sherlock::Tattoo::TattooEngine::canLoadGameStateCurrently ( Common::U32String msg = nullptr)
overridevirtual

Returns true if a savegame can be loaded

Reimplemented from Sherlock::SherlockEngine.

◆ canSaveGameStateCurrently()

bool Sherlock::Tattoo::TattooEngine::canSaveGameStateCurrently ( Common::U32String msg = nullptr)
overridevirtual

Returns true if the game can be saved

Reimplemented from Sherlock::SherlockEngine.


The documentation for this class was generated from the following file: