diff options
author | Strangerke | 2015-04-08 22:55:33 +0200 |
---|---|---|
committer | Strangerke | 2015-04-08 22:55:33 +0200 |
commit | 49fd689c07be266cf0ad40d3510ac875ac81174c (patch) | |
tree | 34988c2597f461ccd058deb33de44b6f61cb3c17 /engines | |
parent | 3ef78ed7e1fccaf6f31f4e317196cace6af577a2 (diff) | |
download | scummvm-rg350-49fd689c07be266cf0ad40d3510ac875ac81174c.tar.gz scummvm-rg350-49fd689c07be266cf0ad40d3510ac875ac81174c.tar.bz2 scummvm-rg350-49fd689c07be266cf0ad40d3510ac875ac81174c.zip |
SHERLOCK: Implement showAlleyCutscene
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 0432dc2278..954ea12aec 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -310,8 +310,42 @@ bool ScalpelEngine::showCityCutscene() { } bool ScalpelEngine::showAlleyCutscene() { - // TODO - return true; + byte palette[PALETTE_SIZE]; + _sound->playMusic("prolog2.mus"); + + _titleOverride = "TITLE.LIB"; + _soundOverride = "TITLE.SND"; + + bool finished = _animation->playPrologue("27PRO1", 1, 3, true, 2); + if (finished) + _animation->playPrologue("27PRO2", 1, 0, false, 2); + + if (finished) { + ImageFile screamImages("SCREAM.LBV", false); + _screen->_backBuffer1.transBlitFrom(screamImages[0], Common::Point(0, 0)); + _screen->_backBuffer2.blitFrom(_screen->_backBuffer1); + finished = _events->delay(6000); + } + + if (finished) + _animation->playPrologue("27PRO3", 1, 0, true, 2); + + if(finished) { + _screen->getPalette(palette); + _screen->fadeToBlack(2); + } + + if(finished) { + ImageFile titleImages("title3.vgs", true); + // "Early the following morning on Baker Street..." + _screen->_backBuffer1.transBlitFrom(titleImages[0], Common::Point(35, 51), false, 0); + _screen->fadeIn(palette, 3); + finished = _events->delay(1000); + } + + _titleOverride = ""; + _soundOverride = ""; + return finished; } bool ScalpelEngine::showStreetCutscene() { |