aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
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 /src/ft_draw_hud.c
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 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index f807714..fe73af8 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -10,6 +10,7 @@
/* */
/* ************************************************************************** */
+#include <libft.h>
#include <cub3d.h>
#include <mlx.h>
#include <stdint.h>
@@ -43,10 +44,11 @@ static void
}
}
-void
+int8_t
ft_draw_hud(t_cub *clist)
{
ft_draw_minimap_back(clist->mlist.map_h,
clist->mlist.map_w, &clist->wlist, clist);
ft_draw_map(clist->mlist.map, clist);
+ return (0);
}