change: struct map: add img_path

This commit is contained in:
Camille Chauvet 2023-05-05 14:34:22 +00:00
parent 6d5c90a6a7
commit 3bda6b4fb1

View File

@ -8,6 +8,7 @@ typedef struct s_map
{ {
char **map; char **map;
void *img[4]; void *img[4];
void *img_path[4];
long long color_bot; long long color_bot;
long long color_top; long long color_top;
size_t size_x; size_t size_x;
@ -17,4 +18,6 @@ typedef struct s_map
char direction; char direction;
} t_map; } t_map;
void map_freer(t_map *map);
#endif #endif