From 733fd55d384eef1c89e0ad2a44beaee066182b50 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 28 Feb 2020 20:51:54 +0100 Subject: Right but not perfect --- 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 4f28a84..f534fe8 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -85,5 +85,6 @@ void ft_draw_life_bar(size_t map_w, void ft_music(t_cub *cl); void ft_draw_sprite(t_cub *cl, int i); int8_t ft_warp_level(t_cub *cl); +t_rgb ft_init_rgb(void); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 0ed8e63..26e7455 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -131,6 +131,7 @@ typedef struct s_cub { uint8_t w_side; uint8_t ishud; + uint16_t currlvl; char errmsg[40]; int32_t key_input[5]; int (*key_ptr[6])(struct s_cub*); -- cgit v1.2.3