diff --git a/Src/Network.h b/Src/Network.h index 21ca110..da3b076 100644 --- a/Src/Network.h +++ b/Src/Network.h @@ -101,6 +101,20 @@ struct NetworkUpdatePingAck uint32 seq; }; +struct NetworkUpdateSoundInfo +{ + uint8 adr; + uint8 val; + uint8 delay_cycles; +}; + +struct NetworkUpdateSound +{ + uint16 n_items; + uint16 flags; + NetworkUpdateSoundInfo info[]; +}; + /* * Sent by the third-party broker server when someone wants to connect * to this machine. diff --git a/Src/menu.h b/Src/menu.h index 8191067..6cbb371 100644 --- a/Src/menu.h +++ b/Src/menu.h @@ -15,6 +15,8 @@ #include #include #include +#include "sysdeps.h" +#include "Network.h" #define KEY_UP 1 #define KEY_DOWN 2