1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
7 // http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
17 #define NETWORK_STOP_BY_PLAYER 0
18 #define NETWORK_STOP_BY_ERROR 1
20 char *getNetworkPlayerName(int);
22 boolean ConnectToServer(char *, int);
23 void SendToServer_PlayerName(char *);
24 void SendToServer_ProtocolVersion(void);
25 void SendToServer_NrWanted(int);
26 void SendToServer_StartPlaying(void);
27 void SendToServer_PausePlaying(void);
28 void SendToServer_ContinuePlaying(void);
29 void SendToServer_StopPlaying(int);
30 void SendToServer_MovePlayer(byte);
31 void HandleNetworking(void);
32 void DisconnectFromNetworkServer(void);