◆ playFX()
void MM::Shared::Xeen::Sound::playFX |
( |
uint |
effectId | ) |
|
◆ stopFX()
void MM::Shared::Xeen::Sound::stopFX |
( |
bool |
force = false | ) |
|
Stops any currently playing FX
◆ songCommand()
int MM::Shared::Xeen::Sound::songCommand |
( |
uint |
commandId, |
|
|
byte |
musicVolume = 0 , |
|
|
byte |
sfxVolume = 0 |
|
) |
| |
Executes special music command
◆ stopSong()
void MM::Shared::Xeen::Sound::stopSong |
( |
| ) |
|
|
inline |
Stops any currently playing music
◆ setMusicPercent()
void MM::Shared::Xeen::Sound::setMusicPercent |
( |
byte |
percent | ) |
|
Sets the in-game music volume percent. This is separate from the ScummVM volume
◆ playSong() [1/2]
◆ playSong() [2/2]
void MM::Shared::Xeen::Sound::playSong |
( |
const Common::Path & |
name, |
|
|
int |
param = 0 |
|
) |
| |
◆ isMusicPlaying()
bool MM::Shared::Xeen::Sound::isMusicPlaying |
( |
| ) |
const |
Returns true if music is playing
◆ setMusicOn()
void MM::Shared::Xeen::Sound::setMusicOn |
( |
bool |
isOn | ) |
|
◆ setFxOn()
void MM::Shared::Xeen::Sound::setFxOn |
( |
bool |
isOn | ) |
|
Sets whether sound effects is on
◆ updateSoundSettings()
void MM::Shared::Xeen::Sound::updateSoundSettings |
( |
| ) |
|
Called to reload sound settings
◆ stopAllAudio()
void MM::Shared::Xeen::Sound::stopAllAudio |
( |
| ) |
|
Stops all playing music, FX, and sound samples
◆ playSound() [1/2]
◆ playSound() [2/2]
void MM::Shared::Xeen::Sound::playSound |
( |
const Common::Path & |
name, |
|
|
int |
unused = 0 |
|
) |
| |
◆ stopSound()
void MM::Shared::Xeen::Sound::stopSound |
( |
| ) |
|
Stop playing a sound loaded from a .m file
◆ isSoundPlaying()
bool MM::Shared::Xeen::Sound::isSoundPlaying |
( |
| ) |
const |
Returns true if a sound file is currently playing
◆ playVoice()
void MM::Shared::Xeen::Sound::playVoice |
( |
const Common::Path & |
name | ) |
|
The documentation for this class was generated from the following file: