ScummVM
Engine Class Referenceabstract

#include <engine.h>

Inherited by Access::AccessEngine, Adl::AdlEngine, Agi::AgiBase, AGOS::AGOSEngine, Avalanche::AvalancheEngine, Bbvs::BbvsEngine, BladeRunner::BladeRunnerEngine, CGE2::CGE2Engine, CGE::CGEEngine, Chewy::ChewyEngine, Cine::CineEngine, Composer::ComposerEngine, Cruise::CruiseEngine, Cryo::CryoEngine, CryOmni3D::CryOmni3DEngine, Director::DirectorEngine, DM::DMEngine, Draci::DraciEngine, Drascula::DrasculaEngine, DreamWeb::DreamWebEngine, Fullpipe::FullpipeEngine, Glk::GlkEngine, Gnap::GnapEngine, Gob::GobEngine, Groovie::GroovieEngine, HDB::HDBGame, Hopkins::HopkinsEngine, Hugo::HugoEngine, Illusions::IllusionsEngine, Kyra::KyraEngine_v1, Lab::LabEngine, LastExpress::LastExpressEngine, Lilliput::LilliputEngine, Lure::LureEngine, MacVenture::MacVentureEngine, Made::MadeEngine, MADS::MADSEngine, Mohawk::MohawkEngine, Mortevielle::MortevielleEngine, MutationOfJB::MutationOfJBEngine, Neverhood::NeverhoodEngine, Parallaction::Parallaction, Pegasus::PegasusEngine, Pink::PinkEngine, Plumbers::PlumbersGame, Prince::PrinceEngine, Queen::QueenEngine, Saga::SagaEngine, Sci::SciEngine, Scumm::ScummEngine, Scumm::ScummEngine_vCUPhe, Sherlock::SherlockEngine, Sky::SkyEngine, Sludge::SludgeEngine, StarTrek::StarTrekEngine, Supernova::SupernovaEngine, Sword1::SwordEngine, Sword25::Sword25Engine, Sword2::Sword2Engine, TeenAgent::TeenAgentEngine, Testbed::TestbedEngine, Tinsel::TinselEngine, Titanic::TitanicEngine, Toltecs::ToltecsEngine, Tony::TonyEngine, Toon::ToonEngine, Touche::ToucheEngine, TsAGE::TSageEngine, Tucker::TuckerEngine, Voyeur::VoyeurEngine, Wage::WageEngine, Wintermute::WintermuteEngine, Xeen::XeenEngine, and ZVision::ZVision.

Collaboration diagram for Engine:

Public Types

enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsJoystick
}
 A feature in this context means an ability of the engine which can be either available or not. More...
 

Public Member Functions

void pauseEngine (bool pause)
 Pause or resume the engine. More...
 
bool isPaused () const
 Return whether the engine is currently paused or not. More...
 
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
 
uint32 getTotalPlayTime () const
 Get the total play time. More...
 
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
 

Static Public Member Functions

static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 

Public Attributes

OSystem_system
 
Audio::Mixer_mixer
 

Protected Member Functions

virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 

Protected Attributes

Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Private Attributes

int _pauseLevel
 The pause level, 0 means 'running', a positive value indicates how often the engine has been paused (and hence how often it has to be un-paused before it resumes running). More...
 
uint32 _pauseStartTime
 The time when the pause was started. More...
 
int32 _engineStartTime
 The time when the engine was started. More...
 
int _saveSlotToLoad
 Save slot selected via global main menu. More...
 

Overloadable methods

All Engine subclasses should consider overloading some or all of the following methods.

virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
 
virtual Common::Error run ()=0
 Init the engine and start its main loop. More...
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
virtual bool hasFeature (EngineFeature f) const
 Determine whether the engine supports the specified feature. More...
 
virtual void syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
 
virtual void initKeymap ()
 
virtual void deinitKeymap ()
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
virtual Common::Error loadGameState (int slot)
 Load a game state. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 
virtual bool canLoadGameStateCurrently ()
 Indicates whether a game state can be loaded. More...
 
