From f1665c083bc156008082c76dbf1c031eeb9df341 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Mon, 27 Jan 2020 17:50:39 +0100 Subject: quick commit --- src/ft_print_list.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ft_print_list.c') diff --git a/src/ft_print_list.c b/src/ft_print_list.c index 547bdb2..f038740 100644 --- a/src/ft_print_list.c +++ b/src/ft_print_list.c @@ -4,6 +4,8 @@ void ft_print_list(t_win *wlist) { + size_t i; + ft_printf("x size [%d]\n", wlist->x_size); ft_printf("y size [%d]\n", wlist->y_size); ft_printf("North - [%s]\n", wlist->clist->no_tex_path); @@ -13,4 +15,10 @@ ft_print_list(t_win *wlist) ft_printf("Sprite [%s]\n", wlist->clist->sprite_path); ft_printf("F color [%d]\n", wlist->clist->f_color); ft_printf("C color [%d]\n", wlist->clist->c_color); + i = 0; + while (wlist->clist->map[i]) + { + ft_printf("Map Line %zu [%s]\n", i + 1, wlist->clist->map[i]); + i++; + } } -- cgit v1.2.3