aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index f1dfdfc..20b64b5 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -179,6 +179,7 @@ typedef struct s_map
size_t map_h;
size_t mapl_len;
int32_t sprite_nbr;
+ uint8_t sprite_var;
int32_t sprite_order[12];
size_t line_chk;
size_t map_start;
@@ -219,7 +220,7 @@ typedef struct s_cub
struct s_rgb f_rgb;
struct s_rgb c_rgb;
struct s_img tlist[8];
- struct s_sprite sprites[4096];
+ struct s_sprite sprites[12][12];
} t_cub;
# endif