mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
fix: Made crosshair bigger
This commit is contained in:
parent
0e99c6da49
commit
cf3801702d
1 changed files with 6 additions and 2 deletions
|
|
@ -3,10 +3,10 @@
|
|||
/* ::: :::::::: */
|
||||
/* hud.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
|
||||
/* By: freddy <freddy@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/08 17:27:12 by tchampio #+# #+# */
|
||||
/* Updated: 2025/09/17 16:55:05 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/10/07 13:41:00 by freddy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -91,4 +91,8 @@ void create_hud(t_cub3d_data *data)
|
|||
matrix_image_put(data, data->player.weapon->texture,
|
||||
WIDTH / 2, HEIGHT - 175);
|
||||
matrix_set(data, WIDTH / 2, HEIGHT / 2, 0x0000FF00);
|
||||
matrix_set(data, WIDTH / 2 + 1, HEIGHT / 2, 0x0000FF00);
|
||||
matrix_set(data, WIDTH / 2 - 1, HEIGHT / 2, 0x0000FF00);
|
||||
matrix_set(data, WIDTH / 2, HEIGHT / 2 + 1, 0x0000FF00);
|
||||
matrix_set(data, WIDTH / 2, HEIGHT / 2 - 1, 0x0000FF00);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue