42_cube3D/map/map.h
Camille Chauvet addd78ecf2 merge
2023-05-05 11:51:22 +00:00

21 lines
293 B
C

#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;
size_t size_x;
size_t size_y;
double ply_x;
double ply_y;
char direction;
} t_map;
#endif