MOHAWK: Split channelwood opcodes into their own class
svn-id: r54691
This commit is contained in:
parent
94801fcea3
commit
261cf23901
6 changed files with 640 additions and 368 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "mohawk/video.h"
|
||||
|
||||
// The stacks
|
||||
#include "mohawk/myst_stacks/channelwood.h"
|
||||
#include "mohawk/myst_stacks/credits.h"
|
||||
#include "mohawk/myst_stacks/myst.h"
|
||||
#include "mohawk/myst_stacks/selenitic.h"
|
||||
|
@ -377,6 +378,9 @@ void MohawkEngine_Myst::changeToStack(uint16 stack) {
|
|||
_prevStack = _scriptParser;
|
||||
|
||||
switch (_curStack) {
|
||||
case kChannelwoodStack:
|
||||
_scriptParser = new MystScriptParser_Channelwood(this);
|
||||
break;
|
||||
case kCreditsStack:
|
||||
_scriptParser = new MystScriptParser_Credits(this);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue