From dc81516d860885e7e6b75c4ad978a09a2efb705d Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 5 Nov 2023 13:21:22 +0100 Subject: bullet cone --- include/protocol.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/protocol.h') diff --git a/include/protocol.h b/include/protocol.h index 5074abd..51d6fb8 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -117,6 +117,8 @@ typedef struct t_protocol_user_look u32 id; float gunx; float guny; + float dirx; + float diry; } protocol_user_look; #include "bullets.h" @@ -159,7 +161,7 @@ network_message create_protocol_get_id_down(u32 id); network_message create_protocol_sound_list(); network_message create_protocol_user_list(); network_message create_protocol_user_moved(protocol_move_type move, u32 id); -network_message create_protocol_user_look(u32 id, float gunx, float guny); +network_message create_protocol_user_look(u32 id, float gunx, float guny, float dirx, float diry); network_message create_protocol_user_shoot(u32 id, float dirx, float diry); network_message create_protocol_user_throw(u32 id, float dirx, float diry, throwable_type type); network_message create_protocol_zombie_list(); -- cgit v1.2.3-70-g09d2