Public Member Functions | |
| MartianEngine (OSystem *syst, const AccessGameDescription *gameDesc) | |
| void | doSpecial5 (int param1) |
| void | showExpositionText (Common::String msg) |
| void | establish (int estabIndex, int sub) override |
| void | synchronize (Common::Serializer &s) override |
Public Member Functions inherited from Access::AccessEngine | |
| AccessEngine (OSystem *syst, const AccessGameDescription *gameDesc) | |
| uint32 | getFeatures () const |
| bool | isCD () const |
| bool | isDemo () const |
| Common::Language | getLanguage () const |
| Common::Platform | getPlatform () const |
| uint16 | getVersion () const |
| uint32 | getGameID () const |
| uint32 | getGameFeatures () const |
| bool | shouldQuitOrRestart () |
| int | getRandomNumber (int maxNumber) |
| const SpriteResource * | getIcons () |
| void | loadCells (const Common::Array< CellIdent > &cells) |
| void | freeCells () |
| void | plotList () |
| void | plotList1 () |
| void | copyBlocks () |
| void | copyRects () |
| void | copyBF1BF2 () |
| void | copyBF2Vid () |
| void | freeChar () |
| void | printText (BaseSurface *s, const Common::String &msg) |
| void | speakText (BaseSurface *s, const Common::String &msg) |
| void | syncSoundSettings () override |
| Common::Error | loadGameState (int slot) override |
| Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
| bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
| bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
| void | writeSavegameHeader (Common::OutSaveFile *out, AccessSavegameHeader &header) |
| bool | playMovie (const Common::Path &filename, const Common::Point &pos) |
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 |
| virtual bool | gameTypeHasAddOns () const |
| virtual bool | dirCanBeGameAddOn (const Common::FSDirectory &dir) const |
| virtual bool | dirMustBeGameAddOn (const Common::FSDirectory &dir) const |
| Common::ErrorCode | updateAddOns (const MetaEngine *metaEngine) 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 | 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 | playGame () override |
| void | dead (int deathId) override |
| void | setNoteParams () |
| void | displayNote (const Common::String &msg) |
Protected Member Functions inherited from Access::AccessEngine | |
| void | doRoom () |
| void | playVideo (int videoNum, const Common::Point &pt) |
| Common::Error | run () override |
| 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 Access::AccessEngine | |
| static WARN_UNUSED_RESULT bool | readSavegameHeader (Common::InSaveFile *in, AccessSavegameHeader &header, bool skipThumbnail=true) |
Static Public Member Functions inherited from Engine | |
| 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) |
Public Attributes inherited from Access::AccessEngine | |
| AnimationManager * | _animation |
| BubbleBox * | _bubbleBox |
| BubbleBox * | _helpBox |
| BubbleBox * | _travelBox |
| BubbleBox * | _invBox |
| BubbleBox * | _aboutBox |
| CharManager * | _char |
| EventsManager * | _events |
| FileManager * | _files |
| InventoryManager * | _inventory |
| Player * | _player |
| Resources * | _res |
| Room * | _room |
| Screen * | _screen |
| Scripts * | _scripts |
| SoundManager * | _sound |
| MusicManager * | _midi |
| VideoPlayer * | _video |
| BaseSurface * | _destIn |
| BaseSurface * | _current |
| ASurface | _buffer1 |
| ASurface | _buffer2 |
| ASurface | _vidBuf |
| int | _vidX |
| int | _vidY |
| SpriteResource * | _objectsTable [100] |
| bool | _establishTable [100] |
| bool | _establishFlag |
| int | _establishMode |
| int | _establishGroup |
| int | _establishCtrlTblOfs |
| TimerList | _timers |
| DeathList | _deaths |
| FontManager | _fonts |
| Common::Array< Common::Rect > | _newRects |
| Common::Array< Common::Rect > | _oldRects |
| Common::Array< ExtraCell > | _extraCells |
| ImageEntryList | _images |
| int | _mouseMode |
| uint8 | _playerDataCount |
| int | _currentManOld |
| int | _converseMode |
| bool | _currentCharFlag |
| bool | _boxSelect |
| int | _scale |
| int | _scaleH1 |
| int | _scaleH2 |
| int | _scaleN1 |
| int | _scaleT1 |
| int | _scaleMaxY |
| int | _scaleI |
| int | _scrollX |
| int | _scrollY |
| int | _scrollCol |
| int | _scrollRow |
| bool | _imgUnscaled |
| bool | _canSaveLoad |
| Resource * | _establish |
| int | _printEnd |
| int | _txtPages |
| int | _narateFile |
| int | _sndSubFile |
| int | _countTbl [6] |
| int | _conversation |
| int | _currentMan |
| uint32 | _newTime |
| uint32 | _newDate |
| int | _flags [256] |
| byte | _travel [60] |
| byte | _ask [40] |
| int | _startTravelItem |
| int | _startTravelBox |
| int | _startAboutItem |
| int | _startAboutBox |
| int | _boxDataStart |
| bool | _boxDataEnd |
| int | _boxSelectY |
| int | _boxSelectYOld |
| int | _numLines |
| byte | _byte26CB5 |
| int | _bcnt |
| bool | _vidEnd |
| bool | _clearSummaryFlag |
| bool | _cheatFl |
| bool | _restartFl |
| int & | _useItem |
| int & | _startup |
| int & | _manScaleOff |
| int & | _pictureTaken |
Public Attributes inherited from Engine | |
| OSystem * | _system |
| Audio::Mixer * | _mixer |
Protected Attributes inherited from Access::AccessEngine | |
| const AccessGameDescription * | _gameDescription |
| Common::RandomSource | _randomSource |
| int | _loadSaveSlot |
Protected Attributes inherited from Engine | |
| Common::TimerManager * | _timer |
| Common::EventManager * | _eventMan |
| Common::SaveFileManager * | _saveFileMan |
| GUI::Dialog * | _mainMenuDialog |
| const Common::String | _targetName |
| int32 | _activeEnhancements = kEnhGameBreakingBugFixes |
|
overrideprotectedvirtual |
Play the game
Implements Access::AccessEngine.
|
overridevirtual |
Synchronize savegame data
Reimplemented from Access::AccessEngine.