aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 20:12:04 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 20:12:04 +0100
commitb2745bb20e4748dc102b04daac4bab9fb4c6a76c (patch)
tree97da594cbd49cc8ea52949a1d1381a79a0763f11 /src/ft_draw_hud.c
parentNew file for HUD (diff)
download42-cub3d-b2745bb20e4748dc102b04daac4bab9fb4c6a76c.tar.gz
42-cub3d-b2745bb20e4748dc102b04daac4bab9fb4c6a76c.tar.bz2
42-cub3d-b2745bb20e4748dc102b04daac4bab9fb4c6a76c.tar.xz
42-cub3d-b2745bb20e4748dc102b04daac4bab9fb4c6a76c.tar.zst
42-cub3d-b2745bb20e4748dc102b04daac4bab9fb4c6a76c.zip
Drawing some HUD
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index 6c05f31..1564e2e 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -10,4 +10,17 @@
/* */
/* ************************************************************************** */
+#include <cub3d.h>
+#include <mlx.h>
+static void
+ft_draw_hud_back(t_win *wl, t_cub *cl)
+{
+}
+
+void
+ ft_draw_hud(t_cub *clist)
+{
+ ft_draw_hud_back(clist->wlist, clist);
+ ft_draw_map(clist->mlist->map, clist);
+}