[Scummvm-cvs-logs] SF.net SVN: scummvm:[54731] scummvm/trunk/engines/mohawk/myst_stacks

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Dec 2 05:01:08 CET 2010


Revision: 54731
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54731&view=rev
Author:   mthreepwood
Date:     2010-12-02 04:01:07 +0000 (Thu, 02 Dec 2010)

Log Message:
-----------
MOHAWK: Stub off various Myst opcodes

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
    scummvm/trunk/engines/mohawk/myst_stacks/myst.h
    scummvm/trunk/engines/mohawk/myst_stacks/preview.cpp

Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2010-12-02 00:27:46 UTC (rev 54730)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2010-12-02 04:01:07 UTC (rev 54731)
@@ -67,14 +67,48 @@
 	OPCODE(119, opcode_119);
 	OPCODE(120, opcode_120);
 	OPCODE(121, opcode_121);
+	OPCODE(122, opcode_122);
+	OPCODE(123, opcode_123);
+	OPCODE(129, opcode_129);
+	OPCODE(130, opcode_130);
+	OPCODE(131, opcode_131);
+	OPCODE(132, opcode_132);
 	OPCODE(133, opcode_133);
+	OPCODE(134, opcode_134);
+	OPCODE(135, opcode_135);
+	OPCODE(136, opcode_136);
+	OPCODE(137, opcode_137);
+	OPCODE(146, opcode_146);
 	OPCODE(147, opcode_147);
+	OPCODE(149, opcode_149);
+	OPCODE(150, opcode_150);
+	OPCODE(151, opcode_151);
 	OPCODE(164, opcode_164);
 	OPCODE(169, opcode_169);
+	OPCODE(170, opcode_170);
+	OPCODE(171, opcode_171);
+	OPCODE(172, opcode_172);
+	OPCODE(173, opcode_173);
+	OPCODE(174, opcode_174);
+	OPCODE(175, opcode_175);
+	OPCODE(176, opcode_176);
+	OPCODE(177, opcode_177);
+	OPCODE(180, opcode_180);
+	OPCODE(181, opcode_181);
 	OPCODE(182, opcode_182);
 	OPCODE(183, opcode_183);
 	OPCODE(184, opcode_184);
 	OPCODE(185, opcode_185);
+	OPCODE(186, opcode_186);
+	OPCODE(188, opcode_188);
+	OPCODE(189, opcode_189);
+	OPCODE(190, opcode_190);
+	OPCODE(191, opcode_191);
+	OPCODE(192, opcode_192);
+	OPCODE(194, opcode_194);
+	OPCODE(195, opcode_195);
+	OPCODE(196, opcode_196);
+	OPCODE(197, opcode_197);
 	OPCODE(198, opcode_198);
 	OPCODE(199, opcode_199);
 
@@ -511,6 +545,36 @@
 		unknown(op, var, argc, argv);
 }
 
+void MystScriptParser_Myst::opcode_122(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4100
+	// TODO: Mouse down on handle
+}
+
+void MystScriptParser_Myst::opcode_123(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4100
+	// TODO: Mouse drag on handle
+}
+
+void MystScriptParser_Myst::opcode_129(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Month increase
+}
+
+void MystScriptParser_Myst::opcode_130(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Month decrease
+}
+
+void MystScriptParser_Myst::opcode_131(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Day increase
+}
+
+void MystScriptParser_Myst::opcode_132(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Day decrease
+}
+
 void MystScriptParser_Myst::opcode_133(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
 	varUnusedCheck(op, var);
 
@@ -528,6 +592,31 @@
 		unknown(op, var, argc, argv);
 }
 
+void MystScriptParser_Myst::opcode_134(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Month slider movement
+}
+
+void MystScriptParser_Myst::opcode_135(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Day slider movement
+}
+
+void MystScriptParser_Myst::opcode_136(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Year slider movement
+}
+
+void MystScriptParser_Myst::opcode_137(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Time slider movement
+}
+
+void MystScriptParser_Myst::opcode_146(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4098
+	// TODO: Boiler wheel clockwise mouse down
+}
+
 void MystScriptParser_Myst::opcode_147(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
 	varUnusedCheck(op, var);
 
@@ -538,6 +627,21 @@
 		unknown(op, var, argc, argv);
 }
 
+void MystScriptParser_Myst::opcode_149(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4098
+	// TODO: Boiler wheel clockwise mouse up
+}
+
+void MystScriptParser_Myst::opcode_150(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4098
+	// TODO: Boiler wheel counter-clockwise mouse down
+}
+
+void MystScriptParser_Myst::opcode_151(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4098
+	// TODO: Boiler wheel counter-clockwise mouse up
+}
+
 void MystScriptParser_Myst::opcode_164(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
 	varUnusedCheck(op, var);
 
@@ -554,6 +658,51 @@
 	// TODO: Finish Implementation...
 }
 
