From 8c086739e1344fb8789e89074dd962c5719ab030 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 15 Dec 2022 14:54:55 +0100 Subject: local session id generation, bullet icon drop, refactor --- include/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/protocol.h') diff --git a/include/protocol.h b/include/protocol.h index aec65b4..f02e873 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -30,6 +30,7 @@ typedef struct t_protocol_generic_message typedef struct t_protocol_get_id_upstream { network_message_type type; + u32 id; } protocol_get_id_upstream; typedef struct t_protocol_get_id_downstream @@ -91,7 +92,7 @@ typedef struct t_protocol_user_shoot #define MAX_NETWORK_BUFFER_SIZE 50000 u8 network_buffer[50000]; -network_message create_protocol_get_id_up(); +network_message create_protocol_get_id_up(u32 id); network_message create_protocol_get_id_down(u32 id); network_message create_protocol_user_list(); network_message create_protocol_user_moved(protocol_move_type move, u32 id); -- cgit v1.2.3-70-g09d2