DOOM For Neo Freerunner / 1973
"Marco Trevisan (Treviño)"
mail at 3v1n0.net
Wed Nov 5 05:16:58 CET 2008
> 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:
--- src/g_game.c (revisione 28)
+++ src/g_game.c (copia locale)
@@ -808,7 +808,7 @@
fprintf(stderr,"Debug X%d Y%d \n",mousex,mousey);
- if (mousex < 80 && mousey > 160 )
+ if (mousex > 240 && mousey > 160 )
PS: you can find here  a binary (to be put in /usr/games) too!
Treviño's World - Life and Linux
More information about the community