diff options
author | Joost Peters | 2003-03-08 12:46:51 +0000 |
---|---|---|
committer | Joost Peters | 2003-03-08 12:46:51 +0000 |
commit | 488ff8846ecd8de766f95e8036136f2cbb51b26d (patch) | |
tree | 9f26cf87f27ae0982c12a17f90de76952c9d3b4f /sky/intro.cpp | |
parent | 361e312a6c8f0520b20ae8089f444373bee49890 (diff) | |
download | scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.tar.gz scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.tar.bz2 scummvm-rg350-488ff8846ecd8de766f95e8036136f2cbb51b26d.zip |
Added voice support, and more (cd_)intro stuff + added myself to the README :)
svn-id: r6768
Diffstat (limited to 'sky/intro.cpp')
-rw-r--r-- | sky/intro.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp index 04761bf45b..6d4bd115d3 100644 --- a/sky/intro.cpp +++ b/sky/intro.cpp @@ -232,6 +232,49 @@ void SkyState::initVirgin() { free(_tempPal); } +void SkyState::intro(void) { + + _workScreen = (uint8 *)loadFile(60112, NULL); //while virgin screen is up, load rev screen + _tempPal = (uint8 *)loadFile(60113, NULL); + + //loadSectionMusic(0); + + delay(3000); //keep virgin screen up for 3 seconds + + //if (!_isCDVersion) + // fn_start_music(); + + delay(3000); //and another 3 seconds. + fn_fade_down(0); //remove virgin screen + showScreen(); + paletteFadeUp(_tempPal); + free (_tempPal); + free (_workScreen); + + //while rev is up, load gibbons screen + _workScreen = (uint8 *)loadFile(60114, NULL); + _tempPal = (uint8 *)loadFile(60115, NULL); + + intro_text_space = (uint8 *)malloc(10000); + intro_text_save = (uint8 *)malloc(10000); + + //get_text(77); + + delay(8000); // keep revolution up for 8 seconds + + fn_fade_down(0); + showScreen(); + paletteFadeUp(_tempPal); + + free (_tempPal); + free (_workScreen); + + if (_isCDVersion) + doCDIntro(); + + +} + void SkyState::showScreen(void) { _system->copy_rect(_workScreen, 320, 0, 0, 320, 200); |