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.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 28dfcfe..bb66ab1 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -247,6 +247,7 @@ void ft_select_bad_boy_action(t_cub *cl);
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);
/*
** ====== DELETION ======
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 4cb67ea..19caf31 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -110,7 +110,7 @@ enum
# define FT_SFX_W_THREE_FIRE_PATH "./media/sound/sfx/double_b_fire.wav"
# define FT_SFX_OOA_PATH "./media/sound/sfx/ooa.wav"
# define FT_DEATH_SCREEN_PATH "./media/img/screens/death_screen.xpm"
-# define FT_HUD_BACK_PATH "./media/img/hud/hud_back.xpm"
+# define FT_HUD_BACK_PATH "./media/img/hud/hud_back_small.xpm"
# define FT_WEAPON_ONE_SPR_PATH "./media/img/weapons/sword_s.xpm"
# define FT_WEAPON_TWO_SPR_PATH "./media/img/weapons/colt_s.xpm"
# define FT_WEAPON_THREE_SPR_PATH "./media/img/weapons/double_b_s.xpm"
@@ -303,6 +303,7 @@ 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_SIGHT_RANGE 7.0
# define FT_ENMY_DAMAGE_AMOUNT 54