Skip to content

Commit

Permalink
SHERLOCK: 3DO: add 3DO EA Splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kiewitz committed Jun 8, 2015
1 parent 4ed4dfa commit 7d00e33
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
25 changes: 22 additions & 3 deletions engines/sherlock/scalpel/scalpel.cpp
Expand Up @@ -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())
Expand Down Expand Up @@ -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";

Expand Down
2 changes: 2 additions & 0 deletions engines/sherlock/scalpel/scalpel.h
Expand Up @@ -35,6 +35,8 @@ class ScalpelEngine : public SherlockEngine {
Darts *_darts;
int _mapResult;

bool show3DOSplash();

/**
* Show the starting city cutscene which shows the game title
*/
Expand Down

0 comments on commit 7d00e33

Please sign in to comment.