[Scummvm-cvs-logs] SF.net SVN: scummvm:[54712] scummvm/trunk/engines/mohawk/livingbooks.cpp

fuzzie at users.sourceforge.net fuzzie at users.sourceforge.net
Wed Dec 1 19:22:36 CET 2010


Revision: 54712
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54712&view=rev
Author:   fuzzie
Date:     2010-12-01 18:22:36 +0000 (Wed, 01 Dec 2010)

Log Message:
-----------
MOHAWK: add stub implementations for more LB script opcodes

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/livingbooks.cpp

Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-01 18:22:21 UTC (rev 54711)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-01 18:22:36 UTC (rev 54712)
@@ -1925,7 +1925,30 @@
 					target->setEnabled(true);
 					break;
 
-				case 0xf: // apply palette? seen in greeneggs
+				case 0xb:
+					// FIXME: 'showGlobal'
+					target->setVisible(false);
+					break;
+
+				case 0xc:
+					// FIXME: 'showGlobal'
+					target->setVisible(true);
+					break;
+
+				case 0xd:
+					// FIXME: 'enableGlobal'
+					target->setEnabled(false);
+					break;
+
+				case 0xe:
+					// FIXME: 'enableGlobal'
+					target->setEnabled(true);
+					break;
+
+				case 0xf:
+					target->seek(0xFFFF);
+					break;
+
 				default:
 					// TODO
 					warning("Ignoring script entry (type 0x%04x, action 0x%04x, opcode 0x%04x, param 0x%04x) for %d (param %04x)",


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