mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
feat: Added an aiming point in the hud
This commit is contained in:
parent
37bb56733e
commit
b94e722ab9
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/08 17:27:12 by tchampio #+# #+# */
|
||||
/* Updated: 2025/09/15 13:06:07 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/16 11:28:56 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -86,4 +86,5 @@ void create_hud(t_cub3d_data *data)
|
|||
draw_round(data);
|
||||
matrix_image_put(data, data->player.weapon.texture,
|
||||
WIDTH / 2, HEIGHT - 175);
|
||||
matrix_set(data, WIDTH / 2, HEIGHT / 2, 0x0000FF00);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue