Add sound structures, fix build of menu.h

This commit is contained in:
simon.kagstrom 2009-11-03 17:27:21 +00:00
parent 6b27bcbb86
commit e83e24f785
2 changed files with 16 additions and 0 deletions

View File

@ -101,6 +101,20 @@ struct NetworkUpdatePingAck
uint32 seq; 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 * Sent by the third-party broker server when someone wants to connect
* to this machine. * to this machine.

View File

@ -15,6 +15,8 @@
#include <SDL.h> #include <SDL.h>
#include <SDL_ttf.h> #include <SDL_ttf.h>
#include <stdint.h> #include <stdint.h>
#include "sysdeps.h"
#include "Network.h"
#define KEY_UP 1 #define KEY_UP 1
#define KEY_DOWN 2 #define KEY_DOWN 2