DOOM For Neo Freerunner / 1973
"Marco Trevisan (Treviño)"
mail at 3v1n0.net
Wed Nov 5 05:16:58 CET 2008
SCarlson wrote:
> Marco Trevisan (Treviño) wrote:
>> Ok, nice to hear... Btw do you have actually a quick way to use the
>> bottom right corner instead of the bottom left one?
>> I had no time to look at the sources yet...
> Yes, it would be VERY easy to modify. The place you want to look is
> g_game.c . Line 811
> The X,Y Coordinates 0,0 represent the upper left corner.
Thanks for the hint, in fact I got the left-button version in one second.
This is the small change I've done:
Index: src/g_game.c
===================================================================
--- src/g_game.c (revisione 28)
+++ src/g_game.c (copia locale)
@@ -808,7 +808,7 @@
gamekeydown[key_weapontoggle]=0;
fprintf(stderr,"Debug X%d Y%d \n",mousex,mousey);
- if (mousex < 80 && mousey > 160 )
+ if (mousex > 240 && mousey > 160 )
{
gamekeydown[key_fire]=true;
touchscreen_skiptip=true;
PS: you can find here [1] a binary (to be put in /usr/games) too!
[1] http://downloads.tuxfamily.org/3v1deb/openmoko/opendoom
--
Treviño's World - Life and Linux
http://www.3v1n0.net/
More information about the community
mailing list