diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-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 4532a3d..cd711ba 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -132,7 +132,7 @@ typedef struct s_player float plane_x; float plane_y; uint8_t fire; - int8_t life; + int16_t life; uint8_t has_weapon[2]; int8_t handles_weapon; } t_player; @@ -252,6 +252,7 @@ typedef struct s_cub struct s_rgb c_rgb; struct s_img tlist[20]; struct s_img tweap[4]; + struct s_img tnum[11]; struct s_sprite **sprites; struct s_sprite traps[512]; struct s_sprite heals[64]; |