diff options
author | Johannes Schickel | 2013-01-09 07:38:27 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-09 07:53:41 +0100 |
commit | 4d3ecbfcd2aabf0885df978e6e44ef8b8256c657 (patch) | |
tree | 9476a65a07a62a3c1751c1d9521d9f0e827a74ee | |
parent | 178365f5e934ef7b5866a0cae244c5a4f0ab0344 (diff) | |
download | scummvm-rg350-4d3ecbfcd2aabf0885df978e6e44ef8b8256c657.tar.gz scummvm-rg350-4d3ecbfcd2aabf0885df978e6e44ef8b8256c657.tar.bz2 scummvm-rg350-4d3ecbfcd2aabf0885df978e6e44ef8b8256c657.zip |
KYRA: Use override in subclasses of Sound, which override voicePlay.
-rw-r--r-- | engines/kyra/sound_intern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/sound_intern.h b/engines/kyra/sound_intern.h index 4bf43d73d8..007ca3d3f5 100644 --- a/engines/kyra/sound_intern.h +++ b/engines/kyra/sound_intern.h @@ -183,7 +183,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) { return -1; } + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) override { return -1; } virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); virtual void updateVolumeSettings(); @@ -219,7 +219,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume = 255, uint8 priority = 255, bool isSfx = true); + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume = 255, uint8 priority = 255, bool isSfx = true) override; virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); virtual void updateVolumeSettings(); @@ -334,7 +334,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) { return -1; } + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) override { return -1; } virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); protected: |