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 playSpeech (const char *base)
 
virtual void stopSpeech ()
 
virtual bool isSpeechActive () const
 
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::AudioStreamloadModule (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 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: