From fc61b9019c867c88868da308fd2d0bfce7408c7f Mon Sep 17 00:00:00 2001 From: JozanLeClerc <bousset.rudy@gmail.com> Date: Mon, 2 Mar 2020 00:33:11 +0100 Subject: in progress --- inc/cub3d.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index dc363df..3ddf188 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -21,6 +21,8 @@ /* ** ====== STRUCTS ====== */ + +void ft_init_funptr(t_cub *clist); int8_t ft_init_cub3d(t_cub **clist); int ft_init_winlx(t_cub *clist); int ft_init_winptr(t_cub *clist); @@ -100,6 +102,13 @@ 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); +/* +** ====== ARGS ====== +*/ + +uint8_t ft_check_map_arg(int argc, const char *argv[]); +uint8_t ft_use_args(int argc, const char *argv[], t_cub *clist); + /* ** ====== OTHER ====== */ @@ -114,11 +123,4 @@ int8_t ft_warp_level(t_cub *cl); int ft_exit(uint8_t exit_code, t_cub *clist); uint32_t ft_rgb_to_hex(t_rgb rgb); -/* -** ====== ARGS ====== -*/ - -uint8_t ft_check_map_arg(int argc, const char *argv[]); -uint8_t ft_use_args(int argc, const char *argv[], t_cub *clist); - # endif -- cgit v1.2.3