diff options
author | Paul Gilbert | 2016-09-15 21:25:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-15 21:25:06 -0400 |
commit | c72d421659892a5e29390120466e09c9b9f53c9c (patch) | |
tree | 2438408af06e2bed9d495cab98e7de87df1ea278 /engines/xeen/worldofxeen | |
parent | b87318805f346f966b6ad0c39def13091cdeddd4 (diff) | |
download | scummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.tar.gz scummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.tar.bz2 scummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.zip |
XEEN: Fix setting up music, musPlayInstrument command
Diffstat (limited to 'engines/xeen/worldofxeen')
-rw-r--r-- | engines/xeen/worldofxeen/darkside_cutscenes.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/engines/xeen/worldofxeen/darkside_cutscenes.cpp b/engines/xeen/worldofxeen/darkside_cutscenes.cpp index 514bcac901..6dd4bd20f6 100644 --- a/engines/xeen/worldofxeen/darkside_cutscenes.cpp +++ b/engines/xeen/worldofxeen/darkside_cutscenes.cpp @@ -55,6 +55,19 @@ bool DarkSideCutscenes::showDarkSideTitle() { screen.draw(); screen.fadeIn(4); + // **DEBUG**: Testing music + File f("bigtheme.m", *_vm->_files->_sideArchives[1]); + byte *data = new byte[f.size()]; + f.read(data, f.size()); + f.close(); + + sound.playSong(data); + + events.updateGameCounter(); + events.wait(1000, true); + + delete[] data; + /* // Initial loop for dragon roaring int nwcIndex = 0, nwcFrame = 0; for (int idx = 0; idx < 55 && !_vm->shouldQuit(); ++idx) { @@ -128,9 +141,10 @@ bool DarkSideCutscenes::showDarkSideTitle() { screen.fadeOut(8); screen.draw(); screen.fadeIn(4); - + events.updateGameCounter(); events.wait(60, true); + */ return true; } |