[Scummvm-cvs-logs] SF.net SVN: scummvm:[35230] scummvm/trunk/engines/gob/inter_v5.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu Dec 4 01:31:01 CET 2008


Revision: 35230
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35230&view=rev
Author:   drmccoy
Date:     2008-12-04 00:31:01 +0000 (Thu, 04 Dec 2008)

Log Message:
-----------
A few more GobOpcodes that jump to the space shooter + fudging the result to something not resulting in a non-quitable state

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v5.cpp

Modified: scummvm/trunk/engines/gob/inter_v5.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v5.cpp	2008-12-03 22:55:30 UTC (rev 35229)
+++ scummvm/trunk/engines/gob/inter_v5.cpp	2008-12-04 00:31:01 UTC (rev 35230)
@@ -40,6 +40,9 @@
 const int Inter_v5::_goblinFuncLookUp[][2] = {
 	{0, 0},
 	{1, 0},
+	{3, 0},
+	{2, 0},
+	{33, 0},
 	{80, 1},
 	{81, 2},
 	{82, 3},
@@ -61,54 +64,7 @@
 	{98, 12},
 	{99, 0},
 	{100, 13},
-	{200, 14},
-	{30, 24},
-	{32, 25},
-	{33, 26},
-	{34, 27},
-	{35, 28},
-	{36, 29},
-	{37, 30},
-	{40, 31},
-	{41, 32},
-	{42, 33},
-	{43, 34},
-	{44, 35},
-	{50, 36},
-	{52, 37},
-	{53, 38},
-	{100, 39},
-	{152, 40},
-	{200, 41},
-	{201, 42},
-	{202, 43},
-	{203, 44},
-	{204, 45},
-	{250, 46},
-	{251, 47},
-	{252, 48},
-	{500, 49},
-	{502, 50},
-	{503, 51},
-	{600, 52},
-	{601, 53},
-	{602, 54},
-	{603, 55},
-	{604, 56},
-	{605, 57},
-	{1000, 58},
-	{1001, 59},
-	{1002, 60},
-	{1003, 61},
-	{1004, 62},
-	{1005, 63},
-	{1006, 64},
-	{1008, 65},
-	{1009, 66},
-	{1010, 67},
-	{1011, 68},
-	{1015, 69},
-	{2005, 70}
+	{200, 14}
 };
 
 Inter_v5::Inter_v5(GobEngine *vm) : Inter_v4(vm) {
@@ -768,16 +724,12 @@
 
 	uint32 var1 = load16() * 4;
 	uint32 var2 = load16() * 4;
-#if 1
+
 	load16();
 	load16();
-#else
-	uint32 var3 = load16() * 4;
-	uint16 var4 = load16();
-#endif
 
 	if (params.extraData != 0) {
-		WRITE_VARO_UINT32(var1, 0);
+		WRITE_VARO_UINT32(var1, 2);
 		WRITE_VARO_UINT32(var2, 0);
 	} else {
 		if (paramCount < 5) {


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