aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_print_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_print_list.c')
-rw-r--r--src/ft_print_list.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/ft_print_list.c b/src/ft_print_list.c
index b86d915..45ef1fe 100644
--- a/src/ft_print_list.c
+++ b/src/ft_print_list.c
@@ -19,22 +19,25 @@ void
{
size_t i;
- ft_printf("x size [%d]\n", clist->wlist->x_size);
- ft_printf("y size [%d]\n", clist->wlist->y_size);
- ft_printf("North - [%s]\n", clist->no_tex_path);
- ft_printf("South - [%s]\n", clist->so_tex_path);
- ft_printf("West -- [%s]\n", clist->we_tex_path);
- ft_printf("East -- [%s]\n", clist->ea_tex_path);
- ft_printf("Sprite [%s]\n", clist->sprite_path);
- ft_printf("F color [%d]\n", clist->f_color);
- ft_printf("C color [%d]\n", clist->c_color);
+ ft_printf("x size ----- [%d]\n", clist->wlist->x_size);
+ ft_printf("y size ----- [%d]\n", clist->wlist->y_size);
+ ft_printf("North ------ [%s]\n", clist->no_tex_path);
+ ft_printf("South ------ [%s]\n", clist->so_tex_path);
+ ft_printf("West ------- [%s]\n", clist->we_tex_path);
+ ft_printf("East ------- [%s]\n", clist->ea_tex_path);
+ ft_printf("Sprite ----- [%s]\n", clist->sprite_path);
+ ft_printf("F color ---- [%d]\n", clist->f_color);
+ ft_printf("C color ---- [%d]\n", clist->c_color);
i = 0;
ft_printf("Map\n----\n");
while (clist->map[i])
{
- ft_printf("%2zu [%s]\n", i + 1, clist->map[i]);
+ ft_printf("%2zu -- [%s]\n", i + 1, clist->map[i]);
i++;
}
- ft_printf("Map width [%zu]\n", clist->map_w);
+ ft_printf("Map width -- [%zu]\n", clist->map_w);
+ ft_printf("----\n");
+ ft_printf("Player pos X [%zu]\n", clist->plist->pos_x);
+ ft_printf("Player pos Y [%zu]\n", clist->plist->pos_y);
ft_printf("----------------------\n");
}