Public Member Functions | |
TrecisionEngine (OSystem *syst, const ADGameDescription *desc) | |
Common::Error | run () override |
TrecisionGameId | getGameId () const |
bool | isDemo () const |
bool | isAmiga () const |
bool | hasFeature (EngineFeature f) const override |
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
Common::Error | loadGameStream (Common::SeekableReadStream *stream) override |
Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) override |
bool | syncGameStream (Common::Serializer &ser) |
Common::SeekableReadStreamEndian * | readEndian (Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeParentStream=DisposeAfterUse::YES) |
void | read3D (const Common::Path &c) |
void | setInventoryStart (uint8 startIcon, uint8 startLine) |
void | showInventoryName (uint16 obj, bool showhide) |
void | showIconName () |
uint8 | whatIcon (Common::Point pos) |
int8 | iconPos (uint8 icon) |
void | removeIcon (uint8 icon) |
void | addIcon (uint8 icon) |
void | replaceIcon (uint8 oldIcon, uint8 newIcon) |
void | openInventory () |
void | closeInventory () |
void | closeInventoryImmediately () |
void | useItem () |
void | examineItem () |
void | clearUseWith () |
void | playScript (uint16 id) |
bool | quitPrompt () |
void | demoOver () |
void | startCharacterAction (uint16 action, uint16 newRoom, uint8 newPos, uint16 sent) |
void | doMouseTalk (uint16 curObj) |
void | changeRoom (uint16 room, uint16 action=0, byte position=0) |
uint16 | textLength (const Common::String &text, uint16 begin=0, uint16 end=0) |
Common::KeyCode | waitKey () |
void | waitDelay (uint32 val) |
void | freeKey () |
uint32 | readTime () |
bool | checkMask (Common::Point pos) |
float | sinCosAngle (float sinus, float cosinus) |
float | dist2D (float x1, float y1, float x2, float y2) |
float | dist3D (float x1, float y1, float z1, float x2, float y2, float z2) |
int | getRoomObjectIndex (uint16 objectId) |
int | floatComp (float f1, float f2) const |
void | checkSystem () |
bool | dataSave () |
bool | dataLoad () |
void | reEvent () |
void | setObjectVisible (uint16 objectId, bool visible) |
void | refreshObject (uint16 objectId) |
bool | isObjectVisible (uint16 objectId) |
void | setObjectAnim (uint16 objectId, uint16 animId) |
void | redrawRoom () |
void | readLoc () |
Common::SeekableReadStreamEndian * | getLocStream () |
void | tendIn () |
void | readExtraObj2C () |
void | readPositionerSnapshots () |
byte * | readData (const Common::Path &fileName) |
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) |
void | setGameToLoadSlot (int slot) |
virtual Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
bool | saveGameDialog () |
bool | loadGameDialog () |
Static Public Member Functions | |
static bool | isGameArea (Common::Point pos) |
static bool | isInventoryArea (Common::Point pos) |
static bool | isIconArea (Common::Point pos) |
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 | |
const ADGameDescription * | _gameDescription |
Graphics::Surface | _thumbnail |
bool | _controlPanelSave = false |
uint16 | _curRoom |
uint16 | _oldRoom |
SRoom | _room [100] |
Common::List< SSortTable > | _sortTable |
uint16 | _curObj |
SObject | _obj [1400] |
SDText | _drawText |
uint16 | _curInventory |
SInvObject | _inventoryObj [150] |
Common::Array< byte > | _inventory |
Common::Array< byte > | _cyberInventory |
uint8 | _iconBase |
uint8 | _inventoryStatus |
uint8 | _lightIcon |
uint8 | _inventoryRefreshStartIcon |
uint8 | _inventoryRefreshStartLine |
int16 | _inventoryCounter |
bool | _flagInventoryLocked |
uint8 | _inventorySpeedIndex |
uint32 | _inventoryScrollTime |
uint16 | _lastInv |
uint16 | _lastObj |
bool | _fastWalk |
uint16 | _useWith [2] |
bool | _useWithInv [2] |
const char * | _objName [MAXOBJNAME] |
const char * | _sentence [MAXSENTENCE] |
const char * | _sysText [MAXSYSTEXT] |
Message * | _curMessage |
Message | _snake52 |
uint32 | _nextRefresh |
Common::Point | _mousePos |
bool | _mouseMoved |
bool | _mouseLeftBtn |
bool | _mouseRightBtn |
Common::KeyCode | _curKey |
Common::CustomEventType | _curAction |
bool | _joyButtonUp = false |
bool | _flagScriptActive |
SScriptFrame | _scriptFrame [MAXSCRIPTFRAME] |
uint16 | _scriptFirstFrame [MAXSCRIPT] |
AnimManager * | _animMgr |
GraphicsManager * | _graphicsMgr |
DialogManager * | _dialogMgr |
LogicManager * | _logicMgr |
SoundManager * | _soundMgr |
Renderer3D * | _renderer |
PathFinding3D * | _pathFind |
TextManager * | _textMgr |
Scheduler * | _scheduler |
AnimTypeManager * | _animTypeMgr |
Actor * | _actor |
FastFile | _dataFile |
bool | _flagDialogActive |
bool | _flagDialogMenuActive |
bool | _flagSkipTalk |
bool | _flagPaintCharacter |
bool | _flagShowCharacter |
bool | _flagSomeoneSpeaks |
bool | _flagCharacterSpeak |
bool | _flagUseWithStarted |
bool | _flagNoPaintScreen |
bool | _flagWaitRegen |
ObjectGraphics | _objectGraphics [MAXOBJINROOM] |
uint32 | _curTime |
uint32 | _characterSpeakTime |
int | _cx |
int | _cy |
uint8 | _textStatus |
uint32 | _pauseStartTime |
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 } |
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 |
Initialize the engine and start its main loop.
Implements Engine.
|
overridevirtual |
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.
|
inlineoverridevirtual |
Indicate whether a game state can be saved.
msg | Optional pointer to message explaining why it is disabled |
Reimplemented from Engine.
|
overridevirtual |
Load a game state.
stream | The stream to load the save state from. |
Reimplemented from Engine.
|
overridevirtual |
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.