diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-14 00:04:20 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-14 00:04:20 +0100 |
| commit | 99f328fa19bb9cb266d9525629813cc0268a889e (patch) | |
| tree | 514d5eb5fe51afc5f19bb3acf240a425239eba2a /include/players.h | |
| parent | f8ccfba637267bae8064daa320cfb00b8ffe3e66 (diff) | |
bullets network transfer
Diffstat (limited to 'include/players.h')
| -rw-r--r-- | include/players.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/players.h b/include/players.h index 6d401c4..4e148c9 100644 --- a/include/players.h +++ b/include/players.h @@ -7,6 +7,7 @@ #include "objects.h" #include "zombies.h" #include "math_helper.h" +#include "guns.h" typedef struct t_player { int id; @@ -17,6 +18,7 @@ typedef struct t_player { float gunx; float guny; float gun_height; + gun_type guntype; } player; #include "protocol.h" @@ -32,5 +34,6 @@ void draw_bullets(platform_window* window); object check_if_player_collided_with_object(platform_window* window, player p); float get_player_size(platform_window* window); void move_user(platform_window* window, u32 id, protocol_move_type move); +void update_players_server(); #endif
\ No newline at end of file |
