From 76cefdc4dc3efa6eb410574a0f5ec42188ba11bd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Mar 2020 15:42:37 +0200 Subject: Almost --- inc/cub3d.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index a6a0db7..82808f4 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -157,11 +157,18 @@ void ft_check_map_surrounds(t_map *ml, t_cub *cl); int ft_check_missing(t_cub *clist); int ft_check_missing_tex_defines(t_cub *clist); int ft_check_missing_sfx(t_cub *clist); -int ft_missing_error(const char *err, t_cub *clist); -int ft_map_error(const char *errmsg, t_cub *clist); size_t ft_get_line_len(char *line); void ft_get_spawns(t_cub *cl); +/* +** ====== ERROR ====== +*/ + +int ft_error(uint8_t retval, const char *errmsg, t_cub *clist); +int ft_missing_error(const char *err, t_cub *clist); +int ft_map_error(const char *errmsg, t_cub *clist); +int ft_alloc_error(t_cub *clist); + /* ** ====== ARGS ====== */ @@ -239,7 +246,6 @@ void ft_set_minimap_scale(t_cub *clist); void ft_enable_music(t_cub *cl); void ft_music_fork(char **mcmd_words, char *const envp[]); int8_t ft_save_to_bmp(t_cub *cl); -int ft_error(uint8_t retval, const char *errmsg, t_cub *clist); int8_t ft_warp_level(char *path, t_cub *cl); uint32_t ft_rgb_to_hex(float dist, t_rgb rgb, t_cub *cl); t_bmp_rgb ft_hex_to_rgb(uint32_t color); -- cgit v1.2.3