diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 16:24:10 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 16:24:10 +0100 |
commit | 93e9d655f14a89477e495aece6d91b07594076d8 (patch) | |
tree | e75e792139891fb6007cef8e68cd7f022672c2c0 /inc/cub3d.h | |
parent | Tab (diff) | |
download | 42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.gz 42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.bz2 42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.xz 42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.tar.zst 42-cub3d-93e9d655f14a89477e495aece6d91b07594076d8.zip |
Structs inited
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index f7b1a22..2fefabe 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -29,7 +29,7 @@ int ft_init_winptr(t_cub *clist); t_ray ft_init_s_ray(void); t_rgb ft_init_rgb(void); int8_t ft_init_map(t_map *mlist); -t_bmp ft_init_bmp(void); +void ft_init_bmp(t_bmp_file *bmp_file); /* ** ====== HOOKS ====== @@ -121,8 +121,8 @@ void ft_set_minimap_scale(t_cub *clist); void *ft_music_thread(void *vargp); void ft_detect(t_cub *cl); void ft_castray(t_cub *cl); -int8_t ft_save_to_bmp(t_bmp bmp, void *img, t_cub *cl); -int ft_error(const char *errmsg, t_cub *clist); +int8_t ft_save_to_bmp(t_bmp_file *bmp_file, void *img, t_cub *cl); +int ft_error(uint8_t retval, const char *errmsg, t_cub *clist); uint8_t ft_free_words(char **words); int8_t ft_warp_level(t_cub *cl); int ft_exit(uint8_t exit_code, t_cub *clist); |