Public Attributes | |
Graphics::Screen * | _screen = nullptr |
![]() | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Protected Member Functions | |
Common::Error | run () override |
void | pauseEngineIntern (bool pause) override |
![]() | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
Additional Inherited Members | |
![]() | |
enum | EngineFeature { kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime, kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride } |
![]() | |
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) |
![]() | |
Common::TimerManager * | _timer |
Common::EventManager * | _eventMan |
Common::SaveFileManager * | _saveFileMan |
GUI::Dialog * | _mainMenuDialog |
const Common::String | _targetName |
int32 | _activeEnhancements = kEnhGameBreakingBugFixes |
|
overrideprotectedvirtual |
Initialize the engine and start its main loop.
Implements Engine.
|
overrideprotectedvirtual |
Actual implementation of pauseEngine by subclasses.
Reimplemented from Engine.
Common::String Hpl1::Hpl1Engine::getGameId | ( | ) | const |
Returns the game Id
|
inline |
Gets a random number
|
inlineoverridevirtual |
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
|
inlineoverridevirtual |
Indicate whether a game state can be loaded.
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
overridevirtual |
Load a game state.
slot | The slot from which a save state should be loaded. |
Reimplemented from Engine.
Common::Error Hpl1::Hpl1Engine::syncGame | ( | Common::Serializer & | s | ) |
Uses a serializer to allow implementing savegame loading and saving using a single method
|
inlineoverridevirtual |
Save a game state.
stream | The write stream to save the savegame data to. |
isAutosave | Expected to be true if an autosave is being created. |
Reimplemented from Engine.
|
inlineoverridevirtual |
Load a game state.
stream | The stream to load the save state from. |
Reimplemented from Engine.