virtual Common::Error saveGameState (int slot, const Common::String &desc)
 Save a game state. More...
 
virtual bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 

Detailed Description

Definition at line 57 of file engine.h.

Member Enumeration Documentation

◆ EngineFeature

A feature in this context means an ability of the engine which can be either available or not.

See also
Engine::hasFeature()
Enumerator
kSupportsSubtitleOptions 

Enables the subtitle speed and toggle items in the Options section of the global main menu.

kSupportsRTL 

'Return to launcher' feature is supported, i.e., EVENT_RTL is handled either directly, or indirectly (that is, the engine calls and honors the result of the Engine::shouldQuit() method appropriately).

kSupportsLoadingDuringRuntime 

Loading savestates during runtime is supported, that is, this engine implements loadGameState() and canLoadGameStateCurrently().

If this feature is supported, then the corresponding MetaEngine must support the kSupportsListSaves feature.

kSupportsSavingDuringRuntime 

Loading savestates during runtime is supported, that is, this engine implements saveGameState() and canSaveGameStateCurrently().

If this feature is supported, then the corresponding MetaEngine must support the kSupportsListSaves feature.

kSupportsJoystick 

Engine must receive joystick events because the game uses them.

For engines which have not this feature, joystick events are converted to mouse events.

Definition at line 107 of file engine.h.

Constructor & Destructor Documentation

◆ Engine()

Engine::Engine ( OSystem syst)

Definition at line 143 of file engine.cpp.

◆ ~Engine()

Engine::~Engine ( )
virtual

Definition at line 185 of file engine.cpp.

Member Function Documentation

◆ canLoadGameStateCurrently()

bool Engine::canLoadGameStateCurrently ( )
virtual

◆ canSaveGameStateCurrently()

bool Engine::canSaveGameStateCurrently ( )
virtual

◆ checkCD()

void Engine::checkCD ( )

On some systems, check if the game appears to be run from CD.

Definition at line 414 of file engine.cpp.

◆ deinitKeymap()

void Engine::deinitKeymap ( )
virtual

Definition at line 621 of file engine.cpp.

◆ errorString()

void Engine::errorString ( const char *  buf_input,
char *  buf_output,
int  buf_output_size 
)
virtual

Prepare an error string, which is printed by the error() function.

Reimplemented in Scumm::ScummEngine.

Definition at line 489 of file engine.cpp.

◆ flipMute()

void Engine::flipMute ( )
virtual

Flip mute all sound option.

Definition at line 627 of file engine.cpp.

◆ getDebugger()

◆ getEventManager()

Common::EventManager* Engine::getEventManager ( )
inline

Definition at line 331 of file engine.h.

◆ getSaveFileManager()

Common::SaveFileManager* Engine::getSaveFileManager ( )
inline

Definition at line 332 of file engine.h.

◆ getTimerManager()

Common::TimerManager* Engine::getTimerManager ( )
inline

Definition at line 330 of file engine.h.

◆ getTotalPlayTime()

uint32 Engine::getTotalPlayTime ( ) const

Get the total play time.

Returns
How long the player has been playing in ms.

Definition at line 561 of file engine.cpp.

◆ hasFeature()

virtual bool Engine::hasFeature ( EngineFeature  f) const
inlinevirtual

Determine whether the engine supports the specified feature.

