[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.233,1.234

Travis Howell kirben at users.sourceforge.net
Thu Jan 1 16:37:05 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv16731/scumm

Modified Files:
	script_v6.cpp 
Log Message:

Can be used for The Dig too, lander mini-games works again.


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- script_v6.cpp	30 Dec 2003 07:34:15 -0000	1.233
+++ script_v6.cpp	2 Jan 2004 00:36:20 -0000	1.234
@@ -2746,36 +2746,7 @@
 		   333 = right
 		 */
 
-		// FIXME: I guess this is applicable to all engines, but lets avoid
-		// regressions
-		if (_gameId == GID_FT) {
-			push(getKeyState(args[1]));
-			return;
-		}
-
-		if ((args[1] == 27) && (_lastKeyHit == 27)) {
-			push(1); // abort
-			return;
-		}
-
-		if ( ((args[1] == 328) || (args[1] == 336) || (args[1] == 13)) &&
-			((VAR(VAR_LEFTBTN_HOLD)) || (_lastKeyHit == 13) || (_lastKeyHit == 274) ||
-			(_lastKeyHit == 273)) ) {
-			push(1); // thrust
-			return;
-		}
-
-		if (((args[1] == 97) || (args[1] == 331)) && (_lastKeyHit == 276)) {
-			push(1); // left
-			return;
-		}
-		
-		if (((args[1] == 115) || (args[1] == 333)) && (_lastKeyHit == 275)) {
-			push(1); // right
-			return;
-		}
-
-		push(0);
+		push(getKeyState(args[1]));
 		break;
 	case 212:
 		a = derefActor(args[1], "o6_kernelGetFunctions:212");





More information about the Scummvm-git-logs mailing list