From 38a81ff5a1dcb2cd07e10330fcbedf665ff7bc05 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 29 Jan 2020 19:14:24 +0100 Subject: C'est bav --- inc/cub3d.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index 40475eb..c8bf278 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -1,8 +1,8 @@ #ifndef CUB3D_H #define CUB3D_H -#include #include +#include #ifndef FT_W_KEY #define FT_W_KEY 13 @@ -38,6 +38,7 @@ typedef struct s_cub char *sprite_path; int f_color; int c_color; + char *mapl; char **map; size_t map_w; size_t line_chk; @@ -63,6 +64,8 @@ int ft_get_c_color(char **words, t_cub *clist); int ft_get_map_first_line(char *line, t_cub *clist); int ft_get_map_core(int fd, t_cub *clist); int ft_check_missing(t_cub *clist); +int8_t ft_check_map_line(char *line, uint8_t l, t_cub *clist); +size_t ft_get_line_len(char *line); int ft_missing_error(const char *err, t_cub *clist); void ft_free_words(char **words); int ft_map_error(t_cub *clist); -- cgit v1.2.3