tentative de régler les problème il faut toujour trouver la cause

This commit is contained in:
2024-10-29 14:28:56 +01:00
parent c6199fab35
commit 70e909a19c
3 changed files with 4 additions and 2 deletions

View File

@@ -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

3
menu.c
View File

@@ -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"));

View File

@@ -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){