tentative de régler les problème il faut toujour trouver la cause
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ CFLAGS = -Wall -ansi -pedantic -g
|
|||||||
|
|
||||||
#deplacement.o : pion.h obstacle.h
|
#deplacement.o : pion.h obstacle.h
|
||||||
|
|
||||||
menu.o : menu.c taille.h
|
menu.o : taille.h
|
||||||
|
|
||||||
#pion.o : deplacement.h obstacle.h
|
#pion.o : deplacement.h obstacle.h
|
||||||
|
|
||||||
|
|||||||
3
menu.c
3
menu.c
@@ -4,6 +4,9 @@
|
|||||||
#include "taille.h"
|
#include "taille.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int Menu() {
|
int Menu() {
|
||||||
int SourisX, SourisY, choix = 0, x = 100, y = 100; /* Initialisation des variable */
|
int SourisX, SourisY, choix = 0, x = 100, y = 100; /* Initialisation des variable */
|
||||||
ChoisirCouleurDessin(CouleurParNom("black"));
|
ChoisirCouleurDessin(CouleurParNom("black"));
|
||||||
|
|||||||
1
taille.c
1
taille.c
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
|
|
||||||
void GererChoixTaille(int *TailleGrille){
|
void GererChoixTaille(int *TailleGrille){
|
||||||
int Taille;
|
|
||||||
if(ToucheEnAttente()){
|
if(ToucheEnAttente()){
|
||||||
KeySym touchPresse = Touche(); /* Prend en compte la touche presser et renvoie la touche presser */
|
KeySym touchPresse = Touche(); /* Prend en compte la touche presser et renvoie la touche presser */
|
||||||
if(touchPresse == XK_KP_3){
|
if(touchPresse == XK_KP_3){
|
||||||
|
|||||||
Reference in New Issue
Block a user