diff options
Diffstat (limited to 'include/players.h')
| -rw-r--r-- | include/players.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/players.h b/include/players.h index e51e4e2..ab8da4c 100644 --- a/include/players.h +++ b/include/players.h @@ -20,8 +20,11 @@ typedef struct t_player { float gun_height; int total_ammo; int ammo_in_mag; + float height; gun_type guntype; network_client client; // For the host: is_connected = false and socket = 0 + int kills; + u64 ping; } player; #include "protocol.h" @@ -35,7 +38,7 @@ player players[10] = {0}; int get_player_count(); player* get_player_by_id(u32 id); -void draw_players_at_tile(platform_window* window, int x, int y); +void draw_players(platform_window* window); 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); |
