aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 09:59:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 09:59:17 +0100
commitc1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424 (patch)
tree4d614a58567d9d7e58c53f29d2091c29c74c8075 /inc/cub3d_structs.h
parentReverted lvl_one size (diff)
download42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.gz
42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.bz2
42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.xz
42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.zst
42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.zip
Parsed traps
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 9f48975..89e531a 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -214,8 +214,8 @@ typedef struct s_cub
int32_t key_input[5];
pid_t mpid;
int (*key_ptr[6])(struct s_cub*);
- int8_t (*get_ptr[13])(char**, struct s_cub*);
- char ref[14][3];
+ int8_t (*get_ptr[14])(char**, struct s_cub*);
+ char ref[15][3];
struct s_win wlist;
struct s_player plist;
struct s_map mlist;
@@ -225,7 +225,7 @@ typedef struct s_cub
struct s_rgb c_rgb;
struct s_img tlist[16];
struct s_sprite sprites[4096];
- struct s_sprite traps[4096];
+ struct s_sprite traps[512];
} t_cub;
# endif