Public Member Functions | |
| Globals & | globals () override |
| void | doObjectAction () override |
| void | unhandledAction () override |
| void | step () override |
| void | synchronize (Common::Serializer &s, bool phase1) override |
Public Member Functions inherited from MADS::Game | |
| void | run () |
| uint32 | getQuotesSize () |
| const Common::String & | getQuote (uint32 index) |
| void | splitQuote (const Common::String &source, Common::String &line1, Common::String &line2) |
| Common::StringArray | getMessage (uint32 id) |
| virtual void | setNaughtyMode (bool naughtyMode) |
| virtual bool | getNaughtyMode () const |
| void | clearQuotes () |
| void | loadQuoteRange (int startNum, int endNum) |
| void | loadQuoteSet (...) |
| void | loadQuote (int quoteNum) |
| void | handleKeypress (const Common::KeyState &kbd) |
| void | handleAction (const Common::CustomEventType &action) |
| void | loadGame (int slotNumber) |
| void | saveGame (int slotNumber, const Common::String &saveName) |
| void | writeSavegameHeader (Common::OutSaveFile *out, MADSSavegameHeader &header) |
| void | createThumbnail () |
| void | syncTimers (SyncType slaveType, int slaveId, SyncType masterType, int masterId) |
| void | camInitDefault () |
| void | camSetSpeed () |
| void | camUpdate () |
Public Attributes | |
| DragonsphereGlobals | _globals |
| StoryMode | _storyMode |
Public Attributes inherited from MADS::Game | |
| Player | _player |
| ScreenObjects | _screenObjects |
| int | _sectionNumber |
| int | _priorSectionNumber |
| int | _currentSectionNumber |
| InventoryObjects | _objects |
| SectionHandler * | _sectionHandler |
| VisitedScenes | _visitedScenes |
| Scene | _scene |
| KernelMode | _kernelMode |
| int | _trigger |
| ScreenTransition | _fx |
| TriggerMode | _triggerMode |
| TriggerMode | _triggerSetupMode |
| uint32 | _priorFrameTimer |
| Common::Path | _aaName |
| int | _winStatus |
| int | _widepipeCtr |
| int | _loadGameSlot |
| int | _panningSpeed |
| Camera | _camX |
| Camera | _camY |
Protected Member Functions | |
| GameDragonsphere (MADSEngine *vm) | |
| void | startGame () override |
| void | initializeGlobals () override |
| void | setSectionHandler () override |
| void | checkShowDialog () override |
Protected Member Functions inherited from MADS::Game | |
| Game (MADSEngine *vm) | |
| void | initSection (int sectionNumber) |
Additional Inherited Members | |
Static Public Member Functions inherited from MADS::Game | |
| static Game * | init (MADSEngine *vm) |
| static WARN_UNUSED_RESULT bool | readSavegameHeader (Common::InSaveFile *in, MADSSavegameHeader &header, bool skipThumbnail=true) |
Protected Attributes inherited from MADS::Game | |
| MADSEngine * | _vm |
| MSurface * | _surface |
| int | _statusFlag |
| Common::StringArray | _quotes |
| bool | _quoteEmergency |
| bool | _vocabEmergency |
| bool | _anyEmergency |
| int | _lastSave |
| Common::String | _saveName |
| Common::InSaveFile * | _saveFile |
| Graphics::Surface * | _saveThumb |
|
overrideprotectedvirtual |
Perform any game-specifcic startup
Implements MADS::Game.
|
overrideprotectedvirtual |
Initializes global variables for a new game
Implements MADS::Game.
|
overrideprotectedvirtual |
Set up the section handler specific to each section
Implements MADS::Game.
|
overrideprotectedvirtual |
Checks for whether to show a dialog
Implements MADS::Game.
|
inlineoverridevirtual |
Returns the globals for the game
Implements MADS::Game.
|
overridevirtual |
Standard object handling across the game
Implements MADS::Game.
|
overridevirtual |
Fallback handler for any action that isn't explicitly handled
Implements MADS::Game.
|
overridevirtual |
Global game step
Implements MADS::Game.
|
overridevirtual |
Synchronize the game data
| s | Serializer |
| phase1 | If true, it's synchronizing the basic scene information |
Reimplemented from MADS::Game.