aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 01:52:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 01:52:21 +0100
commitc51419a68e38ed3a2eb28e740f72eaa436fbd106 (patch)
tree4cafa4ee075be34b32132c54fdda87c7ec996695 /inc
parentNigga my gun go off (diff)
download42-cub3d-c51419a68e38ed3a2eb28e740f72eaa436fbd106.tar.gz
42-cub3d-c51419a68e38ed3a2eb28e740f72eaa436fbd106.tar.bz2
42-cub3d-c51419a68e38ed3a2eb28e740f72eaa436fbd106.tar.xz
42-cub3d-c51419a68e38ed3a2eb28e740f72eaa436fbd106.tar.zst
42-cub3d-c51419a68e38ed3a2eb28e740f72eaa436fbd106.zip
Boy
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h3
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 2 insertions, 3 deletions
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;