Fix the clipping of mouse cursor.
Fix joystick buttons not causing action if no mouse movement. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@585 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
Makefile
10
Makefile
@@ -37,7 +37,7 @@ ifdef COMSPEC
|
||||
CP = cp
|
||||
BIN = grafx2.exe
|
||||
CFGBIN = gfxcfg.exe
|
||||
COPT = -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` $(TTFCOPT)
|
||||
COPT = -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` $(TTFCOPT) $(JOYCOPT)
|
||||
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng
|
||||
CC = gcc
|
||||
OBJDIR = obj/win32
|
||||
@@ -209,6 +209,14 @@ else
|
||||
TTFLABEL =
|
||||
endif
|
||||
|
||||
#To disable Joystick emulation of cursor, make NOTTF=1 (for input.o)
|
||||
#This can be necessary to test keyboard cursor code, because an existing
|
||||
#joystick will keep reporting a contradicting position.
|
||||
ifeq ($(NOJOY),1)
|
||||
JOYCOPT = -DNO_JOYCURSOR
|
||||
else
|
||||
JOYCOPT =
|
||||
endif
|
||||
|
||||
.PHONY : all debug release clean depend zip version force install uninstall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user