From 1e84a8792302f0446e8eb838f478b4a6564d1011 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 23:42:05 +0100 Subject: I think we good --- inc/cub3d_structs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'inc/cub3d_structs.h') 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; -- cgit v1.2.3