diff options
author | Martin Kiewitz | 2015-06-08 21:41:29 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-08 21:41:29 +0200 |
commit | 7d00e33c092fd3c4f6a5c8eb8e78a4e6419cb60e (patch) | |
tree | 40c617a6d0e528eccef6c17a745f827749bda659 | |
parent | 4ed4dfadcaeef4db12be8fc0c3f70d7362a438bf (diff) | |
download | scummvm-rg350-7d00e33c092fd3c4f6a5c8eb8e78a4e6419cb60e.tar.gz scummvm-rg350-7d00e33c092fd3c4f6a5c8eb8e78a4e6419cb60e.tar.bz2 scummvm-rg350-7d00e33c092fd3c4f6a5c8eb8e78a4e6419cb60e.zip |
SHERLOCK: 3DO: add 3DO EA Splash screen
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 25 | ||||
-rw-r--r-- | engines/sherlock/scalpel/scalpel.h | 2 |
2 files changed, 24 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 024ad51ebf..dab291990f 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -240,9 +240,7 @@ void ScalpelEngine::showOpening() { return; if (getPlatform() == Common::kPlatform3DO) { - // 3DO intro - Scalpel3DOMoviePlay("EAlogo.stream", Common::Point(20, 0)); - _screen->clear(); + show3DOSplash(); if (!showCityCutscene3DO()) return; if (!showAlleyCutscene3DO()) @@ -528,6 +526,27 @@ bool ScalpelEngine::showOfficeCutscene() { } // 3DO variant +bool ScalpelEngine::show3DOSplash() { + // 3DO EA Splash screen + ImageFile3DO titleImage_3DOSplash("3DOSplash.cel"); + + _screen->transBlitFromUnscaled3DO(titleImage_3DOSplash[0]._frame, Common::Point(0, -20)); + bool finished = _events->delay(3000, true); + + if (finished) { + _screen->clear(); + finished = _events->delay(500, true); + } + + if (finished) { + // EA logo movie + Scalpel3DOMoviePlay("EAlogo.stream", Common::Point(20, 0)); + _screen->clear(); + } + + return finished; +} + bool ScalpelEngine::showCityCutscene3DO() { _animation->_soundLibraryFilename = "TITLE.SND"; diff --git a/engines/sherlock/scalpel/scalpel.h b/engines/sherlock/scalpel/scalpel.h index e84f3aa95c..8a10094a52 100644 --- a/engines/sherlock/scalpel/scalpel.h +++ b/engines/sherlock/scalpel/scalpel.h @@ -35,6 +35,8 @@ private: Darts *_darts; int _mapResult; + bool show3DOSplash(); + /** * Show the starting city cutscene which shows the game title */ |