Reimplemented in Agi::AgiBase, Touche::ToucheEngine, Saga::SagaEngine, Tucker::TuckerEngine, Adl::AdlEngine, Mortevielle::MortevielleEngine, Scumm::ScummEngine, Fullpipe::FullpipeEngine, Toon::ToonEngine, Drascula::DrasculaEngine, Lilliput::LilliputEngine, Hugo::HugoEngine, Prince::PrinceEngine, Parallaction::Parallaction, Kyra::KyraEngine_v1, Sci::SciEngine, BladeRunner::BladeRunnerEngine, ZVision::ZVision, CryOmni3D::Versailles::CryOmni3DEngine_Versailles, AGOS::AGOSEngine, DM::DMEngine, Gnap::GnapEngine, Bbvs::BbvsEngine, Lab::LabEngine, MacVenture::MacVentureEngine, Mohawk::MohawkEngine_Myst, Gob::GobEngine, Composer::ComposerEngine, Tinsel::TinselEngine, Voyeur::VoyeurEngine, CGE2::CGE2Engine, Sword2::Sword2Engine, HDB::HDBGame, CGE::CGEEngine, Xeen::XeenEngine, Hopkins::HopkinsEngine, Access::AccessEngine, Queen::QueenEngine, Wage::WageEngine, CryOmni3D::CryOmni3DEngine, Sky::SkyEngine, DreamWeb::DreamWebEngine, Titanic::TitanicEngine, Avalanche::AvalancheEngine, Sword1::SwordEngine, Cine::CineEngine, Mohawk::MohawkEngine_Riven, Sherlock::SherlockEngine, Toltecs::ToltecsEngine, Groovie::GroovieEngine, Lure::LureEngine, Tony::TonyEngine, Director::DirectorEngine, Pink::PinkEngine, TeenAgent::TeenAgentEngine, MADS::MADSEngine, Mohawk::MohawkEngine, Glk::GlkEngine, Illusions::IllusionsEngine_Duckman, Cruise::CruiseEngine, Made::MadeEngine, Sword25::Sword25Engine, Pegasus::PegasusEngine, Neverhood::NeverhoodEngine, LastExpress::LastExpressEngine, Chewy::ChewyEngine, Supernova::SupernovaEngine, MutationOfJB::MutationOfJBEngine, TsAGE::TSageEngine, Illusions::IllusionsEngine_BBDOU, Draci::DraciEngine, Wintermute::WintermuteEngine, Testbed::TestbedEngine, and Glk::TADS::TADS.

Definition at line 187 of file engine.h.

◆ initializePath()

void Engine::initializePath ( const Common::FSNode gamePath)
virtual

Init SearchMan according to the game path.

By default it adds the directory in non-flat mode with a depth of 4 as priority 0 to SearchMan.

Parameters
gamePathThe base directory of the game data.

Reimplemented in Tinsel::TinselEngine, HDB::HDBGame, and Titanic::TitanicEngine.

Definition at line 196 of file engine.cpp.

◆ initKeymap()

virtual void Engine::initKeymap ( )
inlinevirtual

Reimplemented in Pegasus::PegasusEngine, Kyra::LoLEngine, and Kyra::EoBCoreEngine.

Definition at line 211 of file engine.h.

◆ isPaused()

bool Engine::isPaused ( ) const
inline

Return whether the engine is currently paused or not.

Definition at line 298 of file engine.h.

◆ loadGameState()

Common::Error Engine::loadGameState ( int  slot)
virtual

Load a game state.

Parameters
slotthe slot from which a savestate should be loaded
Returns
returns kNoError on success, else an error code.

Reimplemented in Kyra::LoLEngine, Agi::AgiEngine, Kyra::EoBCoreEngine, Tucker::TuckerEngine, Kyra::KyraEngine_HoF, Saga::SagaEngine, Touche::ToucheEngine, Kyra::KyraEngine_MR, Mortevielle::MortevielleEngine, Scumm::ScummEngine, Kyra::KyraEngine_v1, Bbvs::BbvsEngine, Kyra::KyraRpgEngine, Fullpipe::FullpipeEngine, Drascula::DrasculaEngine, Toon::ToonEngine, Gnap::GnapEngine, Access::AccessEngine, Hugo::HugoEngine, Prince::PrinceEngine, Sci::SciEngine, Xeen::XeenEngine, BladeRunner::BladeRunnerEngine, Adl::AdlEngine, ZVision::ZVision, CryOmni3D::Versailles::CryOmni3DEngine_Versailles, Lab::LabEngine, Illusions::IllusionsEngine, DM::DMEngine, Toltecs::ToltecsEngine, Wage::WageEngine, Kyra::KyraEngine_LoK, Voyeur::VoyeurEngine, Glk::GlkEngine, MacVenture::MacVentureEngine, HDB::HDBGame, Mohawk::MohawkEngine_Myst, Hopkins::HopkinsEngine, Sword2::Sword2Engine, Tony::TonyEngine, Tinsel::TinselEngine, Composer::ComposerEngine, CGE2::CGE2Engine, Sherlock::SherlockEngine, Titanic::TitanicEngine, MADS::MADSEngine, CGE::CGEEngine, Cine::CineEngine, Neverhood::NeverhoodEngine, Lure::LureEngine, DreamWeb::DreamWebEngine, Avalanche::AvalancheEngine, Sword1::SwordEngine, Groovie::GroovieEngine, Mohawk::MohawkEngine_Riven, Queen::QueenEngine, Cruise::CruiseEngine, Pink::PinkEngine, TeenAgent::TeenAgentEngine, Sky::SkyEngine, Pegasus::PegasusEngine, TsAGE::TSageEngine, Glk::Frotz::Frotz, Draci::DraciEngine, MutationOfJB::MutationOfJBEngine, Supernova::SupernovaEngine, and Wintermute::WintermuteEngine.

