Public Member Functions | |
TrollEngine (OSystem *syst, const AGIGameDescription *gameDesc) | |
Common::Error | go () override |
Public Member Functions inherited from Agi::AgiBase | |
virtual bool | promptIsEnabled () |
AgiBase (OSystem *syst, const AGIGameDescription *gameDesc) | |
bool | getFlag (int16 flagNr) |
void | setFlag (int16 flagNr, bool newState) |
void | flipFlag (int16 flagNr) |
void | setFlagOrVar (int16 flagNr, bool newState) |
uint32 | getGameID () const |
uint32 | getFeatures () const |
uint16 | getVersion () const |
uint16 | getGameType () const |
Common::Language | getLanguage () const |
bool | isLanguageRTL () const |
Common::Platform | getPlatform () const |
const char * | getGameMD5 () const |
void | initFeatures () |
void | initVersion () |
const char * | getDiskName (uint16 id) |
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
const byte * | getFontData () |
void | cycleInnerLoopActive (int16 loopType) |
void | cycleInnerLoopInactive () |
bool | cycleInnerLoopIsActive () |
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 | loadGameState (int slot) |
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) |
bool | saveGameDialog () |
bool | loadGameDialog () |
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) |
Public Attributes inherited from Agi::AgiBase | |
Words * | _words |
GfxFont * | _font |
GfxMgr * | _gfx |
Common::RenderMode | _renderMode |
AgiDebug | _debug |
AgiGame | _game |
Common::RandomSource * | _rnd |
SoundMgr * | _sound |
Mouse | _mouse |
bool | _noSaveLoadAllowed |
int | _soundemu |
const AGIGameDescription * | _gameDescription |
uint32 | _gameFeatures |
uint16 | _gameVersion |
Public Attributes inherited from Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Protected Member Functions inherited from Agi::PreAgiEngine | |
void | initialize () override |
void | pollTimer () |
int | getKeypress () override |
bool | isKeypress () override |
void | clearKeyQueue () override |
PreAgiEngine (OSystem *syst, const AGIGameDescription *gameDesc) | |
int | getGameId () |
void | clearImageStack () override |
void | recordImageStackCall (uint8 type, int16 p1, int16 p2, int16 p3, int16 p4, int16 p5, int16 p6, int16 p7) override |
void | replayImageStackCall (uint8 type, int16 p1, int16 p2, int16 p3, int16 p4, int16 p5, int16 p6, int16 p7) override |
void | releaseImageStack () override |
int | saveGame (const Common::String &fileName, const Common::String &saveName) |
int | loadGame (const Common::String &fileName, bool checkId=true) |
Common::String | getTargetName () |
void | clearScreen (int attr, bool overrideDefault=true) |
void | clearGfxScreen (int attr) |
void | setDefaultTextColor (int attr) |
int | getSelection (SelectionTypes type) |
int | rnd (int hi) |
void | drawStr (int row, int col, int attr, const char *buffer) |
void | drawStrMiddle (int row, int attr, const char *buffer) |
void | clearTextArea () |
void | clearRow (int row) |
void | XOR80 (char *buffer) |
void | printStr (const char *szMsg) |
void | printStrXOR (char *szMsg) |
Common::SaveFileManager * | getSaveFileMan () |
void | playNote (int16 frequency, int32 length) |
void | waitForTimer (int msec_delay) |
Protected Member Functions inherited from Agi::AgiBase | |
Common::Error | init () |
Common::Error | run () override |
bool | hasFeature (EngineFeature f) const override |
void | initRenderMode () |
Protected Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
virtual void | pauseEngineIntern (bool pause) |
Protected Attributes inherited from Agi::PreAgiEngine | |
PictureMgr * | _picture |
Protected Attributes inherited from Engine | |
Common::TimerManager * | _timer |
Common::EventManager * | _eventMan |
Common::SaveFileManager * | _saveFileMan |
GUI::Dialog * | _mainMenuDialog |
const Common::String | _targetName |
int32 | _activeEnhancements = kEnhGameBreakingBugFixes |