diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-06 14:29:47 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-06 14:29:47 +0200 |
commit | db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26 (patch) | |
tree | 23419411132e5ee23cf247716de11baed5954a1f /inc/cub3d_structs.h | |
parent | I think it's fixed (diff) | |
download | 42-cub3d-db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26.tar.gz 42-cub3d-db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26.tar.bz2 42-cub3d-db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26.tar.xz 42-cub3d-db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26.tar.zst 42-cub3d-db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26.zip |
Weapons have different velocities
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |