mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
Added weapon hud
This commit is contained in:
parent
fe665eaa4e
commit
416b7a833d
4 changed files with 6674 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue