diff options
Diffstat (limited to 'src/ft_get_tex.c')
-rw-r--r-- | src/ft_get_tex.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/ft_get_tex.c b/src/ft_get_tex.c index 5b8e24e..1826825 100644 --- a/src/ft_get_tex.c +++ b/src/ft_get_tex.c @@ -1,9 +1,22 @@ +/* ************************************************************************** */ +/* LE - / */ +/* / */ +/* ft_get_tex.c .:: .:/ . .:: */ +/* +:+:+ +: +: +:+:+ */ +/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ +/* #+# #+ #+ #+# */ +/* Created: 2020/02/02 17:19:28 by rbousset #+# ## ## #+# */ +/* Updated: 2020/02/02 17:19:28 by rbousset ### #+. /#+ ###.fr */ +/* / */ +/* / */ +/* ************************************************************************** */ + #include <libft.h> #include <cub3d.h> #include <stdlib.h> int -ft_get_tex_no(char **words, t_cub *clist) + ft_get_tex_no(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) return (-1); @@ -14,7 +27,7 @@ ft_get_tex_no(char **words, t_cub *clist) } int -ft_get_tex_so(char **words, t_cub *clist) + ft_get_tex_so(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) return (-1); @@ -25,7 +38,7 @@ ft_get_tex_so(char **words, t_cub *clist) } int -ft_get_tex_ea(char **words, t_cub *clist) + ft_get_tex_ea(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) return (-1); @@ -36,7 +49,7 @@ ft_get_tex_ea(char **words, t_cub *clist) } int -ft_get_tex_we(char **words, t_cub *clist) + ft_get_tex_we(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) return (-1); |