diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:38:50 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:38:50 +0100 |
commit | 0701cef3492d9c6d037abbe7c116dd22b9ab8a0c (patch) | |
tree | 616fbbe92c6edfdbc3f473fb90edf6da8d8737bb /src/ft_get_tex.c | |
parent | Don't mess with me boy (diff) | |
download | 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.gz 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.bz2 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.xz 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.tar.zst 42-cub3d-0701cef3492d9c6d037abbe7c116dd22b9ab8a0c.zip |
Better code
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_tex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_get_tex.c b/src/ft_get_tex.c index 1826825..240f034 100644 --- a/src/ft_get_tex.c +++ b/src/ft_get_tex.c @@ -15,7 +15,7 @@ #include <cub3d.h> #include <stdlib.h> -int +int8_t ft_get_tex_no(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) @@ -26,7 +26,7 @@ int return (0); } -int +int8_t ft_get_tex_so(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) @@ -37,7 +37,7 @@ int return (0); } -int +int8_t ft_get_tex_ea(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) @@ -48,7 +48,7 @@ int return (0); } -int +int8_t ft_get_tex_we(char **words, t_cub *clist) { if (!(*words) || !(*(words + 1)) || (*(words + 2))) |