diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-19 17:42:39 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-19 17:42:39 +0100 |
commit | 7b2b82106491c78e7a288a77db1f5080ef089d0f (patch) | |
tree | 493a98bc97be86c4aaf34dbe0d29730e855a725b /src/ft_print_list.c | |
parent | Commit (diff) | |
download | 42-cub3d-7b2b82106491c78e7a288a77db1f5080ef089d0f.tar.gz 42-cub3d-7b2b82106491c78e7a288a77db1f5080ef089d0f.tar.bz2 42-cub3d-7b2b82106491c78e7a288a77db1f5080ef089d0f.tar.xz 42-cub3d-7b2b82106491c78e7a288a77db1f5080ef089d0f.tar.zst 42-cub3d-7b2b82106491c78e7a288a77db1f5080ef089d0f.zip |
go merge
Diffstat (limited to 'src/ft_print_list.c')
-rw-r--r-- | src/ft_print_list.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/ft_print_list.c b/src/ft_print_list.c deleted file mode 100644 index 3b44115..0000000 --- a/src/ft_print_list.c +++ /dev/null @@ -1,40 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_print_list.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/14 17:28:57 by rbousset #+# #+# */ -/* Updated: 2020/02/14 17:28:57 by rbousset ### ########lyon.fr */ -/* */ -/* ************************************************************************** */ - -#include <libft.h> -#include <cub3d.h> - -void - ft_print_list(t_cub *clist) -{ - 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->mlist->no_tex_path); - ft_printf("South ------ [%s]\n", clist->mlist->so_tex_path); - ft_printf("West ------- [%s]\n", clist->mlist->we_tex_path); - ft_printf("East ------- [%s]\n", clist->mlist->ea_tex_path); - ft_printf("Sprite ----- [%s]\n", clist->mlist->sprite_path); - ft_printf("F color ---- [%d]\n", ft_rgb_to_hex(clist->f_rgb)); - ft_printf("C color ---- [%d]\n", ft_rgb_to_hex(clist->c_rgb)); - i = 0; - ft_printf("Map\n----\n"); - while (clist->mlist->map[i]) - { - ft_printf("%2zu -- [%s]\n", i + 1, clist->mlist->map[i]); - i++; - } - ft_printf("Map width -- [%zu]\n", clist->mlist->map_w); - ft_printf("2D scale --- [%hhu]\n", clist->mlist->scale); - ft_printf("----------------------\n"); -} |