Definition at line 642 of file engine.cpp.

◆ openMainMenuDialog()

void Engine::openMainMenuDialog ( )

Run the Global Main Menu Dialog.

Definition at line 516 of file engine.cpp.

◆ pauseEngine()

void Engine::pauseEngine ( bool  pause)

Pause or resume the engine.

This should stop/resume any audio playback and other stuff. Called right before the system runs a global dialog (like a global pause, main menu, options or 'confirm exit' dialog).

This is a convenience tracker which automatically keeps track on how often the engine has been paused, ensuring that after pausing an engine e.g. twice, it has to be unpaused twice before actuallying resuming.

Parameters
pausetrue to pause the engine, false to resume it

Definition at line 493 of file engine.cpp.

◆ pauseEngineIntern()

◆ quitGame()

void Engine::quitGame ( )
static

Request the engine to quit.

Sends a EVENT_QUIT event to the Event Manager.

Definition at line 662 of file engine.cpp.

◆ run()

virtual Common::Error Engine::run ( )
pure virtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implemented in Agi::AgiBase, Mohawk::MohawkEngine_LivingBooks, Scumm::ScummEngine_vCUPhe, Touche::ToucheEngine, Saga::SagaEngine, Tucker::TuckerEngine, Adl::AdlEngine, Mortevielle::MortevielleEngine, Scumm::ScummEngine, Lilliput::LilliputEngine, Drascula::DrasculaEngine, Hugo::HugoEngine, Prince::PrinceEngine, Parallaction::Parallaction, BladeRunner::BladeRunnerEngine, Sci::SciEngine, Kyra::KyraEngine_v1, DM::DMEngine, StarTrek::StarTrekEngine, CryOmni3D::Versailles::CryOmni3DEngine_Versailles, Gnap::GnapEngine, Bbvs::BbvsEngine, AGOS::AGOSEngine, Lab::LabEngine, CGE::CGEEngine, Pegasus::PegasusEngine, MacVenture::MacVentureEngine, Gob::GobEngine, Tinsel::TinselEngine, CGE2::CGE2Engine, Voyeur::VoyeurEngine, ZVision::ZVision, Composer::ComposerEngine, HDB::HDBGame, Sherlock::SherlockEngine, Sword2::Sword2Engine, Director::DirectorEngine, Xeen::XeenEngine, Mohawk::MohawkEngine_CSTime, Hopkins::HopkinsEngine, Mohawk::MohawkEngine_Myst, Avalanche::AvalancheEngine, Access::AccessEngine, Queen::QueenEngine, Wage::WageEngine, Toon::ToonEngine, DreamWeb::DreamWebEngine, Titanic::TitanicEngine, Fullpipe::FullpipeEngine, Cine::CineEngine, Sky::SkyEngine, Groovie::GroovieEngine, Sword1::SwordEngine, CryOmni3D::CryOmni3DEngine, Toltecs::ToltecsEngine, Tony::TonyEngine, Lure::LureEngine, MADS::MADSEngine, Pink::PinkEngine, TeenAgent::TeenAgentEngine, Glk::GlkEngine, Mohawk::MohawkEngine_Riven, Illusions::IllusionsEngine_Duckman, Sword25::Sword25Engine, TsAGE::TSageEngine, Mohawk::MohawkEngine, Made::MadeEngine, Cruise::CruiseEngine, LastExpress::LastExpressEngine, Chewy::ChewyEngine, Sludge::SludgeEngine, Supernova::SupernovaEngine, Illusions::IllusionsEngine_BBDOU, MutationOfJB::MutationOfJBEngine, Draci::DraciEngine, Neverhood::NeverhoodEngine, Wintermute::WintermuteEngine, Cryo::CryoEngine, Plumbers::PlumbersGame, and Testbed::TestbedEngine.

