diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 2 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index edc462f..5808560 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -92,6 +92,8 @@ int8_t ft_get_c_color(char **words, t_cub *clist); int8_t ft_get_path_nl(char **words, t_cub *clist); int8_t ft_get_tex_nl(char **words, t_cub *clist); int8_t ft_get_music(char **words, t_cub *clist); +size_t ft_get_map_h(char **map); +size_t ft_get_map_w(char **map); int8_t ft_check_map_line(char *line, uint8_t l, t_cub *clist); int8_t ft_check_ext(const char *filep, const char *ext); int8_t ft_check_not_found(const char *path); diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index b19eae6..ae5ee02 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -121,6 +121,7 @@ typedef struct s_map int8_t y_step; size_t map_w; size_t map_h; + size_t mapl_len; size_t line_chk; size_t map_start; uint8_t isspawn; |