aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index caf4964..836d168 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -202,15 +202,13 @@ typedef struct s_map
size_t map_w;
size_t map_h;
size_t mapl_len;
- int32_t sprite_nbr[8];
+ int32_t sprite_nbr[FT_TOTAL_SPRT];
uint8_t sprite_var;
uint8_t weapon_var;
- int32_t sprite_order[8][4096];
- int32_t st_o[8];
- int32_t traps_nbr;
+ int32_t sprite_order[FT_TOTAL_SPRT][4096];
+ int32_t st_o[FT_TOTAL_SPRT];
int32_t heals_nbr;
int32_t weaps_nbr[3];
- int32_t traps_order[512];
int32_t heals_order[64];
int32_t weaps_order[3][1];
size_t line_chk;
@@ -275,7 +273,6 @@ typedef struct s_cub
struct s_img tweap[6];
struct s_img tnum[12];
struct s_sprite **sprites;
- struct s_sprite traps[512];
struct s_sprite heals[64];
struct s_sprite **weaps;
struct s_sfx sfx[13];