aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-01-24 18:52:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-01-24 18:52:32 +0100
commit0e55e163397f2b109321ad284d298e60ee3b97a7 (patch)
treef30aacccaefc5c063a2a6840f02d2e02bdef6b90 /inc/cub3d.h
parentCorrect (diff)
download42-cub3d-0e55e163397f2b109321ad284d298e60ee3b97a7.tar.gz
42-cub3d-0e55e163397f2b109321ad284d298e60ee3b97a7.tar.bz2
42-cub3d-0e55e163397f2b109321ad284d298e60ee3b97a7.tar.xz
42-cub3d-0e55e163397f2b109321ad284d298e60ee3b97a7.tar.zst
42-cub3d-0e55e163397f2b109321ad284d298e60ee3b97a7.zip
cleaner frees
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index e837a34..49f77ec 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -48,7 +48,10 @@ void ft_drawsquare(t_win *wlist, int a, int b);
int ft_get_res(int fd, t_win *wlist);
int ft_get_tex(int fd, t_win *wlist);
int ft_get_sprite_tex(int fd, t_win *wlist);
-void ft_free_words(char **words);
+void ft_check_empty_line(int fd,
+ unsigned int linum,
+ t_win *wlist);
+void ft_free_words(char **words, char *line);
int ft_map_error(unsigned int linum, t_win *wlist);
int ft_init_winlx(t_win *wlist);