diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stdint.h> #include <stddef.h> +#include <stdint.h> #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); |