◆ runDialog()

int Engine::runDialog ( GUI::Dialog dialog)
protectedvirtual

Reimplemented in Scumm::ScummEngine, and Scumm::ScummEngine_v7.

Definition at line 579 of file engine.cpp.

◆ saveGameState()

Common::Error Engine::saveGameState ( int  slot,
const Common::String desc 
)
virtual

Save a game state.

Parameters
slotthe slot into which the savestate should be stored
desca description for the savestate, entered by the user
Returns
returns kNoError on success, else an error code.

Reimplemented in Agi::AgiEngine, Tucker::TuckerEngine, Saga::SagaEngine, Touche::ToucheEngine, Mortevielle::MortevielleEngine, Scumm::ScummEngine, Kyra::KyraEngine_v1, Bbvs::BbvsEngine, Fullpipe::FullpipeEngine, Drascula::DrasculaEngine, Toon::ToonEngine, Gnap::GnapEngine, Access::AccessEngine, Hugo::HugoEngine, Prince::PrinceEngine, Xeen::XeenEngine, Sci::SciEngine, BladeRunner::BladeRunnerEngine, Adl::AdlEngine, ZVision::ZVision, CryOmni3D::Versailles::CryOmni3DEngine_Versailles, Lab::LabEngine, Illusions::IllusionsEngine, Toltecs::ToltecsEngine, Wage::WageEngine, Glk::GlkEngine, Voyeur::VoyeurEngine, MacVenture::MacVentureEngine, HDB::HDBGame, Mohawk::MohawkEngine_Myst, Hopkins::HopkinsEngine, Tony::TonyEngine, Sword2::Sword2Engine, Composer::ComposerEngine, Sherlock::SherlockEngine, CGE2::CGE2Engine, Titanic::TitanicEngine, MADS::MADSEngine, CGE::CGEEngine, Cine::CineEngine, Neverhood::NeverhoodEngine, Lure::LureEngine, DreamWeb::DreamWebEngine, Sword1::SwordEngine, Avalanche::AvalancheEngine, Groovie::GroovieEngine, Mohawk::MohawkEngine_Riven, Pink::PinkEngine, Queen::QueenEngine, Cruise::CruiseEngine, TeenAgent::TeenAgentEngine, Sky::SkyEngine, Pegasus::PegasusEngine, TsAGE::TSageEngine, Glk::Frotz::Frotz, Draci::DraciEngine, MutationOfJB::MutationOfJBEngine, Supernova::SupernovaEngine, and Wintermute::WintermuteEngine.

Definition at line 652 of file engine.cpp.

◆ setGameToLoadSlot()

void Engine::setGameToLoadSlot ( int  slot)

Sets the game slot for a savegame to be loaded after global main menu execution.

This is to avoid loading a savegame from inside the menu loop which causes bugs like #2822778.

Parameters
slotthe slot from which a savestate should be loaded.

Definition at line 587 of file engine.cpp.

◆ setTotalPlayTime()

void Engine::setTotalPlayTime ( uint32  time = 0)

Set the game time counter to the specified time.

This can be used to set the play time counter after loading a savegame for example. Another use case is in case the engine wants to exclude time from the counter the user spent in original engine dialogs.

