32 lines
501 B
C
32 lines
501 B
C
/* Fichier d'en-tête comprenant les definitions des contantes nommées et les prototypes)
|
|
Written by Yann KERAUDREN and Titouan LERICHE*/
|
|
|
|
|
|
|
|
#ifndef PLATEAU_INIT_H
|
|
#define PLATEAU_INIT_H
|
|
|
|
|
|
|
|
#define LIGNES 40
|
|
#define COLONNES 60
|
|
#define NBR_POMME 5
|
|
#define TAILLE_SERPENT 10
|
|
|
|
struct adresse {
|
|
int** plateau;
|
|
int** corps_serpent;
|
|
unsigned short* taille_serpent;
|
|
unsigned char* tete;
|
|
unsigned short* indice_queue;
|
|
};
|
|
|
|
|
|
|
|
struct adresse* plateau_init(void);
|
|
|
|
|
|
|
|
|
|
#endif /* PLATEAU_INIT_H */
|