53 _engine(&engine), _platform(platform), _console(&console) {
86 fakePC->createFakePC();
124 static const size_t mainMenuMusic = 46;
163 std::list<Aurora::ResourceManager::ResourceID> ares;
166 for (std::list<Aurora::ResourceManager::ResourceID>::const_iterator a = ares.begin(); a != ares.end(); ++a)
167 modules.push_back(a->name);
#define ResMan
Shortcut for accessing the sound manager.
Module & getModule()
Return the module context.
static XACTWaveBank * load(const Common::UString &name)
Load an XACT WaveBank, of either ASCII or Binary format.
Engine class handling Jade Empire.
void reset(PointerType o=0)
Resets the pointer with the new value.
PointerType release()
Returns the plain pointer value and releases ScopedPtr.
Jade Empire engine functions.
The context handling the gameplay in Jade Empire.
uint32 run(uint32 startCode=kStartCodeNone)
Run the GUI.
void exceptionDispatcherWarning(const char *s,...)
Exception dispatcher that prints the exception as a warning, and adds another reason on top...
void disableCommand(const Common::UString &cmd, const Common::UString &reason="")
Common::ScopedPtr< Module > _module
static void getModules(std::vector< Common::UString > &modules)
Return a list of all modules.
The global events manager.
The Jade Empire main menu.
The global sound manager, handling all sound output.
#define SoundMan
Shortcut for accessing the sound manager.
A scoped plain pointer, allowing pointer-y access and normal deletion.
::Engines::Console * _console
#define EventMan
Shortcut for accessing the events manager.
Common::ScopedPtr< Sound::XACTWaveBank > _musicBank
Generic audio input stream.
void enableCommand(const Common::UString &cmd)
Generic Aurora engines utility functions.
AudioStream * makeLoopingAudioStream(RewindableAudioStream *stream, size_t loops)
Wrapper functionality to efficiently create a stream, which might be looped.
Common::ScopedPtr< Functions > _functions
The global resource manager for Aurora resources.
Game(JadeEngine &engine, ::Engines::Console &console, Aurora::Platform platform)
Sound::ChannelHandle _menuMusic
An abstract XACT WaveBank, containing sound files.
A creature in a Jade Empire area.