aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_scripts_myst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst_scripts_myst.cpp')
-rw-r--r--engines/mohawk/myst_scripts_myst.cpp86
1 files changed, 43 insertions, 43 deletions
diff --git a/engines/mohawk/myst_scripts_myst.cpp b/engines/mohawk/myst_scripts_myst.cpp
index f63aa839d4..92054e540e 100644
--- a/engines/mohawk/myst_scripts_myst.cpp
+++ b/engines/mohawk/myst_scripts_myst.cpp
@@ -58,53 +58,53 @@ void MystScriptParser_Myst::setupOpcodes() {
static const MystOpcode myst_opcodes[] = {
// "Standard" Opcodes
- OPCODE(0, o_0_toggleVar),
- OPCODE(1, o_1_setVar),
- OPCODE(2, o_2_changeCardSwitch),
- OPCODE(3, o_3_takePage),
- OPCODE(4, o_4_redrawCard),
+ OPCODE(0, o_toggleVar),
+ OPCODE(1, o_setVar),
+ OPCODE(2, o_changeCardSwitch),
+ OPCODE(3, o_takePage),
+ OPCODE(4, o_redrawCard),
// TODO: Opcode 5 Not Present
- OPCODE(6, o_6_goToDest),
- OPCODE(7, o_6_goToDest),
- OPCODE(8, o_6_goToDest),
- OPCODE(9, o_9_triggerMovie),
- OPCODE(10, o_10_toggleVarNoRedraw),
+ OPCODE(6, o_goToDest),
+ OPCODE(7, o_goToDest),
+ OPCODE(8, o_goToDest),
+ OPCODE(9, o_triggerMovie),
+ OPCODE(10, o_toggleVarNoRedraw),
// TODO: Opcode 10 to 11 Not Present
- OPCODE(12, o_2_changeCardSwitch),
- OPCODE(13, o_2_changeCardSwitch),
- OPCODE(14, o_14_drawAreaState),
- OPCODE(15, o_15_redrawAreaForVar),
- OPCODE(16, o_16_changeCardDirectional),
- OPCODE(17, o_17_changeCardPush),
- OPCODE(18, o_18_changeCardPop),
- OPCODE(19, o_19_enableAreas),
- OPCODE(20, o_20_disableAreas),
- OPCODE(21, o_21_directionalUpdate),
- OPCODE(22, o_6_goToDest),
- OPCODE(23, o_23_toggleAreasActivation),
- OPCODE(24, o_24_playSound),
+ OPCODE(12, o_changeCardSwitch),
+ OPCODE(13, o_changeCardSwitch),
+ OPCODE(14, o_drawAreaState),
+ OPCODE(15, o_redrawAreaForVar),
+ OPCODE(16, o_changeCardDirectional),
+ OPCODE(17, o_changeCardPush),
+ OPCODE(18, o_changeCardPop),
+ OPCODE(19, o_enableAreas),
+ OPCODE(20, o_disableAreas),
+ OPCODE(21, o_directionalUpdate),
+ OPCODE(22, o_goToDest),
+ OPCODE(23, o_toggleAreasActivation),
+ OPCODE(24, o_playSound),
// TODO: Opcode 25 Not Present
- OPCODE(26, o_26_stopSoundBackground),
- OPCODE(27, o_27_playSoundBlocking),
- OPCODE(28, o_28_restoreDefaultRect),
- OPCODE(29, o_29_33_blitRect),
- OPCODE(30, o_30_changeSound),
- OPCODE(31, o_31_soundPlaySwitch),
- OPCODE(32, o_32_soundResumeBackground),
- OPCODE(33, o_29_33_blitRect),
- OPCODE(34, o_34_changeCard),
- OPCODE(35, o_35_drawImageChangeCard),
- OPCODE(36, o_36_changeMainCursor),
- OPCODE(37, o_37_hideCursor),
- OPCODE(38, o_38_showCursor),
- OPCODE(39, o_39_delay),
- OPCODE(40, o_40_changeStack),
- OPCODE(41, o_41_changeCardPlaySoundDirectional),
- OPCODE(42, o_42_directionalUpdatePlaySound),
- OPCODE(43, o_43_saveMainCursor),
- OPCODE(44, o_44_restoreMainCursor),
+ OPCODE(26, o_stopSoundBackground),
+ OPCODE(27, o_playSoundBlocking),
+ OPCODE(28, o_restoreDefaultRect),
+ OPCODE(29, o_blitRect),
+ OPCODE(30, o_changeSound),
+ OPCODE(31, o_soundPlaySwitch),
+ OPCODE(32, o_soundResumeBackground),
+ OPCODE(33, o_blitRect),
+ OPCODE(34, o_changeCard),
+ OPCODE(35, o_drawImageChangeCard),
+ OPCODE(36, o_changeMainCursor),
+ OPCODE(37, o_hideCursor),
+ OPCODE(38, o_showCursor),
+ OPCODE(39, o_delay),
+ OPCODE(40, o_changeStack),
+ OPCODE(41, o_changeCardPlaySoundDirectional),
+ OPCODE(42, o_directionalUpdatePlaySound),
+ OPCODE(43, o_saveMainCursor),
+ OPCODE(44, o_restoreMainCursor),
// TODO: Opcode 45 Not Present
- OPCODE(46, o_46_soundWaitStop),
+ OPCODE(46, o_soundWaitStop),
// TODO: Opcodes 47 to 99 Not Present
// "Stack-Specific" Opcodes