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

Namespaces

 JSI_Sound
 

Functions

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