diff options
author | johndoe123 | 2014-01-25 22:55:12 +0100 |
---|---|---|
committer | johndoe123 | 2014-01-29 13:27:48 +0100 |
commit | 11a58071101d84bc02ac5e9a4e3dee209d0d5df9 (patch) | |
tree | 7252f574feba1e0e6c215d5b12b820f7f33ba0c3 /engines/bbvs/minigames | |
parent | 5f4fc9a1dd5668ab9fa9706a8e86b2ec3ac808d1 (diff) | |
download | scummvm-rg350-11a58071101d84bc02ac5e9a4e3dee209d0d5df9.tar.gz scummvm-rg350-11a58071101d84bc02ac5e9a4e3dee209d0d5df9.tar.bz2 scummvm-rg350-11a58071101d84bc02ac5e9a4e3dee209d0d5df9.zip |
BBVS: Remove obsolete code in BbAnt minigame
Diffstat (limited to 'engines/bbvs/minigames')
-rw-r--r-- | engines/bbvs/minigames/bbant.cpp | 21 | ||||
-rw-r--r-- | engines/bbvs/minigames/bbant.h | 4 |
2 files changed, 0 insertions, 25 deletions
diff --git a/engines/bbvs/minigames/bbant.cpp b/engines/bbvs/minigames/bbant.cpp index 24dbd45b81..131355622b 100644 --- a/engines/bbvs/minigames/bbant.cpp +++ b/engines/bbvs/minigames/bbant.cpp @@ -1316,25 +1316,4 @@ void MinigameBbAnt::loadSounds() { } } -void MinigameBbAnt::playSound(uint index, bool loop) { - if (index > 0) - _vm->_sound->playSound(index - 1, loop); -} - -void MinigameBbAnt::stopSound(uint index) { - if (index > 0) - _vm->_sound->stopSound(index - 1); -} - -bool MinigameBbAnt::isSoundPlaying(uint index) { - return index > 0 && _vm->_sound->isSoundPlaying(index - 1); -} - -bool MinigameBbAnt::isAnySoundPlaying(const uint *indices, uint count) { - for (uint i = 0; i < count; ++i) - if (isSoundPlaying(indices[i])) - return true; - return false; -} - } // End of namespace Bbvs diff --git a/engines/bbvs/minigames/bbant.h b/engines/bbvs/minigames/bbant.h index b9919ee14b..cdf358f94d 100644 --- a/engines/bbvs/minigames/bbant.h +++ b/engines/bbvs/minigames/bbant.h @@ -165,10 +165,6 @@ public: void scale2x(int x, int y); void loadSounds(); - void playSound(uint index, bool loop = false); - void stopSound(uint index); - bool isSoundPlaying(uint index); - bool isAnySoundPlaying(const uint *indices, uint count); }; |