ScummVM API documentation
Xeen::SwordsOfXeen::SwordsOfXeenEngine Class Reference

#include <swordsofxeen.h>

Inheritance diagram for Xeen::SwordsOfXeen::SwordsOfXeenEngine:
Xeen::XeenEngine Engine

Public Member Functions

 SwordsOfXeenEngine (OSystem *syst, const XeenGameDescription *gameDesc)
 
void showCutscene (const Common::String &name, int status, uint score) override
 
void dream () override
 
- Public Member Functions inherited from Xeen::XeenEngine
 XeenEngine (OSystem *syst, const XeenGameDescription *gameDesc)
 
uint32 getFeatures () const
 
Common::Language getLanguage () const
 
Common::Platform getPlatform () const
 
uint32 getGameID () const
 
uint32 getSpecificGameId () const
 
uint32 getGameFeatures () const
 
bool getIsCD () const
 
int getRandomNumber (int maxNumber)
 
int getRandomNumber (int minNumber, int maxNumber)
 
bool shouldExit () const
 
bool isLoadPending () const
 
Common::Error loadGameState (int slot) override
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 
void syncSoundSettings () override
 
bool canLoadGameStateCurrently () override
 
bool canSaveGameStateCurrently () override
 
bool canSaveAutosaveCurrently () override
 
void saveSettings ()
 
void GUIError (const Common::U32String &msg)
 
- Public Member Functions inherited from Engine
MetaEnginegetMetaEngine () const
 
void setMetaEngine (MetaEngine *metaEngine)
 
PauseToken pauseEngine ()
 
bool isPaused () const
 
void openMainMenuDialog ()
 
uint32 getTotalPlayTime () const
 
void setTotalPlayTime (uint32 time=0)
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
bool existExtractedCDAudioFiles (uint track=1)
 
bool isDataAndCDAudioReadFromSameCD ()
 
void warnMissingExtractedCDAudio ()
 
void handleAutoSave ()
 
void saveAutosaveIfEnabled ()
 
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::DebuggergetDebugger () final
 
void setDebugger (GUI::Debugger *debugger)
 
GUI::DebuggergetOrCreateDebugger ()
 
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 Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Protected Member Functions

void showStartup () override
 
void showMainMenu () override
 
void death () override
 
- Protected Member Functions inherited from Xeen::XeenEngine
virtual void playGame ()
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
virtual void pauseEngineIntern (bool pause)
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp
}
 
- Static Public Member Functions inherited from Xeen::XeenEngine
static Common::String printMil (uint value)
 
static Common::String printK (uint value)
 
static Common::String printK2 (uint value)
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 
static bool shouldQuit ()
 
static MetaEngineDetectiongetMetaEngineDetection ()
 
static bool warnUserAboutUnsupportedGame (Common::String msg=Common::String())
 
static void errorUnsupportedGame (Common::String extraMsg)
 
- Public Attributes inherited from Xeen::XeenEngine
Combat_combat
 
Debugger_debugger
 
EventsManager_events
 
FileManager_files
 
Interface_interface
 
LocationManager_locations
 
Map_map
 
Party_party
 
Patcher_patcher
 
Resources_resources
 
SavesManager_saves
 
Screen_screen
 
Scripts_scripts
 
Sound_sound
 
Spells_spells
 
Windows_windows
 
Mode _mode
 
GameMode _gameMode
 
bool _noDirectionSense
 
bool _startupWindowActive
 
uint _endingScore
 
bool _gameWon [3]
 
uint _finalScore
 
ExtendedOptions _extOptions
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 
- Protected Attributes inherited from Xeen::XeenEngine
int _loadSaveSlot
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Detailed Description

Implements a descendant of the base Xeen engine to handle Swords of Xeen specific game code

Member Function Documentation

◆ showStartup()

void Xeen::SwordsOfXeen::SwordsOfXeenEngine::showStartup ( )
inlineoverrideprotectedvirtual

Show the starting sequence/intro

Implements Xeen::XeenEngine.

◆ showMainMenu()

void Xeen::SwordsOfXeen::SwordsOfXeenEngine::showMainMenu ( )
overrideprotectedvirtual

Show the startup menu

Implements Xeen::XeenEngine.

◆ death()

void Xeen::SwordsOfXeen::SwordsOfXeenEngine::death ( )
overrideprotectedvirtual

Death cutscene

Implements Xeen::XeenEngine.

◆ showCutscene()

void Xeen::SwordsOfXeen::SwordsOfXeenEngine::showCutscene ( const Common::String name,
int  status,
uint  score 
)
overridevirtual

Show a cutscene

Reimplemented from Xeen::XeenEngine.

◆ dream()

void Xeen::SwordsOfXeen::SwordsOfXeenEngine::dream ( )
overridevirtual

Dream sequence

Implements Xeen::XeenEngine.


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