ScummVM API documentation
MADS::Nebular::GameNebular Class Reference
Inheritance diagram for MADS::Nebular::GameNebular:
MADS::Game

Public Member Functions

Globalsglobals () override
 
void doObjectAction () override
 
void showRecipe ()
 
void unhandledAction () override
 
void step () override
 
void synchronize (Common::Serializer &s, bool phase1) override
 
void setNaughtyMode (bool naughtyMode) override
 
bool getNaughtyMode () const override
 
- Public Member Functions inherited from MADS::Game
void run ()
 
uint32 getQuotesSize ()
 
const Common::StringgetQuote (uint32 index)
 
void splitQuote (const Common::String &source, Common::String &line1, Common::String &line2)
 
Common::StringArray getMessage (uint32 id)
 
void clearQuotes ()
 
void loadQuoteRange (int startNum, int endNum)
 
void loadQuoteSet (...)
 
void loadQuote (int quoteNum)
 
void handleKeypress (const Common::KeyState &kbd)
 
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

NebularGlobals _globals
 
StoryMode _storyMode
 
Difficulty _difficulty
 
- 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

 GameNebular (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 Gameinit (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
 

Member Function Documentation

◆ startGame()

void MADS::Nebular::GameNebular::startGame ( )
overrideprotectedvirtual

Perform any game-specifcic startup

Implements MADS::Game.

◆ initializeGlobals()

void MADS::Nebular::GameNebular::initializeGlobals ( )
overrideprotectedvirtual

Initializes global variables for a new game

Implements MADS::Game.

◆ setSectionHandler()

void MADS::Nebular::GameNebular::setSectionHandler ( )
overrideprotectedvirtual

Set up the section handler specific to each section

Implements MADS::Game.

◆ checkShowDialog()

void MADS::Nebular::GameNebular::checkShowDialog ( )
overrideprotectedvirtual

Checks for whether to show a dialog

Implements MADS::Game.

◆ globals()

Globals& MADS::Nebular::GameNebular::globals ( )
inlineoverridevirtual

Returns the globals for the game

Implements MADS::Game.

◆ doObjectAction()

void MADS::Nebular::GameNebular::doObjectAction ( )
overridevirtual

Standard object handling across the game

Implements MADS::Game.

◆ unhandledAction()

void MADS::Nebular::GameNebular::unhandledAction ( )
overridevirtual

Fallback handler for any action that isn't explicitly handled

Implements MADS::Game.

◆ step()

void MADS::Nebular::GameNebular::step ( )
overridevirtual

Global game step

Implements MADS::Game.

◆ synchronize()

void MADS::Nebular::GameNebular::synchronize ( Common::Serializer s,
bool  phase1 
)
overridevirtual

Synchronize the game data

Parameters
sSerializer
phase1If true, it's synchronizing the basic scene information

Reimplemented from MADS::Game.


The documentation for this class was generated from the following file: