4 #define MPMESSAGES_HID "$Id$"
6 /****************************************************************
9 * Description: Each message used for multiplayer communications
10 * consists of a header and optionally a block of data. The combined
11 * header and data is sent as one IP packet.
13 ******************************************************************/
17 // Message identifiers
21 #define MAX_CALLSIGN_LEN 10
22 /** Header for use with all messages sent */
25 /** Message identifier */
28 /** Length of the message inclusive of this header */
31 /** IP address for reply to message (player's receiver address) */
32 unsigned long int lReplyAddress;
34 /** Port for replies (player's receiver port) */
35 unsigned int iReplyPort;
37 /** Callsign used by the player */
38 char sCallsign[MAX_CALLSIGN_LEN];
42 #define MAX_CHAT_MSG_LEN 50
46 /** Text of chat message */
47 char sText[MAX_CHAT_MSG_LEN];
52 #define MAX_MODEL_NAME_LEN 50
53 /** Aircraft position message */
56 /** Name of the aircraft model */
57 char sModel[MAX_MODEL_NAME_LEN];
59 /** Position data for the aircraft */