aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 14:29:18 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 14:29:18 +0200
commit137397e014be24d48ccc60e36af21ffc25229b77 (patch)
tree4cc7e8a39c7b92756efceea8ea155d5de29317f3 /inc
parentNigga ain't gonna stop shootin me (diff)
download42-cub3d-137397e014be24d48ccc60e36af21ffc25229b77.tar.gz
42-cub3d-137397e014be24d48ccc60e36af21ffc25229b77.tar.bz2
42-cub3d-137397e014be24d48ccc60e36af21ffc25229b77.tar.xz
42-cub3d-137397e014be24d48ccc60e36af21ffc25229b77.tar.zst
42-cub3d-137397e014be24d48ccc60e36af21ffc25229b77.zip
Fixed that gangsta
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