From f7d46aaefc0b7a88cbadfcb83a3e7dbb63f88a26 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 5 Mar 2020 19:27:36 +0100 Subject: DARK --- inc/cub3d.h | 2 +- inc/cub3d_structs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 87444aa..da57cb7 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -128,7 +128,7 @@ 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_rgb(t_rgb rgb); +uint32_t ft_darken_rgb(t_rgb rgb, 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 ab99f7b..c74a9e0 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -120,7 +120,6 @@ typedef struct s_ray { uint16_t line_h; float wall_dist; - float mid_dist; float x_ray_pos; float y_ray_pos; float x_ray_dir; -- cgit v1.2.3