ScummVM API documentation
Hollywood::RunawayAudio Class Reference

Public Member Functions

 RunawayAudio (Audio::Mixer *mixer)
 
void setMuseum (bool museum)
 
void setChapter (byte chapter)
 
void playIntroMusic (uint16 cue=2)
 
uint32 playMusic (uint16 cue, bool loop=true)
 
void playMusicEffect (uint16 cue, byte volume=Audio::Mixer::kMaxChannelVolume, byte channel=0, bool loop=false)
 
void setMusicVolume (byte volume)
 
void setListenerPosition (int x)
 
int listenerPosition () const
 
uint32 playSpeech (uint16 sample, bool global=false)
 
void playBackgroundSpeech (uint16 sample, byte channel)
 
void playEffect (uint16 cue, byte volume=Audio::Mixer::kMaxChannelVolume, byte channel=0, bool loop=false)
 
void playEffectAt (uint16 cue, Common::Point position, byte volume=Audio::Mixer::kMaxChannelVolume, byte channel=0, bool loop=false)
 
void playFootstep (byte surface, byte variant, byte volume=Audio::Mixer::kMaxChannelVolume, int x=-1)
 
void playPointer ()
 
void playMenuMusic ()
 
void stopMusic ()
 
void stopSpeech ()
 
void stopEffect ()
 
void stopEffect (byte channel)
 
bool musicPlaying () const
 
bool speechPlaying () const
 
bool effectPlaying (byte channel=0) const
 

The documentation for this class was generated from the following file: