diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 18:45:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 18:45:25 +0200 |
commit | c12dc3125cda5599fcbadfe2492ef0015e8093f2 (patch) | |
tree | 90edcf38579ef621f75768c5ffecb4062a28257d /inc | |
parent | Alright sounds (diff) | |
download | 42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.gz 42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.bz2 42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.xz 42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.zst 42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.zip |
Better sound balance, now hardgimping
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d_defines.h | 4 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
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; |