From b236416db21d03f7749e1c80d5b7abee70ea07d5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 11 Mar 2020 12:38:21 +0100 Subject: Pretty cool animation --- inc/cub3d.h | 1 + inc/cub3d_structs.h | 1 + 2 files changed, 2 insertions(+) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 9487883..4172c9d 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -78,6 +78,7 @@ void ft_sprite_height(t_cub *cl, t_sprite *sprite); void ft_calc_sprite(t_cub *cl); void ft_draw_sprite(t_cub *cl, t_sprite *sprite); void ft_draw_skybox(t_cub *cl); +void ft_suffer_animation(t_cub *cl); /* ** ====== PARSING ====== diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 5ba3b38..7665e96 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -120,6 +120,7 @@ typedef struct s_player float cam_x; float plane_x; float plane_y; + int8_t life; } t_player; typedef struct s_ray -- cgit v1.2.3