aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-07 19:03:53 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-07 19:03:53 +0100
commit4218ab8ee1a50c83a60c86a454f21d43146b46a0 (patch)
treef1f1926219786626f936b6f9ceeddd4e89062d91 /inc/cub3d.h
parentRemoved one remaining POWER (diff)
download42-cub3d-4218ab8ee1a50c83a60c86a454f21d43146b46a0.tar.gz
42-cub3d-4218ab8ee1a50c83a60c86a454f21d43146b46a0.tar.bz2
42-cub3d-4218ab8ee1a50c83a60c86a454f21d43146b46a0.tar.xz
42-cub3d-4218ab8ee1a50c83a60c86a454f21d43146b46a0.tar.zst
42-cub3d-4218ab8ee1a50c83a60c86a454f21d43146b46a0.zip
The sky is nice
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 6078801..692822a 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -65,7 +65,7 @@ void ft_calc_tex(t_cub *clist);
void ft_draw_square(int a, int b, int rgb, t_cub *clist);
void ft_draw_map(char **map, t_cub *clist);
void ft_draw_texture(t_cub *cl, int x, int y, int tex_y);
-void ft_draw_hud(t_cub *clist);
+int8_t ft_draw_hud(t_cub *clist);
void ft_draw_scene(t_cub *clist);
void ft_draw_scene_bmp(t_cub *clist);
void ft_draw_sprite(t_cub *cl, int i);
@@ -130,7 +130,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, int32_t y, t_cub *cl);
+uint32_t ft_darken_rgb(t_rgb rgb, t_cub *cl);
t_bmp_rgb ft_hex_to_rgb(uint32_t color);
# endif