Public Member Functions | |
AccessEngine (OSystem *syst, const AccessGameDescription *gameDesc) | |
virtual void | dead (int deathId)=0 |
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) |
void | loadCells (Common::Array< CellIdent > &cells) |
void | freeCells () |
virtual void | establish (int esatabIndex, int sub)=0 |
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) |
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) |
void | SPRINTCHR (char c, int fontNum) |
void | PRINTCHR (Common::String msg, int fontNum) |
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 |
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 | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
bool | saveGameDialog () |
bool | loadGameDialog () |
Static Public Member Functions | |
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 void | errorUnsupportedGame (Common::String extraMsg) |
Public Attributes | |
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 |
Common::Array< CharEntry * > | _charTable |
SpriteResource * | _objectsTable [100] |
bool | _establishTable [100] |
bool | _establishFlag |
int | _establishMode |
int | _establishGroup |
int | _establishCtrlTblOfs |
int | _numAnimTimers |
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] |
int | _travel [60] |
int | _ask [40] |
int | _startTravelItem |
int | _startTravelBox |
int | _startAboutItem |
int | _startAboutBox |
int | _boxDataStart |
bool | _boxDataEnd |
int | _boxSelectY |
int | _boxSelectYOld |
int | _numLines |
byte | _byte26CB5 |
int | _bcnt |
byte * | _tempList |
int | _pictureTaken |
bool | _vidEnd |
bool | _clearSummaryFlag |
bool | _cheatFl |
bool | _restartFl |
int & | _useItem |
int & | _startup |
int & | _manScaleOff |
Public Attributes inherited from Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Protected Member Functions | |
void | doRoom () |
void | playVideo (int videoNum, const Common::Point &pt) |
Common::Error | run () override |
bool | hasFeature (EngineFeature f) const override |
virtual void | playGame ()=0 |
virtual void | synchronize (Common::Serializer &s) |
Protected Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
virtual void | pauseEngineIntern (bool pause) |
Protected Attributes | |
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 |
Additional Inherited Members | |
Public Types inherited from Engine | |
enum | EngineFeature { kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime, kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride } |
|
protected |
Main handler for showing game rooms
|
protected |
Play back an entire video
|
overrideprotectedvirtual |
Initialize the engine and start its main loop.
Implements Engine.
|
overrideprotectedvirtual |
Determine whether the engine supports the specified feature.
Reimplemented from Engine.
|
protectedpure virtual |
Play the game
Implemented in Access::Amazon::AmazonEngine, and Access::Martian::MartianEngine.
|
protectedvirtual |
Synchronize savegame data
Reimplemented in Access::Amazon::AmazonEngine.
void Access::AccessEngine::freeCells | ( | ) |
Free the sprites list
void Access::AccessEngine::printText | ( | BaseSurface * | s, |
const Common::String & | msg | ||
) |
Draw a string on a given surface and update text positioning
|
overridevirtual |
Load a savegame
Reimplemented from Engine.
|
overridevirtual |
Save the game
Reimplemented from Engine.
|
overridevirtual |
Returns true if a savegame can currently be loaded
Reimplemented from Engine.
|
overridevirtual |
Returns true if the game can currently be saved
Reimplemented from Engine.
|
static |
Read in a savegame header
void Access::AccessEngine::writeSavegameHeader | ( | Common::OutSaveFile * | out, |
AccessSavegameHeader & | header | ||
) |
Write out a savegame header