diff --git a/Makefile b/Makefile index 2dba9ff..7402c32 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ CFLAGS = -Wall -ansi -pedantic -g #deplacement.o : pion.h obstacle.h -menu.o : menu.c taille.h +menu.o : taille.h #pion.o : deplacement.h obstacle.h diff --git a/menu.c b/menu.c index 23d3f16..3616a97 100644 --- a/menu.c +++ b/menu.c @@ -4,6 +4,9 @@ #include "taille.h" #include "menu.h" + + + int Menu() { int SourisX, SourisY, choix = 0, x = 100, y = 100; /* Initialisation des variable */ ChoisirCouleurDessin(CouleurParNom("black")); diff --git a/taille.c b/taille.c index 7627c94..f1f8cd3 100644 --- a/taille.c +++ b/taille.c @@ -8,7 +8,6 @@ void GererChoixTaille(int *TailleGrille){ - int Taille; if(ToucheEnAttente()){ KeySym touchPresse = Touche(); /* Prend en compte la touche presser et renvoie la touche presser */ if(touchPresse == XK_KP_3){