[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,1.12,1.13
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Sat Sep 21 10:52:02 CEST 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv16179
Modified Files:
script_v2.cpp
Log Message:
DIG: added hack to allow turn on light bridge
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- script_v2.cpp 17 Sep 2002 15:33:31 -0000 1.12
+++ script_v2.cpp 21 Sep 2002 17:51:52 -0000 1.13
@@ -2962,7 +2962,6 @@
push(_objs[i].height);
break;
case 211:
- warning("o6_kernelFunction: getInput(%d)", args[1]);
/*
13 = thrust
336 = thrust
@@ -2973,6 +2972,15 @@
115 = right
333 = tight
*/
+
+ //FIXME: this is hack to allow turn on light bridge,
+ //How to check is left button pressed ?
+ if ((_gameId == GID_DIG) && (args[1] == 13)) {
+ push(1);
+ break;
+ }
+
+ warning("o6_kernelFunction: getInput(%d)", args[1]);
push(0);
break;
case 212:
More information about the Scummvm-git-logs
mailing list