Fix build on gp2x. Joystick handling of cursor is moving way too fast on the small 320x240 screen, but I can't understnad why...

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1053 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-10-03 12:33:52 +00:00
parent b26a812785
commit 33c371798d
2 changed files with 6 additions and 2 deletions

View File

@ -283,7 +283,7 @@ release : version $(BIN)
# Create a zip archive ready for upload to the website, including binaries and sourcecode
ziprelease: version $(BIN) release
echo `sed "s/.*=\"\(.*\)\";/\1/" pversion.c`.`svnversion` | tr " :" "_-" | sed -e s/\\(wip\\)\\\\./\\1/I > $(OBJDIR)/versiontag
echo `sed "s/.*=\"\(.*\)\";/\1/" pversion.c`.`svnversion` | tr " :" "_-" | sed -e s/\\\(wip\\\)\\\\./\\1/I > $(OBJDIR)/versiontag
tar cvzf "src-`cat $(OBJDIR)/versiontag`.tgz" --transform 's,^,src/,g' *.c *.h Makefile Makefile.dep gfx2.ico
$(ZIP) $(ZIPOPT) "grafx2-`cat $(OBJDIR)/versiontag`$(TTFLABEL)-$(PLATFORM).$(ZIP)" $(BIN) gfx2def.ini $(SKIN_FILES) gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt fonts/8pxfont.png doc/README-zlib1.txt doc/README-SDL.txt doc/README-SDL_image.txt doc/README-SDL_ttf.txt fonts/Tuffy.ttf src-`cat $(OBJDIR)/versiontag`.tgz $(PLATFORMFILES)

View File

@ -47,6 +47,10 @@
#include "windows.h"
#include "input.h"
#ifndef M_PI
#define M_PI 3.1415926535897932385
#endif
// Generic pixel-drawing function.
Func_pixel Pixel_figure;