aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index d86cf74..bfc0299 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -255,6 +255,7 @@ void ft_bb_walk(t_bad_boy *bl, t_sprite *sl, t_map *ml);
void ft_bb_fire(t_bad_boy *bl, t_sprite *sl, t_map *ml);
void ft_check_bad_boy_shoot(t_cub *cl);
void ft_damage_bad_boy(t_cub *cl);
+int8_t ft_can_it_shoot(int8_t id, double d, t_cub *cl);
/*
** ====== DELETION ======
@@ -284,7 +285,7 @@ void ft_find_item(t_player *pl, t_map *ml, t_cub *cl);
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);
+void ft_shoot(t_cub *cl);
int ft_handle_keys(uint8_t i, float old_y, float old_x, t_cub *cl);
# endif