mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
dev: changed the c var in place_base_sprites to a counter in data struct
This commit is contained in:
parent
4a70e44697
commit
0d6cc4063a
2 changed files with 6 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
|
||||
/* Updated: 2025/08/11 11:59:21 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/08/14 21:36:15 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -40,6 +40,7 @@ typedef struct s_cub3d_data
|
|||
int delta;
|
||||
int last_tick;
|
||||
t_sprite **sprite_list;
|
||||
int sprite_counter;
|
||||
double zbuffer[WIDTH];
|
||||
int sprite_order[MAX_SPRITES];
|
||||
double sprite_distances[MAX_SPRITES];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue