ScummVM API documentation
Sherlock::Scalpel::ScalpelEngine Class Reference
Inheritance diagram for Sherlock::Scalpel::ScalpelEngine:
Sherlock::SherlockEngine Engine

Public Member Functions

 ScalpelEngine (OSystem *syst, const SherlockGameDescription *gameDesc)
 
void eraseBrumwellMirror ()
 
void doBrumwellMirror ()
 
void flushBrumwellMirror ()
 
void showScummVMSaveDialog ()
 
void showScummVMRestoreDialog ()
 
bool play3doMovie (const Common::Path &filename, const Common::Point &pos, bool isPortrait=false)
 
- Public Member Functions inherited from Sherlock::SherlockEngine
 SherlockEngine (OSystem *syst, const SherlockGameDescription *gameDesc)
 
Common::Error run () override
 
bool canLoadGameStateCurrently (Common::U32String *msg=nullptr) override
 
bool canSaveGameStateCurrently (Common::U32String *msg=nullptr) override
 
Common::Error loadGameState (int slot) override
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 
void syncSoundSettings () override
 
virtual void saveConfig ()
 
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 ()
 

Protected Member Functions

void initialize () override
 
void showOpening () override
 
void startScene () override
 
- Protected Member Functions inherited from Sherlock::SherlockEngine
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 void errorUnsupportedGame (Common::String extraMsg)
 
- 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 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::Scalpel::ScalpelEngine::initialize ( )
overrideprotectedvirtual

Game initialization

Reimplemented from Sherlock::SherlockEngine.

◆ showOpening()

void Sherlock::Scalpel::ScalpelEngine::showOpening ( )
overrideprotectedvirtual

Show the opening sequence

Implements Sherlock::SherlockEngine.

◆ startScene()

void Sherlock::Scalpel::ScalpelEngine::startScene ( )
overrideprotectedvirtual

Starting a scene within the game

Reimplemented from Sherlock::SherlockEngine.

◆ eraseBrumwellMirror()

void Sherlock::Scalpel::ScalpelEngine::eraseBrumwellMirror ( )

Takes care of clearing the mirror in scene 12 (mansion drawing room), in case anything drew over it

◆ doBrumwellMirror()

void Sherlock::Scalpel::ScalpelEngine::doBrumwellMirror ( )

Takes care of drawing Holme's reflection onto the mirror in scene 12 (mansion drawing room)

◆ flushBrumwellMirror()

void Sherlock::Scalpel::ScalpelEngine::flushBrumwellMirror ( )

This clears the mirror in scene 12 (mansion drawing room) in case anything messed draw over it

◆ showScummVMSaveDialog()

void Sherlock::Scalpel::ScalpelEngine::showScummVMSaveDialog ( )

Show the ScummVM restore savegame dialog

◆ showScummVMRestoreDialog()

void Sherlock::Scalpel::ScalpelEngine::showScummVMRestoreDialog ( )

Show the ScummVM restore savegame dialog

◆ play3doMovie()

bool Sherlock::Scalpel::ScalpelEngine::play3doMovie ( const Common::Path filename,
const Common::Point pos,
bool  isPortrait = false 
)

Play back a 3do movie


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