aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h4
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 65d60fa..a799404 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -300,7 +300,7 @@ enum
** ====== GAMEPLAY ======
*/
-# define FT_STRT_LIFE 250
+# define FT_STRT_LIFE 270
# define FT_TRAP_DAMAGE_AMOUNT 45
# define FT_HEAL_PACK_AMOUNT 20
# define FT_BOUNCE_FACTOR 4
@@ -310,7 +310,7 @@ enum
# define FT_WEAP_MAX_AMMO 1000
# define FT_ENMY_STRT_LIFE 10
# define FT_ENMY_SIGHT_RANGE 7.0
-# define FT_ENMY_DAMAGE_AMOUNT 40
+# define FT_ENMY_DAMAGE_AMOUNT 15
# define FT_W_ONE_DANAGE_AMOUNT 5
# define FT_W_TWO_DANAGE_AMOUNT 2
# define FT_W_THREE_DANAGE_AMOUNT 4
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 7aea071..a97ff2d 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -229,6 +229,7 @@ typedef struct s_bad_boy
int8_t life;
int8_t does;
int8_t sleep;
+ int8_t isdead;
void (*act[3])(struct s_bad_boy*, struct s_sprite*, t_map*);
} t_bad_boy;