diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:22:51 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:22:51 +0100 |
commit | 6ee3017b31456ae8bcf4f21389e514b67d885098 (patch) | |
tree | 39a8354d65268b607d110c67deee9faac081cb5d /inc | |
parent | Bug fix (diff) | |
download | 42-cub3d-6ee3017b31456ae8bcf4f21389e514b67d885098.tar.gz 42-cub3d-6ee3017b31456ae8bcf4f21389e514b67d885098.tar.bz2 42-cub3d-6ee3017b31456ae8bcf4f21389e514b67d885098.tar.xz 42-cub3d-6ee3017b31456ae8bcf4f21389e514b67d885098.tar.zst 42-cub3d-6ee3017b31456ae8bcf4f21389e514b67d885098.zip |
Got tex
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 9 |
1 files changed, 6 insertions, 3 deletions
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, |