mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
wip: Adding weapon class and usage
This commit is contained in:
parent
87c0a8a991
commit
b0ac26a7f6
13 changed files with 82 additions and 43 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/08/18 13:05:31 by kcolin #+# #+# */
|
||||
/* Updated: 2025/09/10 15:18:58 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/10 16:00:47 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -65,23 +65,15 @@ void destroy_hud_textures(t_cub3d_data *data)
|
|||
|
||||
i = 0;
|
||||
while (i < 10)
|
||||
{
|
||||
destroy_texture(data, data->point_figures[i++]);
|
||||
}
|
||||
i = 0;
|
||||
while (i < 10)
|
||||
{
|
||||
destroy_texture(data, data->round_figures[i++]);
|
||||
}
|
||||
i = 0;
|
||||
while (i < 5)
|
||||
{
|
||||
destroy_texture(data, data->tally_marks[i++]);
|
||||
}
|
||||
i = 0;
|
||||
while (i < 3)
|
||||
{
|
||||
destroy_texture(data, data->perk_logos[i++]);
|
||||
}
|
||||
destroy_texture(data, data->gun);
|
||||
destroy_texture(data, data->player.weapon.texture);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue