aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-17 20:06:43 -0400
committerPaul Gilbert2016-09-17 20:06:43 -0400
commit1f541a700595e6ecc600ccf11005f7e62b47504b (patch)
tree4c6342b9b09f5eb49b88dd6d73ccabd495d4f28d /engines/xeen/worldofxeen
parente981f3bf2e66029a816f80a2f5600cdf2174412d (diff)
downloadscummvm-rg350-1f541a700595e6ecc600ccf11005f7e62b47504b.tar.gz
scummvm-rg350-1f541a700595e6ecc600ccf11005f7e62b47504b.tar.bz2
scummvm-rg350-1f541a700595e6ecc600ccf11005f7e62b47504b.zip
XEEN: Changing file opening specifying archive to use enum
Diffstat (limited to 'engines/xeen/worldofxeen')
-rw-r--r--engines/xeen/worldofxeen/darkside_cutscenes.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/xeen/worldofxeen/darkside_cutscenes.cpp b/engines/xeen/worldofxeen/darkside_cutscenes.cpp
index 71fbe8f328..d9c4fe90d9 100644
--- a/engines/xeen/worldofxeen/darkside_cutscenes.cpp
+++ b/engines/xeen/worldofxeen/darkside_cutscenes.cpp
@@ -32,8 +32,6 @@ bool DarkSideCutscenes::showDarkSideTitle() {
Screen &screen = *_vm->_screen;
Sound &sound = *_vm->_sound;
- // TODO: Starting method, and sound
- //sub_28F40
screen.loadPalette("dark.pal");
SpriteResource nwc[4] = {
SpriteResource("nwc1.int"), SpriteResource("nwc2.int"),
@@ -55,6 +53,11 @@ bool DarkSideCutscenes::showDarkSideTitle() {
screen.draw();
screen.fadeIn(4);
+ sound.setMusicVolume(0x5f);
+ sound.playFX(2);
+ events.wait(1000, true);
+ int64 v = 0;
+
// Initial loop for dragon roaring
int nwcIndex = 0, nwcFrame = 0;
for (int idx = 0; idx < 55 && !_vm->shouldQuit(); ++idx) {
@@ -114,12 +117,14 @@ bool DarkSideCutscenes::showDarkSideTitle() {
if (events.wait(2, true))
return false;
}
+ if (_vm->shouldQuit())
+ return false;
// Pause for a bit
if (events.wait(10, true))
return false;
- sound.songCommand(95);
+ sound.setMusicVolume(95);
screen.loadBackground("jvc.raw");
screen.fadeOut(8);