aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 23:42:05 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 23:42:05 +0100
commit1e84a8792302f0446e8eb838f478b4a6564d1011 (patch)
tree1968ab8d402596dc710afa4cf70335687e64637b /inc/cub3d_structs.h
parentCleaner (diff)
download42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.gz
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.bz2
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.xz
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.zst
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.zip
I think we good
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 8c1bb70..babf3be 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -239,8 +239,10 @@ typedef struct s_cub
pthread_t mtid;
int8_t isdead;
uint8_t moves;
- uint16_t h;
- uint16_t w;
+ uint16_t life_cap_h;
+ uint16_t life_cap_w;
+ uint16_t life_num_h;
+ uint16_t life_num_w;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[14])(char**, struct s_cub*);
char ref[22][3];
@@ -252,7 +254,7 @@ typedef struct s_cub
struct s_img death_screen;
struct s_rgb f_rgb;
struct s_rgb c_rgb;
- struct s_img tlist[21];
+ struct s_img tlist[23];
struct s_img tweap[6];
struct s_img tnum[11];
struct s_sprite **sprites;