aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/sound.cpp15
-rw-r--r--engines/hdb/sound.h5
2 files changed, 19 insertions, 1 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp
index d7967e2fb9..bd310094ed 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -61,6 +61,16 @@ bool Sound::startMusic(SoundType song) {
return true;
}
+bool Sound::fadeInMusic(SoundType song, int ramp) {
+ warning("STUB: Fade In Music");
+ return true;
+}
+
+void Sound::fadeOutMusic(int ramp) {
+ warning("STUB: Fade Out Music");
+ return;
+}
+
bool Sound::songPlaying(SoundType song) {
warning("STUB: Check if Song is playing");
return true;
@@ -75,6 +85,11 @@ void Sound::stopMusic() {
debug(9, "STUB: Stop Music");
}
+int Sound::registerSound(const char *name) {
+ debug(9, "STUB: Register Sound");
+ return 0;
+}
+
bool Sound::freeSound(int index) {
debug(9, "STUB: Free Sound");
return true;
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h
index 895f6d9506..3cbb5fb17c 100644
--- a/engines/hdb/sound.h
+++ b/engines/hdb/sound.h
@@ -1417,9 +1417,12 @@ public:
bool playSoundEx(int index, int channel, bool loop);
bool playVoice(int index, int actor);
bool startMusic(SoundType song);
+ bool fadeInMusic(SoundType song, int ramp);
+ void fadeOutMusic(int ramp);
+ void stopMusic();
bool songPlaying(SoundType song);
bool stopChannel(int channel);
- void stopMusic();
+ int registerSound(const char *name);
bool freeSound(int index);
SoundType whatSongIsPlaying();