mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
feat: Added the round counter on the hud
This commit is contained in:
parent
82d7941e81
commit
f80eb125f5
24 changed files with 1217 additions and 115 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue