X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fnetwork.h;h=23b33077f8659c4a11207cd2839cb0d01ae93e0d;hp=162f0f7df98d28e12fa1fd774dd61bbc44836a12;hb=89401883eeb279c7101b1c635477a9bccc123d21;hpb=19e168a132d1c0543a13cbf9495f579c137dea94 diff --git a/src/network.h b/src/network.h index 162f0f7d..23b33077 100644 --- a/src/network.h +++ b/src/network.h @@ -1,21 +1,22 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * -*----------------------------------------------------------* -* network.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// network.h +// ============================================================================ #ifndef NETWORK_H #define NETWORK_H #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 +24,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);