2023-05-03 07:09:06 -04:00
|
|
|
#ifndef MAP_H
|
|
|
|
# define MAP_H
|
|
|
|
# include<sys/types.h>
|
|
|
|
|
|
|
|
// img: 0=Nord, 1=WEST, 2=SOUTH, 3=EAST;
|
|
|
|
|
|
|
|
typedef struct s_map
|
|
|
|
{
|
|
|
|
char **map;
|
|
|
|
void *img[4];
|
|
|
|
long long color_bot;
|
|
|
|
long long color_top;
|
2023-05-05 07:51:11 -04:00
|
|
|
size_t size_x;
|
|
|
|
size_t size_y;
|
2023-05-05 07:35:52 -04:00
|
|
|
double ply_x;
|
|
|
|
double ply_y;
|
2023-05-04 07:58:30 -04:00
|
|
|
char direction;
|
2023-05-03 07:09:06 -04:00
|
|
|
} t_map;
|
|
|
|
|
|
|
|
#endif
|