Public Member Functions | |
DMEngine (OSystem *syst, const DMADGameDescription *gameDesc) | |
bool | hasFeature (EngineFeature f) const override |
Common::Error | loadGameState (int slot) override |
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
bool | isDemo () const |
void | delay (uint16 verticalBlank) |
uint16 | getScaledProduct (uint16 val, uint16 scale, uint16 vale2) |
uint16 | getRandomNumber (uint32 max) |
int16 | ordinalToIndex (int16 val) |
int16 | indexToOrdinal (int16 val) |
Common::Error | run () override |
void | saveGame () |
LoadgameResult | loadgame (int16 slot) |
void | endGame (bool doNotDrawCreditsOnly) |
void | entranceDrawCredits () |
void | fuseSequence () |
Common::Language | getGameLanguage () |
Direction | turnDirRight (int16 dir) |
Direction | turnDirLeft (int16 dir) |
Direction | returnOppositeDir (int16 dir) |
bool | isOrientedWestEast (int16 dir) |
uint16 | normalizeModulo4 (int16 dir) |
int32 | filterTime (int32 mapTime) |
int32 | setMapAndTime (uint32 map, uint32 time) |
uint16 | getMap (int32 mapTime) |
Thing | thingWithNewCell (Thing thing, int16 cell) |
int16 | getDistance (int16 mapx1, int16 mapy1, int16 mapx2, int16 mapy2) |
int32 | setMap (int32 mapTime, uint32 map) |
Public Member Functions inherited from Engine | |
MetaEngine * | getMetaEngine () const |
void | setMetaEngine (MetaEngine *metaEngine) |
PauseToken | pauseEngine () |
bool | isPaused () const |
void | openMainMenuDialog () |
uint32 | getTotalPlayTime () const |
void | setTotalPlayTime (uint32 time=0) |
Common::TimerManager * | getTimerManager () |
Common::EventManager * | getEventManager () |
Common::SaveFileManager * | getSaveFileManager () |
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::Debugger * | getDebugger () final |
void | setDebugger (GUI::Debugger *debugger) |
GUI::Debugger * | getOrCreateDebugger () |
bool | enhancementEnabled (int32 cls) |
virtual void | syncSoundSettings () |
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 | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
virtual bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) |
bool | saveGameDialog () |
bool | loadGameDialog () |
Public Attributes | |
Console * | _console |
DisplayMan * | _displayMan |
DungeonMan * | _dungeonMan |
EventManager * | _eventMan |
MenuMan * | _menuMan |
ChampionMan * | _championMan |
ObjectMan * | _objectMan |
InventoryMan * | _inventoryMan |
TextMan * | _textMan |
MovesensMan * | _moveSens |
GroupMan * | _groupMan |
Timeline * | _timeline |
ProjExpl * | _projexpl |
DialogMan * | _dialog |
SoundMan * | _sound |
Common::MemoryWriteStreamDynamic * | _saveThumbnail |
bool | _engineShouldQuit |
int | _loadSaveSlotAtRuntime |
GameMode | _gameMode |
bool | _restartGameRequest |
bool | _stopWaitingForPlayerInput |
bool | _gameTimeTicking |
bool | _restartGameAllowed |
bool | _pressingEye |
bool | _stopPressingEye |
bool | _pressingMouth |
bool | _stopPressingMouth |
bool | _highlightBoxInversionRequested |
int16 | _projectileDisableMovementTicks |
int16 | _lastProjectileDisabledMovementDirection |
bool | _gameWon |
int16 | _newPartyMapIndex |
bool | _setMousePointerToObjectInMainLoop |
int16 | _disabledMovementTicks |
int8 | _dirIntoStepCountEast [4] |
int8 | _dirIntoStepCountNorth [4] |
int32 | _gameTime |
char | _stringBuildBuffer [128] |
int16 | _waitForInputMaxVerticalBlankCount |
Thing | _thingNone |
Thing | _thingEndOfList |
Thing | _thingFirstExplosion |
Thing | _thingExplFireBall |
Thing | _thingExplSlime |
Thing | _thingExplLightningBolt |
Thing | _thingExplHarmNonMaterial |
Thing | _thingExplOpenDoor |
Thing | _thingExplPoisonBolt |
Thing | _thingExplPoisonCloud |
Thing | _thingExplSmoke |
Thing | _thingExplFluxcage |
Thing | _thingExplRebirthStep1 |
Thing | _thingExplRebirthStep2 |
Thing | _thingParty |
Public Attributes inherited from Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
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 Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
virtual void | pauseEngineIntern (bool pause) |
Protected Attributes inherited from Engine | |
Common::TimerManager * | _timer |
Common::EventManager * | _eventMan |
Common::SaveFileManager * | _saveFileMan |
GUI::Dialog * | _mainMenuDialog |
const Common::String | _targetName |
int32 | _activeEnhancements = kEnhGameBreakingBugFixes |
|
overridevirtual |
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
|
overridevirtual |
Load a game state.
slot | The slot from which a save state should be loaded. |
Reimplemented from Engine.
|
overridevirtual |
Indicate whether a game state can be loaded.
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
overridevirtual |
Initialize the engine and start its main loop.
Implements Engine.