From 12faf5456d0f2356b6406a0d74ed4559c4a85a41 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 23 Jan 2020 19:41:24 +0100 Subject: ok but might redo ft_split --- src/ft_parse_map.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/ft_parse_map.c') diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index baf3b5f..d2fbe0d 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -1,8 +1,18 @@ #include #include #include +#include + +/* +** I can't close +*/ void -ft_parse_map(t_cub *clist) +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); } -- cgit v1.2.3