ajout obstacle
This commit is contained in:
3
main.h
3
main.h
@@ -8,6 +8,7 @@
|
||||
#define T_PIXEL 15
|
||||
#define DECALEMENT 30
|
||||
#define PASTILLES 5
|
||||
#define OBSTACLE 100
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +20,6 @@ struct PIXELS {
|
||||
|
||||
typedef struct PIXELS PIXELS;
|
||||
|
||||
PIXELS gen_pastille(PIXELS *serpent,PIXELS *pastilles,int longueur_serpent);
|
||||
PIXELS gen_pastille(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,int longueur_serpent,int longueur_obstacle);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user