aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_defines.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index bb66ab1..f392354 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -248,6 +248,7 @@ void ft_bb_wait(t_bad_boy *bl, t_sprite *sl, t_map *ml);
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);
/*
** ====== DELETION ======
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 19caf31..42a74b2 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -303,9 +303,12 @@ enum
# define FT_WEAP_TWO_STRT_AMMO 30
# define FT_WEAP_THREE_STRT_AMMO 24
# define FT_WEAP_MAX_AMMO 1000
-# define FT_ENMY_STRT_LIFE 3
+# define FT_ENMY_STRT_LIFE 15
# define FT_ENMY_SIGHT_RANGE 7.0
# define FT_ENMY_DAMAGE_AMOUNT 54
+# define FT_W_ONE_DANAGE_AMOUNT 2
+# define FT_W_TWO_DANAGE_AMOUNT 1
+# define FT_W_THREE_DANAGE_AMOUNT 3
/*
** ====== OTHER ======