From c51419a68e38ed3a2eb28e740f72eaa436fbd106 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 9 Mar 2020 01:52:21 +0100 Subject: Boy --- inc/cub3d.h | 3 +-- inc/cub3d_structs.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 77ade74..ba8ee89 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -137,7 +137,6 @@ 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_bmp_rgb ft_hex_to_rgb(uint32_t color); -uint32_t ft_darken_ceil(t_rgb rgb, int32_t y, t_cub *cl); -uint32_t ft_darken_floor(t_rgb rgb, int32_t y, t_cub *cl); +uint32_t ft_darken(t_rgb rgb, t_cub *cl); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index a516036..64db18c 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -203,7 +203,7 @@ typedef struct s_cub struct s_img img; struct s_rgb f_rgb; struct s_rgb c_rgb; - struct s_img tlist[7]; + struct s_img tlist[8]; struct s_sprite sp_list; } t_cub; -- cgit v1.2.3