aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 16:51:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 16:51:31 +0100
commitd99126692d9eefd345b4756017f4b7fb9cd75ba7 (patch)
tree61f72fda5b99804dea1ef0ca0f7ddc6e4ec6200b /src/ft_draw_hud.c
parentAdded number images (diff)
download42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.gz
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.bz2
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.xz
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.zst
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.zip
in progress
Diffstat (limited to '')
-rw-r--r--src/ft_draw_hud.c6
1 files changed, 3 insertions, 3 deletions
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);