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

Public Member Functions

 AmigaSound (Audio::Mixer *mixer, QueenEngine *vm)
 
void playSfx (uint16 sfx) override
 
void playSong (int16 song) override
 
void stopSfx () override
 
void stopSong () override
 
bool isSfxActive () const override
 
void updateMusic () override
 
- Public Member Functions inherited from Queen::Sound
 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)
 

Protected Member Functions

void playSound (const char *base)
 
Audio::AudioStream * loadModule (const char *base, int song)
 
void playModule (const char *base, int song)
 
void playPattern (const char *base, int pattern)
 
bool playSpecialSfx (int16 sfx)
 

Protected Attributes

int16 _fanfareRestore
 
int _fanfareCount
 
int _fluteCount
 
Audio::SoundHandle _modHandle
 
Audio::SoundHandle _patHandle
 
Audio::SoundHandle _sfxHandle
 
- 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 Sound * makeSoundInstance (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 []
 

Member Function Documentation

◆ playSfx()

void Queen::AmigaSound::playSfx ( uint16  sfx)
overridevirtual

Reimplemented from Queen::Sound.

◆ playSong()

void Queen::AmigaSound::playSong ( int16  song)
overridevirtual

Reimplemented from Queen::Sound.

◆ stopSfx()

void Queen::AmigaSound::stopSfx ( )
overridevirtual

Reimplemented from Queen::Sound.

◆ stopSong()

void Queen::AmigaSound::stopSong ( )
overridevirtual

Reimplemented from Queen::Sound.

◆ isSfxActive()

bool Queen::AmigaSound::isSfxActive ( ) const
inlineoverridevirtual

Reimplemented from Queen::Sound.

◆ updateMusic()

void Queen::AmigaSound::updateMusic ( )
overridevirtual

Reimplemented from Queen::Sound.


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