rnd-20061206-1-src
[rocksndiamonds.git] / src / network.h
1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
3 *----------------------------------------------------------*
4 * (c) 1995-2006 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * network.h                                                *
12 ***********************************************************/
13
14 #ifndef NETWORK_H
15 #define NETWORK_H
16
17 #include "main.h"
18
19 #define NETWORK_STOP_BY_PLAYER          0
20 #define NETWORK_STOP_BY_ERROR           1
21
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
33 #endif