[Scummvm-cvs-logs] SF.net SVN: scummvm:[47987] scummvm/trunk/engines/tinsel/pcode.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Mon Feb 8 11:02:19 CET 2010


Revision: 47987
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47987&view=rev
Author:   dreammaster
Date:     2010-02-08 10:02:18 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
Script workaround fix for DW1, for being able to give the whistle back to the pirate before the parrot

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/pcode.cpp

Modified: scummvm/trunk/engines/tinsel/pcode.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/pcode.cpp	2010-02-08 02:47:05 UTC (rev 47986)
+++ scummvm/trunk/engines/tinsel/pcode.cpp	2010-02-08 10:02:18 UTC (rev 47987)
@@ -136,6 +136,16 @@
 const int fragment9_size = 2;
 const byte fragment10[] = {OP_IMM | OPSIZE16, 160 % 256, 160 / 256, OP_JUMP | OPSIZE16, 136 % 256, 136 / 256};
 const int fragment10_size = 6;
+const byte fragment11[] = {OP_JMPTRUE | OPSIZE16, 1572 % 256, 1572 / 256, 
+		OP_ONE, OP_LIBCALL | OPSIZE8, 14,									// Re-show the cursor
+		OP_IMM | OPSIZE16, 322 % 256, 322 / 256, OP_LIBCALL | OPSIZE8, 46,	// Give back the whistle
+		OP_JUMP | OPSIZE16, 1661 % 256, 1661 / 256};
+const int fragment11_size = 14;
+const byte fragment12[] = {OP_JMPTRUE | OPSIZE16, 1491 % 256, 1491 / 256, 
+		OP_ONE, OP_LIBCALL | OPSIZE8, 14,									// Re-show the cursor
+		OP_IMM | OPSIZE16, 322 % 256, 322 / 256, OP_LIBCALL | OPSIZE8, 46,	// Give back the whistle
+		OP_JUMP | OPSIZE16, 1568 % 256, 1568 / 256};
+const int fragment12_size = 14;
 
 const WorkaroundEntry workaroundList[] = {
 	// DW1-SCN: Global 206 is whether Rincewind is trying to take the book back to the present.
@@ -175,6 +185,11 @@
 	// DW1-GRA: Corrects text being drawn partially off-screen during the blackboard description of the Librarian
 	{TINSEL_V1,false, 293831402, 133, fragment10_size, fragment10},
 
+	// DW1-GRA/SCN: Corrects the dead-end of being able to give the whistle back to the pirate before giving him
+	// the parrot
+	{TINSEL_V1, true, 352601285, 1569, fragment11_size, fragment11},
+	{TINSEL_V1, false, 352602304, 1488, fragment12_size, fragment12},
+
 	{TINSEL_V0, false, 0, 0, 0, NULL}
 };
 


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