diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d_defines.h | 3 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 650f1fc..d24cc8d 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -316,6 +316,9 @@ enum # define FT_ENMY_STRT_LIFE 10 # define FT_ENMY_SIGHT_RANGE 8.5 # define FT_ENMY_DAMAGE_AMOUNT 14 +# define FT_WEAP_ONE_VEL 750.0 +# define FT_WEAP_TWO_VEL 400.0 +# define FT_WEAP_THREE_VEL 1500.0 # define FT_W_ONE_DANAGE_AMOUNT 5 # define FT_W_TWO_DANAGE_AMOUNT 3 # define FT_W_THREE_DANAGE_AMOUNT 4 diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 8d22b86..4666cf9 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -133,6 +133,7 @@ typedef struct s_player uint8_t has_weapon[3]; int8_t handles_weapon; int16_t ammo[3]; + float weap_vel[3]; } t_player; typedef struct s_ray |