|
| GnapEngine (OSystem *syst, const ADGameDescription *gd) |
|
void | updateEvents () |
|
void | gameUpdateTick () |
|
void | saveTimers () |
|
void | restoreTimers () |
|
void | pauseGame () |
|
void | resumeGame () |
|
void | updatePause () |
|
int | getRandom (int max) |
|
int | readSavegameDescription (int savegameNum, Common::String &description) |
|
int | loadSavegame (int savegameNum) |
|
Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
|
Common::Error | loadGameState (int slot) override |
|
void | synchronize (Common::Serializer &s) |
|
void | writeSavegameHeader (Common::OutSaveFile *out, GnapSavegameHeader &header) |
|
void | delayTicks (int val, int idx, bool updateCursor) |
|
void | delayTicksA (int val, int idx) |
|
void | delayTicksCursor (int val) |
|
void | setHotspot (int index, int16 x1, int16 y1, int16 x2, int16 y2, uint16 flags=SF_NONE, int16 walkX=-1, int16 walkY=-1) |
|
int | getHotspotIndexAtPos (Common::Point pos) |
|
void | updateCursorByHotspot () |
|
int | getClickedHotspotId () |
|
int | getInventoryItemSpriteNum (int index) |
|
void | updateMouseCursor () |
|
void | setVerbCursor (int verbCursor) |
|
void | setCursor (int cursorIndex) |
|
void | showCursor () |
|
void | hideCursor () |
|
void | setGrabCursorSprite (int index) |
|
void | createGrabCursorSprite (int spriteId) |
|
void | freeGrabCursorSprite () |
|
void | updateGrabCursorSprite (int x, int y) |
|
void | invClear () |
|
void | invAdd (int itemId) |
|
void | invRemove (int itemId) |
|
bool | invHas (int itemId) |
|
void | clearFlags () |
|
void | setFlag (int num) |
|
void | clearFlag (int num) |
|
bool | isFlag (int num) |
|
Graphics::Surface * | addFullScreenSprite (int resourceId, int id) |
|
void | removeFullScreenSprite () |
|
void | showFullScreenSprite (int resourceId) |
|
void | queueInsertDeviceIcon () |
|
void | insertDeviceIconActive () |
|
void | removeDeviceIconActive () |
|
void | setDeviceHotspot (int hotspotIndex, int x1, int y1, int x2, int y2) |
|
int | getSequenceTotalDuration (int resourceId) |
|
bool | isSoundPlaying (int resourceId) |
|
void | playSound (int resourceId, bool looping) |
|
void | stopSound (int resourceId) |
|
void | setSoundVolume (int resourceId, int volume) |
|
void | updateTimers () |
|
void | initGameFlags (int num) |
|
void | loadStockDat () |
|
void | mainLoop () |
|
void | initScene () |
|
void | endSceneInit () |
|
void | afterScene () |
|
int | initSceneLogic () |
|
void | runSceneLogic () |
|
void | checkGameKeys () |
|
void | startSoundTimerA (int timerIndex) |
|
int | playSoundA () |
|
void | startSoundTimerB (int timerIndex) |
|
int | playSoundB () |
|
void | startSoundTimerC (int timerIndex) |
|
int | playSoundC () |
|
void | startIdleTimer (int timerIndex) |
|
void | updateIdleTimer () |
|
void | screenEffect (int dir, byte r, byte g, byte b) |
|
bool | isKeyStatus1 (int key) |
|
bool | isKeyStatus2 (int key) |
|
void | clearKeyStatus1 (int key) |
|
void | clearAllKeyStatus1 () |
|
void | deleteSurface (Graphics::Surface **surface) |
|
void | createMenuSprite () |
|
void | freeMenuSprite () |
|
void | initMenuHotspots1 () |
|
void | initMenuHotspots2 () |
|
void | initMenuQuitQueryHotspots () |
|
void | initSaveLoadHotspots () |
|
void | drawInventoryFrames () |
|
void | insertInventorySprites () |
|
void | removeInventorySprites () |
|
void | runMenu () |
|
void | updateMenuStatusInventory () |
|
void | updateMenuStatusMainMenu () |
|
void | updateMenuStatusSaveGame () |
|
void | updateMenuStatusLoadGame () |
|
void | updateMenuStatusQueryQuit () |
|
bool | isPointBlocked (int gridX, int gridY) |
|
bool | isPointBlocked (Common::Point gridPos) |
|
void | initSceneGrid (int gridMinX, int gridMinY, int gridMaxX, int gridMaxY) |
|
bool | testWalk (int animationIndex, int someStatus, int gridX1, int gridY1, int gridX2, int gridY2) |
|
void | doCallback (int callback) |
|
void | initGlobalSceneVars () |
|
void | playSequences (int fullScreenSpriteId, int sequenceId1, int sequenceId2, int sequenceId3) |
|
void | toyUfoSetStatus (int flagNum) |
|
int | toyUfoGetSequenceId () |
|
bool | toyUfoCheckTimer () |
|
void | toyUfoFlyTo (int destX, int destY, int minX, int maxX, int minY, int maxY, int animationIndex) |
|
void | playMidi (const char *name) |
|
void | stopMidi () |
|
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 bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) |
|
virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
|
virtual bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) |
|
bool | saveGameDialog () |
|
bool | loadGameDialog () |
|