correction des warning

This commit is contained in:
2023-12-22 21:07:16 +01:00
parent ca367ad3fe
commit f88d0680f6
3 changed files with 11 additions and 11 deletions

View File

@@ -3,17 +3,17 @@
#ifndef EVENEMENT_H
#define EVENEMENT_H
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,PIXELS *obstacle,unsigned long *score,int longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse);
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,PIXELS *obstacle,unsigned long *score,unsigned long longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse);
void DeplacementSerpent(int direction ,PIXELS *serpent, int longueur);
void DeplacementSerpent(int direction ,PIXELS *serpent, unsigned long longueur);
void AfficherTimerEtScore(long unsigned int *score,int minutes,int secondes);
int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, int longueur_serpent);
int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, unsigned long longueur_serpent);
int MourrirSerpent(PIXELS *serpent,PIXELS *obstacle, int longueur_serpent,int longueur_obstacle);
int MourrirSerpent(PIXELS *serpent,PIXELS *obstacle,unsigned long longueur_serpent,unsigned long longueur_obstacle);
int Serpent(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long *score,unsigned long *longueur_serpent,int longueur_obstacle,unsigned long int *vitesse,int direction);
int Serpent(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long *score,unsigned long *longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse,int direction);
#endif