Amelioration code + commentaires. Rectifications erreurs etc.
This commit is contained in:
9
main.h
9
main.h
@@ -10,8 +10,11 @@
|
||||
#define PASTILLES 5
|
||||
#define OBSTACLE 30
|
||||
|
||||
|
||||
|
||||
// Définition des directions
|
||||
#define GAUCHE 0
|
||||
#define HAUT 1
|
||||
#define DROITE 2
|
||||
#define BAS 3
|
||||
|
||||
struct PIXELS {
|
||||
int x;
|
||||
@@ -20,6 +23,4 @@ struct PIXELS {
|
||||
|
||||
typedef struct PIXELS PIXELS;
|
||||
|
||||
PIXELS gen_pastille(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long longueur_serpent,unsigned long longueur_obstacle);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user