+void MystScriptParser_Myst::opcode_170(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Month slider mouse down
+}
+
+void MystScriptParser_Myst::opcode_171(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Month slider mouse up
+}
+
+void MystScriptParser_Myst::opcode_172(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Day slider mouse down
+}
+
+void MystScriptParser_Myst::opcode_173(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Day slider mouse up
+}
+
+void MystScriptParser_Myst::opcode_174(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Year slider mouse down
+}
+
+void MystScriptParser_Myst::opcode_175(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Year slider mouse up
+}
+
+void MystScriptParser_Myst::opcode_176(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Time slider mouse down
+}
+
+void MystScriptParser_Myst::opcode_177(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Time slider mouse up
+}
+
+void MystScriptParser_Myst::opcode_180(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4059
+	// TODO: Draw fireplace combination book page
+}
+
 void MystScriptParser_Myst::opcode_181(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
 	varUnusedCheck(op, var);
 
@@ -603,6 +752,56 @@
 		unknown(op, var, argc, argv);
 }
 
+void MystScriptParser_Myst::opcode_186(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4006
+	// TODO: Minute wheel turn
+}
+
+void MystScriptParser_Myst::opcode_188(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4006
+	// TODO: Redraw time wheels?
+}
+
+void MystScriptParser_Myst::opcode_189(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4006
+	// TODO: Hour wheel turn
+}
+
+void MystScriptParser_Myst::opcode_190(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4059
+	// TODO: Increase fireplace combination book page
+}
+
+void MystScriptParser_Myst::opcode_191(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4059
+	// TODO: Decrease fireplace combination book page
+}
+
+void MystScriptParser_Myst::opcode_192(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Time increase
+}
+
+void MystScriptParser_Myst::opcode_194(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Constellation drawing
+}
+
+void MystScriptParser_Myst::opcode_195(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Time decrease
+}
+
+void MystScriptParser_Myst::opcode_196(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Year increase
+}
+
+void MystScriptParser_Myst::opcode_197(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+	// Used on Card 4500
+	// TODO: Year decrease
+}
+
 // TODO: Merge with Opcode 42?
 void MystScriptParser_Myst::opcode_198(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
 	varUnusedCheck(op, var);

Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.h
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.h	2010-12-02 00:27:46 UTC (rev 54730)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.h	2010-12-02 04:01:07 UTC (rev 54731)
@@ -82,15 +82,48 @@
 	DECLARE_OPCODE(opcode_119);
 	DECLARE_OPCODE(opcode_120);
 	DECLARE_OPCODE(opcode_121);
+	DECLARE_OPCODE(opcode_122);
+	DECLARE_OPCODE(opcode_123);
+	DECLARE_OPCODE(opcode_129);
+	DECLARE_OPCODE(opcode_130);
+	DECLARE_OPCODE(opcode_131);
+	DECLARE_OPCODE(opcode_132);
 	DECLARE_OPCODE(opcode_133);
+	DECLARE_OPCODE(opcode_134);
+	DECLARE_OPCODE(opcode_135);
+	DECLARE_OPCODE(opcode_136);
+	DECLARE_OPCODE(opcode_137);
+	DECLARE_OPCODE(opcode_146);
 	DECLARE_OPCODE(opcode_147);
+	DECLARE_OPCODE(opcode_149);
+	DECLARE_OPCODE(opcode_150);
+	DECLARE_OPCODE(opcode_151);
 	DECLARE_OPCODE(opcode_164);
 	DECLARE_OPCODE(opcode_169);
+	DECLARE_OPCODE(opcode_170);
+	DECLARE_OPCODE(opcode_171);
+	DECLARE_OPCODE(opcode_172);
+	DECLARE_OPCODE(opcode_173);
+	DECLARE_OPCODE(opcode_174);
+	DECLARE_OPCODE(opcode_175);
+	DECLARE_OPCODE(opcode_176);
+	DECLARE_OPCODE(opcode_177);
+	DECLARE_OPCODE(opcode_180);
 	DECLARE_OPCODE(opcode_181);
 	DECLARE_OPCODE(opcode_182);
 	DECLARE_OPCODE(opcode_183);
 	DECLARE_OPCODE(opcode_184);
 	DECLARE_OPCODE(opcode_185);
+	DECLARE_OPCODE(opcode_186);
+	DECLARE_OPCODE(opcode_188);
+	DECLARE_OPCODE(opcode_189);
+	DECLARE_OPCODE(opcode_190);
+	DECLARE_OPCODE(opcode_191);
+	DECLARE_OPCODE(opcode_192);
+	DECLARE_OPCODE(opcode_194);
+	DECLARE_OPCODE(opcode_195);
+	DECLARE_OPCODE(opcode_196);
+	DECLARE_OPCODE(opcode_197);
 	DECLARE_OPCODE(opcode_198);
 	DECLARE_OPCODE(opcode_199);
 

Modified: scummvm/trunk/engines/mohawk/myst_stacks/preview.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/preview.cpp	2010-12-02 00:27:46 UTC (rev 54730)
+++ scummvm/trunk/engines/mohawk/myst_stacks/preview.cpp	2010-12-02 04:01:07 UTC (rev 54731)
@@ -53,8 +53,8 @@
 
 void MystScriptParser_Preview::setupOpcodes() {
 	// "Stack-Specific" Opcodes
-	OPCODE(196, opcode_196);
-	OPCODE(197, opcode_197);
+	OVERRIDE_OPCODE(196, opcode_196);
+	OVERRIDE_OPCODE(197, opcode_197);
 	OVERRIDE_OPCODE(198, opcode_198);
 	OVERRIDE_OPCODE(199, opcode_199);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list