wip: Adding weapon class and usage

This commit is contained in:
Theo Champion 2025-09-11 23:41:00 +02:00
parent 87c0a8a991
commit b0ac26a7f6
13 changed files with 82 additions and 43 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/09/10 14:56:37 by tchampio ### ########.fr */
/* Updated: 2025/09/10 15:58:56 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,9 +16,9 @@
# include "map/mapdata.h"
# include "draw/img_data.h"
# include "sprites/sprite.h"
# include "player/player.h"
# include "utils/keypresses.h"
# include "consts.h"
# include "player/player.h"
// the 4 static sprites are some of the perks and the mystery box
typedef struct s_cub3d_data
@ -35,7 +35,6 @@ typedef struct s_cub3d_data
t_img_data *perk_logos[3];
t_img_data *tally_marks[5];
t_img_data *round_figures[10];
t_img_data *gun;
t_mapdata *map;
t_player player;
t_keypresses keypresses;