Added weapon hud

This commit is contained in:
Theo Champion 2025-09-08 10:36:52 +02:00
parent fe665eaa4e
commit 416b7a833d
4 changed files with 6674 additions and 3 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */
/* Updated: 2025/09/03 18:31:54 by tchampio ### ########.fr */
/* Updated: 2025/09/05 20:25:30 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -102,6 +102,7 @@ void create_hud(t_cub3d_data *data)
// draw round
draw_round(data);
// draw weapon
matrix_image_put(data, data->gun, WIDTH / 2, HEIGHT - 175);
// draw map
}