ScummVM API documentation
Queen::PCSound Class Referenceabstract
Inheritance diagram for Queen::PCSound:
Queen::Sound

Public Member Functions

 PCSound (Audio::Mixer *mixer, QueenEngine *vm)
 
void playSfx (uint16 sfx) override
 
void playSpeech (const char *base) override
 
void playSong (int16 songNum) override
 
void stopSfx () override
 
void stopSong () override
 
void stopSpeech () override
 
bool isSpeechActive () const override
 
bool isSfxActive () const override
 
void setVolume (int vol) override
 
- Public Member Functions inherited from Queen::Sound
 Sound (Audio::Mixer *mixer, QueenEngine *vm)
 
virtual void updateMusic ()
 
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)
 

Protected Member Functions

void playSound (const char *base, bool isSpeech)
 
virtual void playSoundData (Common::File *f, uint32 size, Audio::SoundHandle *soundHandle)=0
 

Protected Attributes

Audio::SoundHandle _sfxHandle
 
Audio::SoundHandle _speechHandle
 
MidiMusic_music
 
- Protected Attributes inherited from Queen::Sound
Audio::Mixer_mixer
 
QueenEngine_vm
 
bool _sfxToggle
 
bool _speechToggle
 
bool _musicToggle
 
bool _speechSfxExists
 
int16 _lastOverride
 
int _musicVolume
 

Additional Inherited Members

- Static Public Member Functions inherited from Queen::Sound
static SoundmakeSoundInstance (Audio::Mixer *mixer, QueenEngine *vm, uint8 compression)
 
- Static Public Attributes inherited from Queen::Sound
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 []
 

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