From 2c2cc12429258af73dae0978f9ebc53efae38566 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 23 Mar 2020 14:34:46 +0100 Subject: ok for now --- inc/cub3d.h | 1 + inc/cub3d_structs.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 0ca77d9..a4873bb 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -75,6 +75,7 @@ void ft_draw_square(int a, int b, int rgb, t_cub *clist); void ft_draw_map(char **map, t_cub *clist); void ft_draw_texture(t_cub *cl, int x, int y, int tex_y); int8_t ft_draw_hud(t_cub *clist); +void ft_draw_minimap_back(t_cub *cl); void ft_draw_health_caption(t_cub *cl); void ft_draw_life_bar(t_cub *cl); void ft_draw_scene(t_cub *clist); diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 380b7f4..149ac7b 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -243,6 +243,8 @@ typedef struct s_cub uint16_t life_cap_w; uint16_t life_num_h; uint16_t life_num_w; + uint16_t map_back_h; + uint16_t map_back_w; int (*key_ptr[6])(struct s_cub*); int8_t (*get_ptr[14])(char**, struct s_cub*); char ref[22][3]; -- cgit v1.2.3