aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen/clouds_cutscenes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/worldofxeen/clouds_cutscenes.cpp')
-rw-r--r--engines/xeen/worldofxeen/clouds_cutscenes.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/engines/xeen/worldofxeen/clouds_cutscenes.cpp b/engines/xeen/worldofxeen/clouds_cutscenes.cpp
index 0e8149e37e..2ae921cf19 100644
--- a/engines/xeen/worldofxeen/clouds_cutscenes.cpp
+++ b/engines/xeen/worldofxeen/clouds_cutscenes.cpp
@@ -21,7 +21,6 @@
*/
#include "xeen/worldofxeen/clouds_cutscenes.h"
-#include "xeen/worldofxeen/worldofxeen_resources.h"
#include "xeen/sound.h"
namespace Xeen {
@@ -40,8 +39,10 @@ bool CloudsCutscenes::showCloudsIntro() {
Screen &screen = *g_vm->_screen;
Sound &sound = *g_vm->_sound;
- bool darkCc = files._isDarkCc;
+ bool darkCc = files._ccNum;
files.setGameCc(0);
+ sound._musicSide = 0;
+ _subtitles.reset();
bool seenIntro = showCloudsTitle() && showCloudsIntroInner();
@@ -278,7 +279,7 @@ bool CloudsCutscenes::showCloudsIntroInner() {
sound.playVoice(_INTRO_VOCS[lineCtr]);
}
- for (int frameCtr = 0, lookup = 0; sound.isSoundPlaying() ||
+ for (int frameCtr = 0, lookup = 0; sound.isSoundPlaying() ||
(_subtitles.active() && (lineCtr == 0 || lineCtr == 4 || lineCtr == 10 || lineCtr == 13)); ) {
groupo.draw(0, 0);
groupo.draw(0, 1, Common::Point(160, 0));
@@ -332,7 +333,7 @@ bool CloudsCutscenes::showCloudsIntroInner() {
windows[0].writeString(Res.CLOUDS_INTRO1);
ctr5 = (ctr5 + 1) % 19;
-
+
WAIT(1);
continue;
}
@@ -379,8 +380,9 @@ void CloudsCutscenes::showCloudsEnding(uint finalScore) {
FileManager &files = *g_vm->_files;
Sound &sound = *g_vm->_sound;
- bool darkCc = files._isDarkCc;
+ bool darkCc = files._ccNum;
files.setGameCc(0);
+ _subtitles.reset();
_mirror.load("mirror.end");
_mirrBack.load("mirrback.end");
@@ -406,7 +408,7 @@ bool CloudsCutscenes::showCloudsEnding1() {
Screen &screen = *_vm->_screen;
Sound &sound = *_vm->_sound;
- files._isDarkCc = false;
+ files._ccNum = false;
files.setGameCc(0);
// Show the castle with swirling clouds and lightning
@@ -985,7 +987,7 @@ bool CloudsCutscenes::showCloudsEnding5() {
king.draw(0, 1, Common::Point(160, 0));
screen.fadeIn();
_subtitles.setLine(13);
-
+
sound.playVoice("king4.voc");
do {
king.draw(0, 0, Common::Point(0, 0));