27 lines
393 B
C
27 lines
393 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 30
|
|
|
|
// Définition des directions
|
|
#define GAUCHE 0
|
|
#define HAUT 1
|
|
#define DROITE 2
|
|
#define BAS 3
|
|
|
|
struct PIXELS {
|
|
int x;
|
|
int y;
|
|
};
|
|
|
|
typedef struct PIXELS PIXELS;
|
|
|
|
#endif
|