From 6ee3017b31456ae8bcf4f21389e514b67d885098 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 28 Jan 2020 16:22:51 +0100 Subject: Got tex --- inc/cub3d.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 3a18cd8..e0b2f79 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -50,10 +50,13 @@ int ft_key_event(int keycode, void *param); int ft_exit(uint8_t exit_code, t_cub *clist); void ft_drawsquare(int a, int b, int rgb, t_cub *clist); void ft_parse_map(const char *map_path, t_cub *clist); -int ft_select_get(char **words, t_cub *clist); +uint8_t ft_select_get(char **words, t_cub *clist); int ft_get_res(char **words, t_cub *clist); -int ft_get_tex(int fd, t_cub *clist); -int ft_get_sprite_tex(int fd, t_cub *clist); +int ft_get_tex_no(char **words, t_cub *clist); +int ft_get_tex_so(char **words, t_cub *clist); +int ft_get_tex_ea(char **words, t_cub *clist); +int ft_get_tex_we(char **words, t_cub *clist); +int ft_get_sprite(char **words, t_cub *clist); int ft_get_colors(int fd, t_cub *clist); int ft_get_map(int fd, t_cub *clist); void ft_check_empty_line(int fd, -- cgit v1.2.3