aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-09-16 22:09:08 +0200
committerTorbjörn Andersson2015-09-16 22:09:08 +0200
commitd227e40e53f5458d2055fcb855557c448d405f6b (patch)
tree77c5164284d973a94905f1e12e88f7f1e729bd20 /engines/sherlock/scalpel
parent1fdeb98e70d606c9e6c8a012d26062c1cd859524 (diff)
downloadscummvm-rg350-d227e40e53f5458d2055fcb855557c448d405f6b.tar.gz
scummvm-rg350-d227e40e53f5458d2055fcb855557c448d405f6b.tar.bz2
scummvm-rg350-d227e40e53f5458d2055fcb855557c448d405f6b.zip
SHERLOCK: Play rain sound during 3DO Scalpel intro
This is based on guesswork, particularly with regards to the volume. It sounds pretty close to a YouTube video I saw of the original game, and at least it's not unpleasantly loud.
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index 086d6070c4..17e60f5365 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -690,15 +690,16 @@ bool ScalpelEngine::showCityCutscene3DO() {
screen.clear();
bool finished = _events->delay(2500, true);
- // rain.aiff seems to be playing in an endless loop until
- // sherlock logo fades away TODO
-
if (finished) {
finished = _events->delay(2500, true);
// Play intro music
_music->loadSong("prolog");
+ // Loop rain.aiff until the Sherlock logo fades away.
+ // TODO: The volume is just a guess.
+ _sound->playAiff("prologue/sounds/rain.aiff", 15, true);
+
// Fade screen to grey
screen._backBuffer1.fill(0xCE59); // RGB565: 25, 50, 25 (grey)
screen.fadeIntoScreen3DO(2);
@@ -763,6 +764,8 @@ bool ScalpelEngine::showCityCutscene3DO() {
if (finished)
finished = _music->waitUntilMSec(33600, 0, 0, 2000);
+ _sound->stopAiff();
+
if (finished) {
// Fade to black
screen._backBuffer1.clear();