diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-04-15 23:41:51 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-04-15 23:41:51 +0300 |
commit | ba01065e0e61e3f35f31dda1824c2fd413c140ff (patch) | |
tree | 8860e9d014fec751d7d1b1ab8a42ceee26ae5be0 /src/player.h | |
parent | 27b4742f185a9780a975118093dc6fdce0575aeb (diff) |
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index 3e957e9..81b5bf4 100644 --- a/src/player.h +++ b/src/player.h @@ -8,8 +8,9 @@ typedef struct player { struct xyz pos, velocity; // vectors for the player float angle, anglesin, anglecos; // angle, and its sine and cosine size_t sector; // the sector that the player is in + bool ducking; + float stand_height, duck_height, head_margin, knee_height; // eyeheights; minimum margin between current height and celling; maximum height objects the player can walk over - bool moving, ducking; } player_t; void player_default(player_t *player); |