aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_print_list.c
blob: f038740b7b9661c1455e8d6b6e2bb0768c1cf866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <libft.h>
#include <cub3d.h>

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);
	ft_printf("South - [%s]\n", wlist->clist->so_tex_path);
	ft_printf("West -- [%s]\n", wlist->clist->we_tex_path);
	ft_printf("East -- [%s]\n", wlist->clist->ea_tex_path);
	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++;
	}
}