aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bbvs')
-rw-r--r--engines/bbvs/minigames/bbant.cpp21
-rw-r--r--engines/bbvs/minigames/bbant.h4
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);
};