55 _engine(&engine), _platform(platform), _console(&console) {
159 if (moduleDir.
empty())
173 modules.push_back(file);
Common::ScopedPtr< Module > _module
A creature in a Star Wars: Knights of the Old Republic II - The Sith Lords area.
A class holding an UTF-8 string.
The context handling the gameplay in Star Wars: Knights of the Old Republic II - The Sith Lords...
The global config manager.
void playMusic(const Common::UString &music="")
Overwrite all currently playing music.
Sound::ChannelHandle _menuMusic
bool endsWith(const UString &with) const
void truncate(const iterator &it)
std::list< UString >::const_iterator const_iterator
virtual void hide()
Hide the GUI.
The context holding a Star Wars: Knights of the Old Republic II - The Sith Lords area.
uint32 run(uint32 startCode=kStartCodeNone)
Run the GUI.
::Engines::Console * _console
Game(KotOR2Engine &engine, ::Engines::Console &console, Aurora::Platform platform)
void disableCommand(const Common::UString &cmd, const Common::UString &reason="")
#define ConfigMan
Shortcut for accessing the config manager.
void playMenuMusic(Common::UString music="")
static void getModules(std::vector< Common::UString > &modules)
Return a list of all modules.
Star Wars: Knights of the Old Republic II - The Sith Lords engine functions.
The global events manager.
Module & getModule()
Return the module context.
Star Wars: Knights of the Old Republic II - The Sith Lords (debug) console.
void stopAmbientMusic()
Stop the ambient music.
The global sound manager, handling all sound output.
bool empty() const
Is the string empty?
#define SoundMan
Shortcut for accessing the sound manager.
void stopMusic()
Force all currently playing music stopped.
Common::ScopedPtr< Functions > _functions
virtual void show()
Show the GUI.
The context needed to run a Star Wars: Knights of the Old Republic II - The Sith Lords module...
#define EventMan
Shortcut for accessing the events manager.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
void enableCommand(const Common::UString &cmd)
static UString getStem(const UString &p)
Return a file name's stem.
UString toLower() const
Return a lowercased copy of the string.
size_t size() const
Return the size of the string, in characters.
const_iterator begin() const
Return a const_iterator pointing to the beginning of the list.
void playAmbientMusic(Common::UString music="")
Play the specified music (or the area's default) as ambient music.
bool addDirectory(const UString &directory, int recurseDepth=0)
Add a directory to the list.
Generic Aurora engines utility functions.
Engine class handling Star Wars: Knights of the Old Republic II - The Sith Lords. ...
Utility class for manipulating file paths.
An area in Star Wars: Knights of the Old Republic II - The Sith Lords, holding all objects and rooms ...
const_iterator end() const
Return a const_iterator pointing past the end of the list.