aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index aaf4f55..28dfcfe 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -101,8 +101,8 @@ void ft_draw_heals(t_cub *cl, t_sprite *sprite);
void ft_calc_weaps(t_cub *cl);
void ft_draw_weapon(t_cub *cl, t_sprite *sprite);
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_macos_suffer_animation(uint16_t dmg, t_cub *cl);
+void ft_linux_suffer_animation(uint16_t dmg, t_cub *cl);
void *ft_ammo_back_thread(void *vargp);
void *ft_minimap_back_thread(void *vargp);
void *ft_map_thread(void *vargp);
@@ -277,5 +277,6 @@ int8_t ft_switch_weap_one(t_cub *cl);
int8_t ft_switch_weap_two(t_cub *cl);
int8_t ft_switch_weap_three(t_cub *cl);
void ft_shoot(t_cub *cl, uint16_t center);
+int ft_handle_keys(uint8_t i, float old_y, float old_x, t_cub *cl);
# endif