aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-01 17:56:36 +0000
committerMatthew Hoops2010-12-01 17:56:36 +0000
commit77782f4eb3655d9d7b73c6158b96e369d617163b (patch)
tree530918f93594062b7cb4a7f6b7d5f2d73d33ec48 /engines/mohawk/myst.cpp
parent81209867a2eaa0cf9fa4cf0120c9cb6ef353e2fe (diff)
downloadscummvm-rg350-77782f4eb3655d9d7b73c6158b96e369d617163b.tar.gz
scummvm-rg350-77782f4eb3655d9d7b73c6158b96e369d617163b.tar.bz2
scummvm-rg350-77782f4eb3655d9d7b73c6158b96e369d617163b.zip
MOHAWK: Split intro and demo opcodes into their own classes
svn-id: r54706
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index eb3c20e478..d81c5923cc 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -41,7 +41,9 @@
// The stacks
#include "mohawk/myst_stacks/channelwood.h"
#include "mohawk/myst_stacks/credits.h"
+#include "mohawk/myst_stacks/demo.h"
#include "mohawk/myst_stacks/dni.h"
+#include "mohawk/myst_stacks/intro.h"
#include "mohawk/myst_stacks/mechanical.h"
#include "mohawk/myst_stacks/myst.h"
#include "mohawk/myst_stacks/selenitic.h"
@@ -387,9 +389,15 @@ void MohawkEngine_Myst::changeToStack(uint16 stack) {
case kCreditsStack:
_scriptParser = new MystScriptParser_Credits(this);
break;
+ case kDemoStack:
+ _scriptParser = new MystScriptParser_Demo(this);
+ break;
case kDniStack:
_scriptParser = new MystScriptParser_Dni(this);
break;
+ case kIntroStack:
+ _scriptParser = new MystScriptParser_Intro(this);
+ break;
case kMechanicalStack:
_scriptParser = new MystScriptParser_Mechanical(this);
break;