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