aboutsummaryrefslogtreecommitdiff
path: root/sky/cd_intro.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-05-29 22:26:45 +0000
committerRobert Göffringmann2003-05-29 22:26:45 +0000
commit54b8fd8ce1488c82a8e123586dfce9000e3ba6c7 (patch)
tree7071ec6f11a1b5e35e353148a797f45704dd71ab /sky/cd_intro.cpp
parentf0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a (diff)
downloadscummvm-rg350-54b8fd8ce1488c82a8e123586dfce9000e3ba6c7.tar.gz
scummvm-rg350-54b8fd8ce1488c82a8e123586dfce9000e3ba6c7.tar.bz2
scummvm-rg350-54b8fd8ce1488c82a8e123586dfce9000e3ba6c7.zip
Some sky CD versions have an image replaced. This includes the original sky01.gif into ScummVM. Disabled by default, though.
svn-id: r8117
Diffstat (limited to 'sky/cd_intro.cpp')
-rw-r--r--sky/cd_intro.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/sky/cd_intro.cpp b/sky/cd_intro.cpp
index 34d7a892ee..d5abd7a891 100644
--- a/sky/cd_intro.cpp
+++ b/sky/cd_intro.cpp
@@ -199,6 +199,8 @@
#define WAIT_SEQUENCE while (_skyScreen->sequenceRunning()) { delay(50); CHECK_ESC }
#define WAIT_RELATIVE(x) ( delay(20 * (x)) )
+#define NORMAL_CD_INTRO
+
void SkyState::doCDIntro() {
uint32 loadedVocSize, bgVocSize;
@@ -595,15 +597,24 @@ void SkyState::doCDIntro() {
WAIT_VOICE; //54
START_VOICE; //55
+#ifdef NORMAL_CD_INTRO
_skyDisk->prefetchFile(cd_55_pal);
_skyDisk->prefetchFile(cd_55_log);
+#endif
LOAD_NEW_VOICE(cdv_56);
WAIT_VOICE; //55
START_VOICE; //56
_skyScreen->fnFadeDown(0);
- _skyScreen->showScreen(cd_55_log);
+#ifdef NORMAL_CD_INTRO
+ _skyScreen->showScreen(cd_55_log); // foster screen
_skyScreen->paletteFadeUp(cd_55_pal);
+#else
+ memset(_skyScreen->giveCurrent(), 0, 320*200);
+ _system->copy_rect(_skyScreen->giveCurrent(), 320, 0, 0, 320, 200);
+ _system->copy_rect(fosterImg, 297, 11, 28, 297, 143);
+ _skyScreen->paletteFadeUp(fosterPal);
+#endif
LOAD_NEW_VOICE(cdv_57);
WAIT_VOICE; //56