[Scummvm-cvs-logs] SF.net SVN: scummvm: [24770] scummvm/trunk/engines/cine/script.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Thu Nov 23 07:52:04 CET 2006


Revision: 24770
          http://svn.sourceforge.net/scummvm/?rev=24770&view=rev
Author:   sev
Date:     2006-11-22 22:52:03 -0800 (Wed, 22 Nov 2006)

Log Message:
-----------
Add missing dump script cases.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/script.cpp

Modified: scummvm/trunk/engines/cine/script.cpp
===================================================================
--- scummvm/trunk/engines/cine/script.cpp	2006-11-23 06:50:44 UTC (rev 24769)
+++ scummvm/trunk/engines/cine/script.cpp	2006-11-23 06:52:03 UTC (rev 24770)
@@ -2461,6 +2461,10 @@
 						sprintf(lineBuffer, "var[%d]=mouse.Y\n", param1);
 					} else if (param2 == 5) {
 						sprintf(lineBuffer, "var[%d]=rand() mod %d\n", param1, param3);
+					} else if (param2 == 8) {
+						sprintf(lineBuffer, "var[%d]=file[%d].packedSize\n", param1, param3);
+					} else if (param2 == 9) {
+						sprintf(lineBuffer, "var[%d]=file[%d].unpackedSize\n", param1, param3);
 					} else {
 						error("decompileScript: 0x09: param2 = %d", param2);
 					}


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