diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index b33d040..60bcd58 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -25,8 +25,8 @@ typedef struct s_win void *wlx; void *winptr; uint8_t inited; - uint16_t x_size; - uint16_t y_size; + int16_t x_size; + int16_t y_size; } t_win; typedef struct s_cub @@ -60,9 +60,8 @@ int ft_get_sprite(char **words, t_cub *clist); int ft_get_f_color(char **words, t_cub *clist); int ft_get_c_color(char **words, t_cub *clist); int ft_get_map(int fd, t_cub *clist); -void ft_check_empty_line(int fd, - unsigned int linum, - t_cub *clist); +int ft_check_missing(t_cub *clist); +int ft_missing_error(const char *err, t_cub *clist); void ft_free_words(char **words); int ft_map_error(t_cub *clist); int ft_init_winlx(t_cub *clist); |