Parameters
timePlay time to set up in ms.

Definition at line 568 of file engine.cpp.

◆ shouldPerformAutoSave()

bool Engine::shouldPerformAutoSave ( int  lastSaveTime)
protected

Indicate whether an autosave should be performed.

Definition at line 483 of file engine.cpp.

◆ shouldQuit()

bool Engine::shouldQuit ( )
static

Return whether the ENGINE should quit respectively should return to the launcher.

Definition at line 669 of file engine.cpp.

◆ syncSoundSettings()

void Engine::syncSoundSettings ( )
virtual

Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc.

values accordingly. The default implementation sets the volume levels of all mixer sound types according to the config entries of the active domain. When overwriting, call the default implementation first, then adjust the volumes further (if required).

Note
When setting volume levels, respect the "mute" config entry.
The volume for the plain sound type is reset to the maximum volume. If the engine can associate its own value for this type, it needs to overwrite this member and set it accordingly.
Todo:
find a better name for this

Reimplemented in Agi::AgiEngine, Touche::ToucheEngine, Saga::SagaEngine, Scumm::ScummEngine, Lilliput::LilliputEngine, Drascula::DrasculaEngine, BladeRunner::BladeRunnerEngine, Hugo::HugoEngine, Xeen::XeenEngine, Sci::SciEngine, CryOmni3D::Versailles::CryOmni3DEngine_Versailles, ZVision::ZVision, Tony::TonyEngine, AGOS::AGOSEngine, Glk::GlkEngine, Kyra::KyraEngine_v1, Gob::GobEngine, Hopkins::HopkinsEngine, Sherlock::SherlockEngine, Titanic::TitanicEngine, MADS::MADSEngine, Sword2::Sword2Engine, Queen::QueenEngine, Cine::CineEngine, Toltecs::ToltecsEngine, Groovie::GroovieEngine, Sword1::SwordEngine, Lure::LureEngine, Cruise::CruiseEngine, TsAGE::TSageEngine, Sky::SkyEngine, Made::MadeEngine, and Draci::DraciEngine.

Definition at line 591 of file engine.cpp.

◆ warnUserAboutUnsupportedGame()

bool Engine::warnUserAboutUnsupportedGame ( )
static

Display a warning to the user that the game is not fully supported.

Returns
true if the user chose to start anyway, false otherwise

Definition at line 550 of file engine.cpp.

Member Data Documentation

◆ _engineStartTime

int32 Engine::_engineStartTime
private

The time when the engine was started.

This value is used to calculate the current play time of the game running.

Definition at line 90 of file engine.h.

◆ _eventMan

Common::EventManager* Engine::_eventMan
protected

Definition at line 64 of file engine.h.

◆ _mainMenuDialog

GUI::Dialog* Engine::_mainMenuDialog
protected

Definition at line 67 of file engine.h.

◆ _mixer

Audio::Mixer* Engine::_mixer

Definition at line 60 of file engine.h.

◆ _pauseLevel

int Engine::_pauseLevel
private

The pause level, 0 means 'running', a positive value indicates how often the engine has been paused (and hence how often it has to be un-paused before it resumes running).

This makes it possible to nest code which pauses the engine.

Definition at line 79 of file engine.h.

◆ _pauseStartTime

uint32 Engine::_pauseStartTime
private

The time when the pause was started.

Definition at line 84 of file engine.h.

◆ _saveFileMan

Common::SaveFileManager* Engine::_saveFileMan
protected

Definition at line 65 of file engine.h.

◆ _saveSlotToLoad

int Engine::_saveSlotToLoad
private

Save slot selected via global main menu.

This slot will be loaded after main menu execution (not from inside the menu loop, to avoid bugs like #2822778).

Definition at line 97 of file engine.h.

◆ _system

OSystem* Engine::_system

Definition at line 59 of file engine.h.

◆ _targetName

const Common::String Engine::_targetName
protected

Definition at line 70 of file engine.h.

◆ _timer

Common::TimerManager* Engine::_timer
protected

Definition at line 63 of file engine.h.


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