From d227e40e53f5458d2055fcb855557c448d405f6b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 16 Sep 2015 22:09:08 +0200 Subject: 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. --- engines/sherlock/scalpel/scalpel.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/sherlock/scalpel') 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(); -- cgit v1.2.3