Merge branch 'master' of dwarves.iut-fbleau.fr:keraudre/SAE11_2023

This commit is contained in:
Titouan LERICHE 2023-12-20 11:35:39 +01:00
commit d3f6af133c
5 changed files with 8 additions and 11 deletions

@ -11,7 +11,7 @@
void ecran_lancement(void) {
unsigned char ecran_lancement(void) {
couleur grey, green, yellow, red;
@ -63,13 +63,13 @@ void ecran_lancement(void) {
if (Touche() == XK_space ) {
return ;
return 1 ;
}
if (Touche() == XK_Escape) {
FermerGraphique();
return 0 ;
}

@ -8,6 +8,6 @@
#include <graph.h>
void ecran_lancement(void) ;
unsigned char ecran_lancement(void) ;
#endif /* ECRAN_LANCEMENT_H */

@ -5,9 +5,7 @@
#include <stdlib.h>
#include <graph.h>
#include "plateau_init.h"
#include "fenetre.h"
#include "ecran_lancement.h"
@ -32,9 +30,6 @@ void start (struct adresse* pointeur) {
/* affichage du l'écran principale */
ecran_lancement();

@ -6,6 +6,7 @@
#include "plateau_init.h"
#include "deplacement.h"
#include "score_init.h"
#include "ecran_lancement.h"
#define CYCLE 200000L
@ -31,7 +32,7 @@ int main(void) {
unsigned char* tete = pointeur -> tete;
unsigned char jeu = 1 ;
unsigned char jeu;
unsigned long suivant;
@ -57,7 +58,9 @@ int main(void) {
CreerFenetre(10,10,1450,840);
/* affichage du l'écran principale */
jeu = ecran_lancement();
start(pointeur);
@ -128,7 +131,6 @@ int main(void) {
Touche();
FermerGraphique();
return EXIT_SUCCESS;

Binary file not shown.

Before

(image error) Size: 29 KiB