2023-12-22 19:40:06 +01:00

26 lines
419 B
C

#ifndef MAIN_H
#define MAIN_H
#define W_WINDOW 930
#define H_WINDOW 710
#define W_GAME 900
#define H_GAME 600
#define T_PIXEL 15
#define DECALEMENT 30
#define PASTILLES 5
#define OBSTACLE 100
struct PIXELS {
int x;
int y;
};
typedef struct PIXELS PIXELS;
PIXELS gen_pastille(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,int longueur_serpent,int longueur_obstacle);
#endif