[Scummvm-cvs-logs] SF.net SVN: scummvm:[44446] scummvm/branches/branch-1-0-0/engines/tinsel/ pcode.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Mon Sep 28 11:57:21 CEST 2009


Revision: 44446
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44446&view=rev
Author:   dreammaster
Date:     2009-09-28 09:57:20 +0000 (Mon, 28 Sep 2009)

Log Message:
-----------
Backport of script workaround for partially off-screen text in DW1 GRA

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/engines/tinsel/pcode.cpp

Modified: scummvm/branches/branch-1-0-0/engines/tinsel/pcode.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/tinsel/pcode.cpp	2009-09-28 09:56:05 UTC (rev 44445)
+++ scummvm/branches/branch-1-0-0/engines/tinsel/pcode.cpp	2009-09-28 09:57:20 UTC (rev 44446)
@@ -132,6 +132,8 @@
 const int fragment8_size = 6;
 const byte fragment9[] = {OP_JUMP | OPSIZE8, 123};
 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 WorkaroundEntry workaroundList[] = {
 	// DW1-SCN: Global 206 is whether Rincewind is trying to take the book back to the present.
@@ -168,6 +170,9 @@
 	// This fix ensures that the global is reset when the Garden scene is loaded (both entering and restoring a game)
 	{TINSEL_V2, true, 2888147476U, 0, fragment3_size, fragment3},
 
+	// DW1-GRA: Corrects text being drawn partially off-screen during the blackboard description of the Librarian
+	{TINSEL_V1,false, 293831402, 133, fragment10_size, fragment10},
+
 	{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