Rectification Segmentation Fault du dernier commit (Agrandissement serpent + score)

This commit is contained in:
Vincent
2023-12-09 09:04:42 +01:00
parent c9155cdd88
commit 16054ef43f
3 changed files with 15 additions and 16 deletions

View File

@@ -3,7 +3,7 @@
#ifndef EVENEMENT_H
#define EVENEMENT_H
void MangerPastille(int *serpent, PIXELS* pastilles, size_t longueur_serpent, size_t longueur_pastilles, unsigned long *score);
int MangerPastille(int *serpent, PIXELS* pastilles,unsigned long *score);
void DeplacementSerpent(int direction ,int *serpent, int longueur);
@@ -11,6 +11,7 @@ void InitialiserPastilles(PIXELS *pastilles);
void AfficherTimerEtScore(int m,int n,int score);
int PastilleSurSerpent(PIXELS pastille, int *serpent, size_t longueur_serpent);
int PastilleSurSerpent(PIXELS pastille, int *serpent, int longueur_serpent);
#endif