diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:33:11 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:33:11 +0100 |
commit | fc61b9019c867c88868da308fd2d0bfce7408c7f (patch) | |
tree | 31ca264c2f2cc61613d38a0ffa91e1894e691f53 /inc/cub3d.h | |
parent | Another song (diff) | |
download | 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.gz 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.bz2 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.xz 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.zst 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.zip |
in progress
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 16 |
1 files changed, 9 insertions, 7 deletions
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); @@ -101,6 +103,13 @@ 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 |