diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-14 17:08:23 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-14 17:08:23 +0100 |
| commit | ee4906ef5fc89f3f10cd6aaf95845a0ae9b2f47e (patch) | |
| tree | 83abd90aca3de2f6bceac8ef742e6c5eb0688bb2 /include/players.h | |
| parent | 99f328fa19bb9cb266d9525629813cc0268a889e (diff) | |
render order fix for bullets, ammo implementation
Diffstat (limited to 'include/players.h')
| -rw-r--r-- | include/players.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/players.h b/include/players.h index 4e148c9..258a1fb 100644 --- a/include/players.h +++ b/include/players.h @@ -18,12 +18,16 @@ typedef struct t_player { float gunx; float guny; float gun_height; + int total_ammo; + int ammo_in_mag; gun_type guntype; } player; #include "protocol.h" -u32 my_id = 1; +u32 my_id = -1; + +camera _next_camera_pos; int max_players = 10; player players[10] = {0}; |
