diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-27 13:55:24 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-27 13:55:24 +0100 |
commit | b626f171f26f709b27e790911b48f7a4272dc707 (patch) | |
tree | de04209c5ffecc5f26baac853951bc1748c925d4 /inc/cub3d_structs.h | |
parent | Ready to try traps (diff) | |
download | 42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.gz 42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.bz2 42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.xz 42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.zst 42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.zip |
In progress
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 9 |
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]; |