diff --git a/Makefile b/Makefile index e6892c4..d8b8cec 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ OUTNAME = ttower -CFLAGS = -O2 -g -Wall -Wextra -I./raylib/include +CFLAGS = -O2 -g -Wall -Wextra -I ./raylib/include #linux #LDFLAGS = -static -L./raylib/lib -lraylib -lm #windows diff --git a/src/main.c b/src/main.c index 3276002..dcee3ee 100644 --- a/src/main.c +++ b/src/main.c @@ -4,7 +4,7 @@ #include #include -#include "raylib.h" +#include #define min(x, minn) ((x) < (minn) ? (minn):(x)) @@ -218,11 +218,11 @@ int main(){ draw_towers(&towers, xpos); - snprintf(scorebuf, 100, "Score : %d lost : %d", score, lost); + snprintf(scorebuf, 100, "Score : %d", score); DrawText(scorebuf, 0,0,30,BLACK); - DrawFPS(0, 100); + //DrawFPS(0, 100); if(lost == 3) lost_men(&score); diff --git a/ttower.zip b/ttower.zip new file mode 100644 index 0000000..38dcb0a Binary files /dev/null and b/ttower.zip differ diff --git a/ttower/plane.png b/ttower/plane.png new file mode 100644 index 0000000..5784458 Binary files /dev/null and b/ttower/plane.png differ diff --git a/ttower/towers.png b/ttower/towers.png new file mode 100644 index 0000000..625365d Binary files /dev/null and b/ttower/towers.png differ