mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
enhancement: Added a nuzzle flash for the gun
This commit is contained in:
parent
b94e722ab9
commit
c3cb34c3bb
6 changed files with 6695 additions and 8 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/08/06 11:29:14 by kcolin #+# #+# */
|
||||
/* Updated: 2025/09/10 15:58:32 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/16 14:59:49 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -66,6 +66,7 @@ void init_player(t_cub3d_data *data, t_player *player, t_mapdata *map)
|
|||
ft_bzero(player->perk_order, 3);
|
||||
ft_bzero(&player->weapon, sizeof(t_weapon));
|
||||
player->weapon.texture = load_hud_texture(data, "ressources/weapon.xpm");
|
||||
player->weapon.shoot_texture = load_hud_texture(data, "ressources/weapon_shooting.xpm");
|
||||
if (dir == 'N' || dir == 'S')
|
||||
init_lon(player, dir);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue