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_print_list.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_print_list.c')
-rw-r--r-- | src/ft_print_list.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ft_print_list.c b/src/ft_print_list.c new file mode 100644 index 0000000..547bdb2 --- /dev/null +++ b/src/ft_print_list.c @@ -0,0 +1,16 @@ +#include <libft.h> +#include <cub3d.h> + +void +ft_print_list(t_win *wlist) +{ + 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); +} |