1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <libft.h> #include <cub3d.h> #include <stdlib.h> #include <fcntl.h> /* ** I can't close */ void ft_parse_map(t_win *wlist, t_cub *clist, const char *map_path) { int fd; (void)clist; fd = open(map_path, O_RDONLY); ft_get_res(fd, wlist); }