aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z1r3p1.le-101.fr>2020-03-05 20:58:15 +0100
committerRudy Bousset <rbousset@z1r3p1.le-101.fr>2020-03-05 20:58:15 +0100
commitc7b399f143c5df061860c2d2b45d6855b2c12db3 (patch)
treece23620bb886058521f1d2736d655194d4884c5e /inc
parenthow (diff)
download42-cub3d-c7b399f143c5df061860c2d2b45d6855b2c12db3.tar.gz
42-cub3d-c7b399f143c5df061860c2d2b45d6855b2c12db3.tar.bz2
42-cub3d-c7b399f143c5df061860c2d2b45d6855b2c12db3.tar.xz
42-cub3d-c7b399f143c5df061860c2d2b45d6855b2c12db3.tar.zst
42-cub3d-c7b399f143c5df061860c2d2b45d6855b2c12db3.zip
cool cool
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index da57cb7..7b57942 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, t_cub *cl);
+uint32_t ft_darken_rgb(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 620e8fc..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 ceil_dist;
float x_ray_pos;
float y_ray_pos;
float x_ray_dir;