summaryrefslogtreecommitdiff
path: root/include/players.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-11-05 13:21:22 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-11-05 13:21:22 +0100
commitdc81516d860885e7e6b75c4ad978a09a2efb705d (patch)
treeba90215f2aed47f4688e8c91924e6463fca1beda /include/players.h
parent812da60594a9371b6883acacfd10b6be50673b4a (diff)
bullet cone
Diffstat (limited to 'include/players.h')
-rw-r--r--include/players.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/players.h b/include/players.h
index d34f83a..1ef7d28 100644
--- a/include/players.h
+++ b/include/players.h
@@ -39,6 +39,8 @@ typedef struct t_player {
float playery;
float gunx;
float guny;
+ float dirx;
+ float diry;
float gun_height;
player_direction direction;
int total_ammo;
@@ -49,7 +51,6 @@ typedef struct t_player {
int kills;
u64 ping;
sprite sprite;
- vec3f velocity;
network_state connection_state;
struct {
int grenades;