From 998d2df1356f83049c30f71bd5dc4c0597fd4824 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 23:55:12 +0100 Subject: Nice bmp --- inc/cub3d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index a80cfd5..732ccbe 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -31,7 +31,6 @@ t_rgb ft_init_rgb(void); int8_t ft_init_map(t_map *mlist); t_bmp_file ft_init_bmp(void); t_bmp_info ft_init_bmp_info(void); -t_bmp_colors ft_init_bmp_colors(void); /* ** ====== HOOKS ====== @@ -123,11 +122,12 @@ 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(void *img, t_cub *cl); +int8_t ft_save_to_bmp(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); uint32_t ft_rgb_to_hex(t_rgb rgb); +t_rgb ft_hex_to_rgb(int32_t color); # endif -- cgit v1.2.3