From d99126692d9eefd345b4756017f4b7fb9cd75ba7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 20 Mar 2020 16:51:31 +0100 Subject: in progress --- src/ft_draw_hud.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ft_draw_hud.c') diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index 03e6d14..31d5021 100644 --- a/src/ft_draw_hud.c +++ b/src/ft_draw_hud.c @@ -45,7 +45,7 @@ static void x = 0; cl->tlist[16].tex_y = (y * y_ratio) >> 16; while (x < (uint16_t)((cl->mlist.map_w - * cl->mlist.scale) + 20 + (3 * cl->mlist.scale))) + * cl->mlist.scale) + 20 + (27 * cl->mlist.scale))) { cl->tlist[16].tex_x = (x * x_ratio) >> 16; ft_put_image_back_to_ptr(y, x, cl); @@ -64,7 +64,7 @@ static void x = 0; y = wl->y_size - (map_h * scl) - 20; - while (x < (map_w * scl) + 20 + (3 * scl)) + while (x < (map_w * scl) + 20 + (27 * scl)) { while (y < wl->y_size) y++; @@ -107,7 +107,7 @@ int8_t ft_draw_minimap_back(clist->mlist.map_h, clist->mlist.map_w, &clist->wlist, clist); ft_draw_map(clist->mlist.map, clist); - /* ft_draw_life_bar(&clist->wlist, clist); */ + ft_draw_life_bar(&clist->wlist, clist); if (clist->mlist.isnlvl) { ft_draw_stage_back(clist); -- cgit v1.2.3