42_cube3D/map/map.h
2023-05-03 11:09:06 +00:00

18 lines
249 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;
long long spawn_x;
long long spawn_y;
} t_map;
#endif