ScummVM API documentation
Queen::Sound Class Reference
Inheritance diagram for Queen::Sound:
Queen::AmigaSound Queen::PCSound

Public Member Functions

 Sound (Audio::Mixer *mixer, QueenEngine *vm)
 
virtual void playSfx (uint16 sfx)
 
virtual void playSong (int16 songNum)
 
virtual void playSpeech (const char *base)
 
virtual void stopSfx ()
 
virtual void stopSong ()
 
virtual void stopSpeech ()
 
virtual bool isSpeechActive () const
 
virtual bool isSfxActive () const
 
virtual void updateMusic ()
 
virtual void setVolume (int vol)
 
virtual int getVolume ()
 
void playLastSong ()
 
bool sfxOn () const
 
void sfxToggle (bool val)
 
void toggleSfx ()
 
bool speechOn () const
 
void speechToggle (bool val)
 
void toggleSpeech ()
 
bool musicOn () const
 
void musicToggle (bool val)
 
void toggleMusic ()
 
bool speechSfxExists () const
 
int16 lastOverride () const
 
void saveState (byte *&ptr)
 
void loadState (uint32 ver, byte *&ptr)
 

Static Public Member Functions

static SoundmakeSoundInstance (Audio::Mixer *mixer, QueenEngine *vm, uint8 compression)
 

Static Public Attributes

static const SongData _songDemo []
 
static const SongData _song []
 
static const TuneData _tuneDemo []
 
static const TuneData _tune []
 
static const char *const _sfxName []
 
static const int16 _jungleList []
 

Protected Attributes

Audio::Mixer_mixer
 
QueenEngine_vm
 
bool _sfxToggle
 
bool _speechToggle
 
bool _musicToggle
 
bool _speechSfxExists
 
int16 _lastOverride
 
int _musicVolume
 

Member Function Documentation

◆ makeSoundInstance()

static Sound* Queen::Sound::makeSoundInstance ( Audio::Mixer mixer,
QueenEngine vm,
uint8  compression 
)
static

Factory method for subclasses of class Sound.


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