Pyrogenesis  trunk
Namespaces | Functions
JSInterface_Sound.cpp File Reference
#include "precompiled.h"
#include "JSInterface_Sound.h"
#include "lib/config2.h"
#include "lib/utf8.h"
#include "maths/Vector3D.h"
#include "ps/Filesystem.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/ScriptRequest.h"
#include "soundmanager/SoundManager.h"
#include <sstream>
Include dependency graph for JSInterface_Sound.cpp:

Namespaces

 JSI_Sound
 

Functions

void JSI_Sound::StartMusic ()
 
void JSI_Sound::StopMusic ()
 
void JSI_Sound::ClearPlaylist ()
 
void JSI_Sound::AddPlaylistItem (const std::wstring &filename)
 
void JSI_Sound::StartPlaylist (bool looping)
 
void JSI_Sound::PlayMusic (const std::wstring &filename, bool looping)
 
void JSI_Sound::PlayUISound (const std::wstring &filename, bool looping)
 
void JSI_Sound::PlayAmbientSound (const std::wstring &filename, bool looping)
 
bool JSI_Sound::MusicPlaying ()
 
void JSI_Sound::SetMasterGain (float gain)
 
void JSI_Sound::SetMusicGain (float gain)
 
void JSI_Sound::SetAmbientGain (float gain)
 
void JSI_Sound::SetActionGain (float gain)
 
void JSI_Sound::SetUIGain (float gain)
 
void JSI_Sound::RegisterScriptFunctions (const ScriptRequest &rq)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...