mise à niveau
This commit is contained in:
parent
0873aebe7d
commit
740ca10b2b
@ -44,7 +44,6 @@ void augmentation_serpent (struct adresse* pointeur) {
|
||||
|
||||
}
|
||||
|
||||
printf("%hu\n", *taille_serpent);
|
||||
|
||||
|
||||
|
||||
|
@ -82,6 +82,7 @@ void ecran_fin(short int* compteur, unsigned char minutes, unsigned char seconde
|
||||
|
||||
if ( touche == XK_space) {
|
||||
|
||||
FermerGraphique();
|
||||
main();
|
||||
|
||||
}
|
||||
|
BIN
snake/lancement
Executable file
BIN
snake/lancement
Executable file
Binary file not shown.
@ -100,7 +100,6 @@ int main(void) {
|
||||
|
||||
suivant_serpent = Microsecondes() + CYCLE_SERPENT - acceleration;
|
||||
|
||||
printf("%u:%u\n", minutes, secondes);
|
||||
|
||||
|
||||
|
||||
|
@ -49,7 +49,6 @@ void supp_queue( struct adresse* pointeur, unsigned char* retard, short int* com
|
||||
|
||||
ajout_score(compteur);
|
||||
|
||||
printf("[%hhu]\n", *retard);
|
||||
|
||||
/* apparition de la nouvelle pomme */
|
||||
|
||||
@ -66,10 +65,6 @@ void supp_queue( struct adresse* pointeur, unsigned char* retard, short int* com
|
||||
|
||||
plateau[ligne_pomme][colonne_pomme] = 2;
|
||||
|
||||
/*red = CouleurParComposante(255,0,0);
|
||||
ChoisirCouleurDessin(red);
|
||||
RemplirRectangle(20*(colonne_pomme + 1),20*(ligne_pomme + 1),20,20);*/
|
||||
|
||||
green = CouleurParComposante(50,205,50);
|
||||
ChoisirCouleurDessin(green);
|
||||
RemplirRectangle(20*(colonne_pomme + 1),20*(ligne_pomme + 1),20,20);
|
||||
@ -90,7 +85,6 @@ void supp_queue( struct adresse* pointeur, unsigned char* retard, short int* com
|
||||
|
||||
*retard = *retard - 1;
|
||||
|
||||
printf("[%hhu]\n", *retard);
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user