diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 18:43:52 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 18:43:52 +0100 |
commit | 5769700c129a614751abe8902278c39960a07131 (patch) | |
tree | a18b687c0d28ac4f1c3cd420daf8efd0ca0ec74f /src/ft_parse_map.c | |
parent | Not ignoring get_next_line return value anymore (diff) | |
download | 42-cub3d-5769700c129a614751abe8902278c39960a07131.tar.gz 42-cub3d-5769700c129a614751abe8902278c39960a07131.tar.bz2 42-cub3d-5769700c129a614751abe8902278c39960a07131.tar.xz 42-cub3d-5769700c129a614751abe8902278c39960a07131.tar.zst 42-cub3d-5769700c129a614751abe8902278c39960a07131.zip |
Function to print the lists
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index d078337..c7081b1 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -53,9 +53,6 @@ ft_parse_map(const char *map_path, t_win *wlist) ft_check_empty_line(fd, 6, wlist); if (ft_get_sprite_tex(fd, wlist) < 0) return ; - ft_printf("[%s]\n", wlist->clist->no_tex_path); - ft_printf("[%s]\n", wlist->clist->so_tex_path); - ft_printf("[%s]\n", wlist->clist->we_tex_path); - ft_printf("[%s]\n", wlist->clist->ea_tex_path); - ft_printf("[%s]\n", wlist->clist->sprite_path); + ft_get_colors(fd, wlist); + ft_print_list(wlist); } |