diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-03-09 21:03:16 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-03-09 21:03:16 +0100 |
commit | 02955219fd0a1bd42e3009f77911f5f258d59d34 (patch) | |
tree | f7e3921630702db9aa3465e17e7cb3837d3a38e4 /inc | |
parent | gang_2 (diff) | |
download | 42-cub3d-02955219fd0a1bd42e3009f77911f5f258d59d34.tar.gz 42-cub3d-02955219fd0a1bd42e3009f77911f5f258d59d34.tar.bz2 42-cub3d-02955219fd0a1bd42e3009f77911f5f258d59d34.tar.xz 42-cub3d-02955219fd0a1bd42e3009f77911f5f258d59d34.tar.zst 42-cub3d-02955219fd0a1bd42e3009f77911f5f258d59d34.zip |
get next sprite
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d_structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index d650110..13f81fa 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -177,6 +177,7 @@ typedef struct s_map size_t map_w; size_t map_h; size_t mapl_len; + uint8_t sprite_var; int32_t sprite_nbr; int32_t sprite_order[12]; size_t line_chk; @@ -217,7 +218,7 @@ typedef struct s_cub struct s_rgb f_rgb; struct s_rgb c_rgb; struct s_img tlist[8]; - struct s_sprite sprites[12]; + struct s_sprite sprites[12][12]; } t_cub; # endif |