diff options
Diffstat (limited to 'engines/kyra/sound_adlib.h')
-rw-r--r-- | engines/kyra/sound_adlib.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/engines/kyra/sound_adlib.h b/engines/kyra/sound_adlib.h index c09fec997e..923a4cb75f 100644 --- a/engines/kyra/sound_adlib.h +++ b/engines/kyra/sound_adlib.h @@ -62,22 +62,23 @@ public: SoundAdLibPC(KyraEngine_v1 *vm, Audio::Mixer *mixer); ~SoundAdLibPC(); - kType getMusicType() const { return kAdLib; } + virtual kType getMusicType() const { return kAdLib; } - bool init(); - void process(); + virtual bool init(); + virtual void process(); - void loadSoundFile(uint file); - void loadSoundFile(Common::String file); - void loadSoundFile(const uint8 *soundData, int dataSize) {} + virtual void updateVolumeSettings(); - void playTrack(uint8 track); - void haltTrack(); - bool isPlaying() const; + virtual void loadSoundFile(uint file); + virtual void loadSoundFile(Common::String file); - void playSoundEffect(uint8 track); + virtual void playTrack(uint8 track); + virtual void haltTrack(); + virtual bool isPlaying() const; - void beginFadeOut(); + virtual void playSoundEffect(uint8 track); + + virtual void beginFadeOut(); private: void internalLoadFile(Common::String file); @@ -92,9 +93,6 @@ private: Common::String _soundFileLoaded; - uint8 _sfxPriority; - uint8 _sfxFourthByteOfSong; - int _numSoundTriggers; const int *_soundTriggers; |