From 7d87e8e3e9eccbb3ae351f3218276b2dae506665 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 28 Oct 2023 14:50:52 +0200 Subject: fix issue with sprites --- src/protocol.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/protocol.c') diff --git a/src/protocol.c b/src/protocol.c index e0af132..307aac3 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -19,6 +19,14 @@ network_message create_protocol_get_id_down(u32 id) return network_create_message((u8*)buf, sizeof(protocol_get_id_downstream), MAX_NETWORK_BUFFER_SIZE); } +network_message create_protocol_sound_list() +{ + protocol_sound_list *buf = alloc_network_message(protocol_sound_list); + buf->type = MESSAGE_SOUND_LIST; + memcpy(buf->audio_events, audio_events, sizeof(audio_events)); + return network_create_message((u8*)buf, sizeof(protocol_sound_list), MAX_NETWORK_BUFFER_SIZE); +} + network_message create_protocol_user_list() { protocol_user_list *buf = alloc_network_message(protocol_user_list); -- cgit v1.2.3-70-g09d2