|
virtual void | preloadBackgroundMusic (const char *pszFilePath) |
| Preload background music. More...
|
|
var | preloadMusic ( var pszFilePath) |
| Preload background music. More...
|
|
local | preloadMusic ( local pszFilePath) |
| Preload background music. More...
|
|
virtual void | playBackgroundMusic (const char *pszFilePath, bool bLoop=false) |
| Play background music. More...
|
|
local | playMusic ( local pszFilePath, local false) |
| Play background music. More...
|
|
virtual void | stopBackgroundMusic (bool bReleaseData=false) |
| Stop playing background music. More...
|
|
virtual void | pauseBackgroundMusic () |
| Pause playing background music. More...
|
|
virtual void | resumeBackgroundMusic () |
| Resume playing background music. More...
|
|
virtual void | rewindBackgroundMusic () |
| Rewind playing background music. More...
|
|
virtual bool | willPlayBackgroundMusic () |
| Indicates whether any background music can be played or not. More...
|
|
virtual bool | isBackgroundMusicPlaying () |
| Indicates whether the background music is playing. More...
|
|
virtual float | getBackgroundMusicVolume () |
| The volume of the background music within the range of 0.0 as the minimum and 1.0 as the maximum. More...
|
|
virtual void | setBackgroundMusicVolume (float volume) |
| Set the volume of background music. More...
|
|
var | setMusicVolume ( var volume) |
| Set the volume of background music. More...
|
|
local | setMusicVolume ( local volume) |
| Set the volume of background music. More...
|
|
virtual float | getEffectsVolume () |
| The volume of the effects within the range of 0.0 as the minimum and 1.0 as the maximum. More...
|
|
virtual void | setEffectsVolume (float volume) |
| Set the volume of sound effects. More...
|
|
local | setEffectsVolume ( local volume) |
| Set the volume of sound effects. More...
|
|
virtual unsigned int | playEffect (const char *pszFilePath, bool bLoop=false, float pitch=1.0f, float pan=0.0f, float gain=1.0f) |
| Play sound effect with a file path, pitch, pan and gain. More...
|
|
virtual void | pauseEffect (unsigned int nSoundId) |
| Pause playing sound effect. More...
|
|
virtual void | pauseAllEffects () |
| Pause all playing sound effect. More...
|
|
virtual void | resumeEffect (unsigned int nSoundId) |
| Resume playing sound effect. More...
|
|
var | resumeEffect ( var nSoundId) |
| Resume playing sound effect. More...
|
|
local | resumeEffect ( local nSoundId) |
| Resume playing sound effect. More...
|
|
virtual void | resumeAllEffects () |
| Resume all playing sound effect. More...
|
|
virtual void | stopEffect (unsigned int nSoundId) |
| Stop playing sound effect. More...
|
|
virtual void | stopAllEffects () |
| Stop all playing sound effects. More...
|
|
virtual void | preloadEffect (const char *pszFilePath) |
| preload a compressed audio file More...
|
|
var | preloadEffect ( var pszFilePath) |
| preload a compressed audio file More...
|
|
local | preloadEffect ( local pszFilePath) |
| preload a compressed audio file More...
|
|
virtual void | unloadEffect (const char *pszFilePath) |
| unload the preloaded effect from internal buffer More...
|
|