feat: Added the round counter on the hud

This commit is contained in:
Theo Champion 2025-09-03 18:39:30 +02:00
parent 82d7941e81
commit f80eb125f5
24 changed files with 1217 additions and 115 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/09/03 16:31:54 by tchampio ### ########.fr */
/* Updated: 2025/09/03 18:22:15 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -32,6 +32,8 @@ typedef struct s_cub3d_data
t_img_data *img_data;
t_img_data *point_figures[10];
t_img_data *perk_logos[3];
t_img_data *tally_marks[5];
t_img_data *round_figures[10];
t_mapdata *map;
t_player player;
t_keypresses keypresses;
@ -43,6 +45,7 @@ typedef struct s_cub3d_data
double zbuffer[WIDTH];
int sprite_order[MAX_SPRITES];
double sprite_distances[MAX_SPRITES];
int round;
} t_cub3d_data;
#endif // CUB3D_DATA_H