ScummVM API documentation
Xeen::WorldOfXeen::WorldOfXeenEngine Class Reference

#include <worldofxeen.h>

Inheritance diagram for Xeen::WorldOfXeen::WorldOfXeenEngine:
Xeen::XeenEngine Xeen::WorldOfXeen::WorldOfXeenCutscenes Engine Xeen::WorldOfXeen::CloudsCutscenes Xeen::WorldOfXeen::DarkSideCutscenes Xeen::Cutscenes Xeen::Cutscenes

Public Member Functions

 WorldOfXeenEngine (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 ()
 
- Public Member Functions inherited from Xeen::WorldOfXeen::WorldOfXeenCutscenes
 WorldOfXeenCutscenes (XeenEngine *vm)
 
void showWorldOfXeenEnding (GooberState state, uint score)
 
- Public Member Functions inherited from Xeen::WorldOfXeen::CloudsCutscenes
 CloudsCutscenes (XeenEngine *vm)
 
bool showCloudsIntro ()
 
void showCloudsEnding (uint finalScore)
 
- Public Member Functions inherited from Xeen::WorldOfXeen::DarkSideCutscenes
 DarkSideCutscenes (XeenEngine *vm)
 
bool showDarkSideIntro (bool seenIntro)
 
void showDarkSideEnding (uint endingScore)
 

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)
 
- Protected Member Functions inherited from Xeen::Cutscenes
 Cutscenes (XeenEngine *vm)
 
uint getSpeakingFrame (uint minFrame, uint maxFrame)
 
virtual bool doScroll (bool rollUp, bool fadeIn)
 
- Protected Member Functions inherited from Xeen::WorldOfXeen::DarkSideCutscenes
bool showPharaohEndText (const char *msg1, const char *msg2=nullptr, const char *msg3=nullptr)
 

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
 
- Protected Attributes inherited from Xeen::Cutscenes
XeenEngine_vm
 

Detailed Description

Implements a descendant of the base Xeen engine to handle Clouds of Xeen, Darkside of Xeen, and Worlds of Xeen specific game code

Member Function Documentation

◆ showStartup()

void Xeen::WorldOfXeen::WorldOfXeenEngine::showStartup ( )
overrideprotectedvirtual

Show the starting sequence/intro

Implements Xeen::XeenEngine.

◆ showMainMenu()

void Xeen::WorldOfXeen::WorldOfXeenEngine::showMainMenu ( )
overrideprotectedvirtual

Show the startup menu

Implements Xeen::XeenEngine.

◆ death()

void Xeen::WorldOfXeen::WorldOfXeenEngine::death ( )
overrideprotectedvirtual

Death cutscene

Implements Xeen::XeenEngine.

◆ showCutscene()

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

Show a cutscene

Reimplemented from Xeen::XeenEngine.

◆ dream()

void Xeen::WorldOfXeen::WorldOfXeenEngine::dream ( )
overridevirtual

Dream sequence

Implements Xeen::XeenEngine.


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