aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen/darkside_cutscenes.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-26 20:46:39 -0500
committerPaul Gilbert2018-02-26 20:46:39 -0500
commit29b8812af3cafd58c8e39d00427b4f30e7f2ebe1 (patch)
tree467eb3c29f391d78ae529399a42fc1cd8d9bb2a3 /engines/xeen/worldofxeen/darkside_cutscenes.cpp
parentdab044edb08d3a571c3b9786c54540d576af203e (diff)
downloadscummvm-rg350-29b8812af3cafd58c8e39d00427b4f30e7f2ebe1.tar.gz
scummvm-rg350-29b8812af3cafd58c8e39d00427b4f30e7f2ebe1.tar.bz2
scummvm-rg350-29b8812af3cafd58c8e39d00427b4f30e7f2ebe1.zip
XEEN: Don't show game intro if it's already been seen perviously
Diffstat (limited to 'engines/xeen/worldofxeen/darkside_cutscenes.cpp')
-rw-r--r--engines/xeen/worldofxeen/darkside_cutscenes.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/xeen/worldofxeen/darkside_cutscenes.cpp b/engines/xeen/worldofxeen/darkside_cutscenes.cpp
index 89ac9c6783..904e94e4b2 100644
--- a/engines/xeen/worldofxeen/darkside_cutscenes.cpp
+++ b/engines/xeen/worldofxeen/darkside_cutscenes.cpp
@@ -134,10 +134,18 @@ bool DarkSideCutscenes::showDarkSideTitle() {
screen.fadeIn();
WAIT(60);
+ screen.fadeOut(8);
return true;
}
bool DarkSideCutscenes::showDarkSideIntro() {
+ _vm->_files->_isDarkCc = true;
+ _vm->_files->setGameCc(1);
+
+ return showDarkSideIntro1();
+}
+
+bool DarkSideCutscenes::showDarkSideIntro1() {
EventsManager &events = *_vm->_events;
Screen &screen = *_vm->_screen;
Sound &sound = *_vm->_sound;
@@ -151,15 +159,13 @@ bool DarkSideCutscenes::showDarkSideIntro() {
160, 155, 150, 145, 140, 135, 130, 125, 120, 115, 110, 105, 98, 90, 82
};
- _vm->_files->_isDarkCc = true;
_subtitles.load("special.bin");
- screen.fadeOut(8);
screen.loadPalette("dark.pal");
screen.loadBackground("pyramid2.raw");
screen.loadPage(0);
screen.loadPage(1);
screen.loadBackground("pyramid3.raw");
- screen.saveBackground(1);
+ screen.saveBackground();
SpriteResource title("title.int");
SpriteResource pyraTop("pyratop.int");