aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_scripts_myst.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2010-11-29 20:56:04 +0000
committerBastien Bouclet2010-11-29 20:56:04 +0000
commitc7e488c20168d5c2ec9245ac0bc8711abe209db3 (patch)
tree340b3e1f56e8d9bb14530289275db9eef3425488 /engines/mohawk/myst_scripts_myst.cpp
parentfa7ec5ae4c67a98302e816b506b1c06d009a1f18 (diff)
downloadscummvm-rg350-c7e488c20168d5c2ec9245ac0bc8711abe209db3.tar.gz
scummvm-rg350-c7e488c20168d5c2ec9245ac0bc8711abe209db3.tar.bz2
scummvm-rg350-c7e488c20168d5c2ec9245ac0bc8711abe209db3.zip
MOHAWK: Rename and fix / explain a few Myst opcodes
svn-id: r54618
Diffstat (limited to 'engines/mohawk/myst_scripts_myst.cpp')
-rw-r--r--engines/mohawk/myst_scripts_myst.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/mohawk/myst_scripts_myst.cpp b/engines/mohawk/myst_scripts_myst.cpp
index 47197595a7..c705a6f80e 100644
--- a/engines/mohawk/myst_scripts_myst.cpp
+++ b/engines/mohawk/myst_scripts_myst.cpp
@@ -69,24 +69,24 @@ void MystScriptParser_Myst::setupOpcodes() {
OPCODE(13, o_2_changeCardSwitch),
OPCODE(14, o_14_drawAreaState),
OPCODE(15, o_15_redrawAreaForVar),
- OPCODE(16, opcode_16),
+ 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, opcode_21),
+ OPCODE(21, o_21_directionalUpdate),
OPCODE(22, o_6_changeCard),
OPCODE(23, o_23_toggleAreasActivation),
- OPCODE(24, playSound),
+ OPCODE(24, o_24_playSound),
// TODO: Opcode 25 Not Present
- OPCODE(26, opcode_26),
- OPCODE(27, playSoundBlocking),
- OPCODE(28, opcode_28),
- OPCODE(29, opcode_29_33),
+ OPCODE(26, o_26_stopSoundBackground),
+ OPCODE(27, o_27_playSoundBlocking),
+ OPCODE(28, o_28_restoreDefaultRect),
+ OPCODE(29, o_29_33_blitRect),
OPCODE(30, opcode_30),
OPCODE(31, opcode_31),
OPCODE(32, opcode_32),
- OPCODE(33, opcode_29_33),
+ OPCODE(33, o_29_33_blitRect),
OPCODE(34, opcode_34),
OPCODE(35, opcode_35),
OPCODE(36, changeCursor),