diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-05 13:21:22 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-05 13:21:22 +0100 |
| commit | dc81516d860885e7e6b75c4ad978a09a2efb705d (patch) | |
| tree | ba90215f2aed47f4688e8c91924e6463fca1beda /include/protocol.h | |
| parent | 812da60594a9371b6883acacfd10b6be50673b4a (diff) | |
bullet cone
Diffstat (limited to 'include/protocol.h')
| -rw-r--r-- | include/protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
