aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-21 15:57:16 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-21 15:57:16 +0100
commit19cbf943e0e44a263d31b28ad44788e38a353f9b (patch)
treeea0d03d5abcb1c249d25815e5ab3e746dfe815ef /inc
parentBetter bounce (diff)
download42-cub3d-19cbf943e0e44a263d31b28ad44788e38a353f9b.tar.gz
42-cub3d-19cbf943e0e44a263d31b28ad44788e38a353f9b.tar.bz2
42-cub3d-19cbf943e0e44a263d31b28ad44788e38a353f9b.tar.xz
42-cub3d-19cbf943e0e44a263d31b28ad44788e38a353f9b.tar.zst
42-cub3d-19cbf943e0e44a263d31b28ad44788e38a353f9b.zip
I'm not far
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index ee2da75..2c25857 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -73,6 +73,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_life_bar(t_cub *cl);
void ft_draw_scene(t_cub *clist);
void ft_draw_scene_bmp(t_cub *clist);
void ft_draw_circle(float a, float b,
@@ -93,7 +94,6 @@ void ft_draw_skybox(t_cub *cl);
void ft_draw_handweap(t_cub *cl);
void ft_macos_suffer_animation(t_cub *cl);
void ft_linux_suffer_animation(t_cub *cl);
-void ft_draw_life_bar(t_cub *cl);
/*
** ====== PARSING ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index f538c7e..44b8827 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -216,7 +216,7 @@ typedef struct s_map
uint8_t isheals;
uint8_t isweapon[2];
uint8_t darklvl;
- uint8_t scale;
+ uint16_t scale;
int8_t topsp;
uint32_t nlx;
uint32_t nly;