diff options
author | Johannes Schickel | 2011-10-29 00:37:08 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-10-29 01:00:18 +0200 |
commit | 5be3ac9fcc7e057e74bb8eff9c0d234f887a0a50 (patch) | |
tree | 558721501f5f007782fb1cf2ba7d9e1b6bc82be3 /engines/kyra/sound.cpp | |
parent | d0bc84d5b7fd9fea384ee25f22720b68ee78a83b (diff) | |
download | scummvm-rg350-5be3ac9fcc7e057e74bb8eff9c0d234f887a0a50.tar.gz scummvm-rg350-5be3ac9fcc7e057e74bb8eff9c0d234f887a0a50.tar.bz2 scummvm-rg350-5be3ac9fcc7e057e74bb8eff9c0d234f887a0a50.zip |
KYRA: Move non-empty virtual methods of Sound from sound.h to sound.cpp.
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r-- | engines/kyra/sound.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp index 0e83c1cb1f..77fd8e2346 100644 --- a/engines/kyra/sound.cpp +++ b/engines/kyra/sound.cpp @@ -43,6 +43,22 @@ Sound::Sound(KyraEngine_v1 *vm, Audio::Mixer *mixer) Sound::~Sound() { } +Sound::kType Sound::getSfxType() const { + return getMusicType(); +} + +void Sound::setSoundList(const AudioDataStruct *list) { + _soundDataList = list; +} + +bool Sound::hasSoundFile(uint file) const { + return (fileListEntry(file) != 0); +} + +bool Sound::isPlaying() const { + return false; +} + bool Sound::voiceFileIsPresent(const char *file) { for (int i = 0; _supportedCodecs[i].fileext; ++i) { Common::String f = file; |