X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetwork.h;h=569ad5bba499dc01da311d185a5b0e46e8ecb9dc;hb=1e422c29292f0583391b0ce9e9c872b38f035ac0;hp=9bd89c707a4d9f55b9e814e9b0e63d737489ce98;hpb=681721dddc91bcdaef50002d1e861cc8d484e938;p=rocksndiamonds.git diff --git a/src/network.h b/src/network.h index 9bd89c70..569ad5bb 100644 --- a/src/network.h +++ b/src/network.h @@ -1,7 +1,7 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-2001 Artsoft Entertainment * +* (c) 1995-2006 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -16,6 +16,9 @@ #include "main.h" +#define NETWORK_STOP_BY_PLAYER 0 +#define NETWORK_STOP_BY_ERROR 1 + boolean ConnectToServer(char *, int); void SendToServer_PlayerName(char *); void SendToServer_ProtocolVersion(void); @@ -23,7 +26,7 @@ void SendToServer_NrWanted(int); void SendToServer_StartPlaying(void); void SendToServer_PausePlaying(void); void SendToServer_ContinuePlaying(void); -void SendToServer_StopPlaying(void); +void SendToServer_StopPlaying(int); void SendToServer_MovePlayer(byte); void HandleNetworking(void);