diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 21:35:54 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 21:35:54 +0100 |
commit | d114d2571a3808eba1f0a5038ad862b790a96074 (patch) | |
tree | 8d2d4c19a2a8de61a253dc0a4fc2434a770470a6 /inc/cub3d_structs.h | |
parent | Merge branch 'better_sprites' (diff) | |
download | 42-cub3d-d114d2571a3808eba1f0a5038ad862b790a96074.tar.gz 42-cub3d-d114d2571a3808eba1f0a5038ad862b790a96074.tar.bz2 42-cub3d-d114d2571a3808eba1f0a5038ad862b790a96074.tar.xz 42-cub3d-d114d2571a3808eba1f0a5038ad862b790a96074.tar.zst 42-cub3d-d114d2571a3808eba1f0a5038ad862b790a96074.zip |
In progress
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d_structs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 66f139d..e4936eb 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -206,7 +206,9 @@ typedef struct s_map uint8_t sprite_var; int32_t sprite_order[8][4096]; int32_t traps_nbr; + int32_t heals_nbr; int32_t traps_order[512]; + int32_t heals_order[64]; size_t line_chk; size_t map_start; uint8_t isspawn; @@ -216,6 +218,7 @@ typedef struct s_map uint8_t isctex; uint8_t isskybox; uint8_t istraps; + uint8_t isheals; uint8_t darklvl; uint8_t scale; int8_t topsp; @@ -250,9 +253,10 @@ typedef struct s_cub struct s_img death_screen; struct s_rgb f_rgb; struct s_rgb c_rgb; - struct s_img tlist[17]; + struct s_img tlist[18]; struct s_sprite **sprites; struct s_sprite traps[512]; + struct s_sprite heals[64]; struct s_sfx sfx; } t_cub; |