--- Revision None +++ Revision 643065313061 @@ -0,0 +1,11 @@ +void demarreSdl(SDL_Surface **ecran, char titre[]); +void fermeSdl(SDL_Surface *serpent, SDL_Surface *boum); +void evenements(SDL_Surface *ecran, SDL_Surface *serpent, SDL_Surface *boum, SDL_Surface *tete[]); +void initialise(SDL_Surface *ecran, SDL_Surface **serpent, SDL_Surface **boum, SDL_Surface *tete[]); +void initialiseSerpent(SDL_Rect positionSerpent[], SDL_Surface *serpent, SDL_Surface *ecran, int taille); +void blitteSerpent(SDL_Surface *serpent, SDL_Surface *ecran, SDL_Rect positionSerpent[], int taille, int direction, SDL_Surface *tete[]); +void decalePositions(SDL_Rect positionSerpent[], int taille); +void avanceSerpent(SDL_Surface *serpent, SDL_Rect positionSerpent[], int direction); +int cogne(SDL_Rect positionSerpent[], SDL_Surface *ecran, int taille); +int surSerpent(SDL_Rect positionSerpent[], int taille); +void perdu(SDL_Surface *boum, SDL_Surface *ecran, SDL_Rect positionSerpent[]);