diff --git a/Makefile b/Makefile index 921ff89..1d88702 100644 --- a/Makefile +++ b/Makefile @@ -82,10 +82,8 @@ export HFILES := $(addsuffix .h,$(subst .,_,$(BINFILES))) #--------------------------------------------------------------------------------- # build a list of include paths #--------------------------------------------------------------------------------- -INCLUDEDIR := $(foreach dir,$(LIBDIRS),$(dir $(wildcard $(dir)/include/*/))) export INCLUDE := $(foreach dir,$(INCLUDES), -iquote $(CURDIR)/$(dir)) \ $(foreach dir,$(LIBDIRS),-I$(dir)/include) \ - $(foreach dir,$(INCLUDEDIR),-I$(dir)) \ -I$(CURDIR)/include \ -I$(CURDIR)/$(BUILD) \ -I$(LIBOGC_INC) diff --git a/source/LED_Handled.h b/source/LED_Handled.h index 8ec0834..f3c1d22 100644 --- a/source/LED_Handled.h +++ b/source/LED_Handled.h @@ -23,6 +23,7 @@ #ifndef _LED_Handled_h_ #define _LED_Handled_h_ #include +#include #include #include #include diff --git a/source/game/Basketball.c b/source/game/Basketball.c index 3f9cf02..1796eaf 100644 --- a/source/game/Basketball.c +++ b/source/game/Basketball.c @@ -131,16 +131,6 @@ static PLAYER defense[NUM_DEFENSEPLAYERS]; p.nColumn++; \ } -static BOOL ISBALL(int x, int y) -{ - if ((ball.nColumn == x) - && (ball.nRow == y) - && (ball.nBright)){ - return TRUE; - } - return FALSE; -} - static BOOL ISPLAYER(int x, int y) { if ((player.nColumn == x) @@ -174,17 +164,6 @@ static BOOL ISOCCUPIED(int x, int y) return FALSE; } -static int GETPLAYERAT(int x, int y){ - for (int i=0; i