Add some unused network packets for game info transmission

This commit is contained in:
simon.kagstrom 2010-08-15 11:29:51 +00:00
parent 6b8bdfce22
commit 3c27c3b326
1 changed files with 25 additions and 0 deletions

View File

@ -84,6 +84,13 @@ struct NetworkUpdate
uint8 data[];
};
struct NetworkUpdateServerInfo
{
uint32 game_info_seq_nr;
uint32 dummy[3]; /* Future */
};
struct NetworkUpdateDisplay
{
uint8 square;
@ -120,6 +127,24 @@ struct NetworkUpdateRegisterData
uint8_t data[];
};
struct NetworkUpdateGameInfoHash
{
uint16_t hash; /* Hash by filename */
uint16_t seq_nr;
};
struct NetworkUpdateGameInfoHashList
{
uint16_t n_entries;
NetworkUpdateGameInfoHash hashes[];
};
struct NetworkUpdateGameInfoList
{
uint16_t n_entries;
uint32_t register_keys[];
};
struct NetworkUpdateSoundInfo
{
uint16 delay_cycles;