diff options
| author | Martin Kiewitz | 2015-06-01 00:12:00 +0200 | 
|---|---|---|
| committer | Martin Kiewitz | 2015-06-01 00:12:00 +0200 | 
| commit | 171117677de3663f636cafb8acf0397a879d4ccc (patch) | |
| tree | a0988d2cb5724fc11af51c2e886f2634071ed0e9 | |
| parent | 79bf0a05eeba502943a178fc7098a1876ad9244c (diff) | |
| download | scummvm-rg350-171117677de3663f636cafb8acf0397a879d4ccc.tar.gz scummvm-rg350-171117677de3663f636cafb8acf0397a879d4ccc.tar.bz2 scummvm-rg350-171117677de3663f636cafb8acf0397a879d4ccc.zip | |
SHERLOCK: implement 2 palette faes for the intro
| -rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 43b69068ab..113c4ee8d8 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -440,8 +440,13 @@ void ScalpelEngine::showOpening() {  }  bool ScalpelEngine::showCityCutscene() { +	byte greyPalette[PALETTE_SIZE];  	byte palette[PALETTE_SIZE]; +	// Demo fades from black into grey and then fades from grey into the scene +	Common::fill(&greyPalette[0], &greyPalette[PALETTE_SIZE], 142); +	_screen->fadeIn((const byte *)greyPalette, 3); +  	_music->playMusic("prolog1.mus");  	_animation->_gfxLibraryFilename = "title.lib";  	_animation->_soundLibraryFilename = "title.snd"; @@ -569,7 +574,10 @@ bool ScalpelEngine::scrollCredits() {  	// Load the images for displaying credit text  	Common::SeekableReadStream *stream = _res->load("credits.vgs", "title.lib");  	ImageFile creditsImages(*stream); -	_screen->setPalette(creditsImages._palette); + +	// Demo fades slowly from the scene into credits palette +	_screen->fadeIn(creditsImages._palette, 3); +  	delete stream;  	// Save a copy of the screen background for use in drawing each credit frame | 
