From 9336d5812fc107127215bbfcf1bf86e128c9586c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sat, 7 Mar 2020 20:32:17 +0100 Subject: DIVINE INTELLECT --- inc/cub3d.h | 4 ++-- inc/cub3d_structs.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 5c37433..063b06f 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -130,8 +130,8 @@ 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); -uint32_t ft_darken_ceil(t_rgb rgb, t_cub *cl); -uint32_t ft_darken_floor(t_rgb rgb, t_cub *cl); +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); t_bmp_rgb ft_hex_to_rgb(uint32_t color); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 4638030..d392f0c 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -192,7 +192,6 @@ typedef struct s_cub struct s_rgb c_rgb; struct s_img tlist[6]; struct s_sprite sp_list; - int32_t y; } t_cub; # endif -- cgit v1.2.3