aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/darkside
diff options
context:
space:
mode:
authorPaul Gilbert2014-12-26 13:10:30 +1100
committerPaul Gilbert2014-12-26 13:10:30 +1100
commit1249bc03fdbf6d1bc390f9aea45b482cbb258e33 (patch)
tree50818636b4b4f3722355afb997c1aab6262539a1 /engines/xeen/darkside
parent42afa00392372b68013a871e90857dc151ae7c2f (diff)
downloadscummvm-rg350-1249bc03fdbf6d1bc390f9aea45b482cbb258e33.tar.gz
scummvm-rg350-1249bc03fdbf6d1bc390f9aea45b482cbb258e33.tar.bz2
scummvm-rg350-1249bc03fdbf6d1bc390f9aea45b482cbb258e33.zip
XEEN: Implemented horizontal and vertical page merging
Diffstat (limited to 'engines/xeen/darkside')
-rw-r--r--engines/xeen/darkside/darkside_game.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/xeen/darkside/darkside_game.cpp b/engines/xeen/darkside/darkside_game.cpp
index bc0d156f7f..2e9186e42f 100644
--- a/engines/xeen/darkside/darkside_game.cpp
+++ b/engines/xeen/darkside/darkside_game.cpp
@@ -21,6 +21,8 @@
*/
#include "xeen/darkside/darkside_game.h"
+#include "xeen/resources.h"
+#include "xeen/screen.h"
namespace Xeen {
@@ -33,6 +35,23 @@ void DarkSideEngine::playGame() {
}
void DarkSideEngine::darkSideIntro() {
+ //sub_28F40
+ _screen->loadPalette("dark.pal");
+ File special("special.bin");
+ SpriteResource nwc[4] = {
+ SpriteResource("nwc1.int"), SpriteResource("nwc2.int"),
+ SpriteResource("nwc3.int"), SpriteResource("nwc4.int")
+ };
+ File voc[3] = {
+ File("dragon1.voc"), File("dragon2.voc"), File("dragon3.voc")
+ };
+
+ _screen->loadBackground("nwc1.raw");
+ _screen->loadPage(0);
+ _screen->loadBackground("nwc2.raw");
+ _screen->loadPage(1);
+
+ _screen->horizMerge(0);
}
} // End of namespace Xeen