[Scummvm-cvs-logs] SF.net SVN: scummvm:[52455] tools/trunk/engines/gob

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Mon Aug 30 18:07:38 CEST 2010


Revision: 52455
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52455&view=rev
Author:   strangerke
Date:     2010-08-30 16:07:37 +0000 (Mon, 30 Aug 2010)

Log Message:
-----------
TOOLS: Apply 2 modifications to degob 

Apply two modifications to the degob tools that were done in gob
engine: Fascination CD and Hebrew version use something similar to 
o2_assign and o1_collisionsBlock is now named hotspots->evaluate

Modified Paths:
--------------
    tools/trunk/engines/gob/degob_script_fascin.cpp
    tools/trunk/engines/gob/degob_script_v1.cpp

Modified: tools/trunk/engines/gob/degob_script_fascin.cpp
===================================================================
--- tools/trunk/engines/gob/degob_script_fascin.cpp	2010-08-30 14:36:37 UTC (rev 52454)
+++ tools/trunk/engines/gob/degob_script_fascin.cpp	2010-08-30 16:07:37 UTC (rev 52455)
@@ -392,7 +392,7 @@
 		{OPCODEF(o1_whileDo), {PARAM_NONE}},
 		/* 08 */
 		{OPCODEF(o1_if), {PARAM_NONE}},
-		{OPCODEF(o1_assign), {PARAM_NONE}},
+		{OPCODEF(o2_assign), {PARAM_NONE}},
 		{OPCODEF(o1_loadSpriteToPos), {PARAM_NONE}},
 		{TYPE_NONE, 0, 0, {PARAM_NONE}},
 		/* 0C */

Modified: tools/trunk/engines/gob/degob_script_v1.cpp
===================================================================
--- tools/trunk/engines/gob/degob_script_v1.cpp	2010-08-30 14:36:37 UTC (rev 52454)
+++ tools/trunk/engines/gob/degob_script_v1.cpp	2010-08-30 16:07:37 UTC (rev 52455)
@@ -753,7 +753,7 @@
 		if (offset >= 128)
 			addFuncOffset(offset);
 	} else if (peekUint8() == 2)
-		print("o1_collisionsBlock(%d);\n", offset);
+		print("_hotspots->evaluate()(%d);\n", offset);
 	else
 		print("<Unknown block type %d (%d)>\n", peekUint8(), offset);
 


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