|
xoreos
0.0.5
|
#include <game.h>


Public Member Functions | |
| Game (JadeEngine &engine, ::Engines::Console &console, Aurora::Platform platform) | |
| ~Game () | |
| Module & | getModule () |
| Return the module context. More... | |
| void | run () |
Public Member Functions inherited from Aurora::NWScript::VariableContainer | |
| VariableContainer () | |
| virtual | ~VariableContainer () |
| bool | hasVariable (const Common::UString &var) const |
| Variable & | getVariable (const Common::UString &var, Type type=kTypeVoid) |
| const Variable & | getVariable (const Common::UString &var) const |
| void | setVariable (const Common::UString &var, const Variable &value) |
| void | removeVariable (const Common::UString &var) |
| void | clearVariables () |
Static Public Member Functions | |
| static void | getModules (std::vector< Common::UString > &modules) |
| Return a list of all modules. More... | |
Private Member Functions | |
| void | playMenuMusic () |
| void | stopMenuMusic () |
| void | mainMenu () |
| void | runModule () |
| Engines::Jade::Game::Game | ( | JadeEngine & | engine, |
| ::Engines::Console & | console, | ||
| Aurora::Platform | platform | ||
| ) |
Definition at line 52 of file game.cpp.
References _functions.
| Module & Engines::Jade::Game::getModule | ( | ) |
Return the module context.
Definition at line 61 of file game.cpp.
References _module.
Referenced by Engines::Jade::Functions::actionDoCommand(), Engines::Jade::Functions::actionStartConversation(), Engines::Jade::Functions::assignCommand(), Engines::Jade::Console::cmdExitModule(), Engines::Jade::Console::cmdLoadModule(), Engines::Jade::Functions::delayCommand(), Engines::Jade::Functions::getNearestObject(), Engines::Jade::Functions::getObjectByTag(), Engines::Jade::Functions::getPlayer(), Engines::Jade::Functions::getWaypointByTag(), and Engines::Jade::Functions::jumpTo().

|
static |
Return a list of all modules.
Definition at line 160 of file game.cpp.
References Aurora::kFileTypeARE, and ResMan.
Referenced by Engines::Jade::Console::updateModules().

|
private |
Definition at line 142 of file game.cpp.
References _console, _module, Engines::Console::disableCommand(), Engines::Console::enableCommand(), EventMan, Engines::Jade::MainMenu::hide(), playMenuMusic(), Engines::GUI::run(), Engines::Jade::MainMenu::show(), and stopMenuMusic().
Referenced by run().


|
private |
Definition at line 113 of file game.cpp.
References _menuMusic, _musicBank, Common::exceptionDispatcherWarning(), Sound::kSoundTypeMusic, Sound::makeLoopingAudioStream(), SoundMan, and stopMenuMusic().
Referenced by mainMenu().


| void Engines::Jade::Game::run | ( | ) |
Definition at line 67 of file game.cpp.
References _console, _module, _musicBank, EventMan, Common::exceptionDispatcherWarning(), Sound::XACTWaveBank::load(), mainMenu(), Common::ScopedPtrBase< T, Deallocator >::reset(), and runModule().

|
private |
|
private |
Definition at line 138 of file game.cpp.
References _menuMusic, and SoundMan.
Referenced by mainMenu(), and playMenuMusic().

|
private |
Definition at line 75 of file game.h.
Referenced by mainMenu(), and run().
|
private |
|
private |
|
private |
Definition at line 78 of file game.h.
Referenced by playMenuMusic(), and stopMenuMusic().
|
private |
Definition at line 70 of file game.h.
Referenced by getModule(), mainMenu(), run(), and runModule().
|
private |
Definition at line 77 of file game.h.
Referenced by playMenuMusic(), and run().
|
private |
1.8.14