X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetserv.h;h=463b202f0bae28324f7cf5ba0cd4070d901bf12d;hb=d71f1c58bdbffaeb7b778bc0fa35b46f17b4b3b7;hp=e3c20b72d397edf74ad06f9b39db78f64a838c9d;hpb=c9433eab5c4317ed4f89164b386a7d33562e29be;p=rocksndiamonds.git diff --git a/src/netserv.h b/src/netserv.h index e3c20b72..463b202f 100644 --- a/src/netserv.h +++ b/src/netserv.h @@ -1,15 +1,13 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-2002 Artsoft Entertainment * -* Holger Schemel * -* Detmolder Strasse 189 * -* 33604 Bielefeld * -* Germany * -* e-mail: info@artsoft.org * -*----------------------------------------------------------* -* netserv.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// netserv.h +// ============================================================================ #ifndef NETSERV_H #define NETSERV_H @@ -18,8 +16,8 @@ #define DEFAULT_SERVER_PORT 19504 -#define PROTOCOL_VERSION_1 1 -#define PROTOCOL_VERSION_2 2 +#define PROTOCOL_VERSION_1 2 +#define PROTOCOL_VERSION_2 0 #define PROTOCOL_VERSION_3 0 #define OP_PROTOCOL_VERSION 1 @@ -33,11 +31,12 @@ #define OP_PAUSE_PLAYING 9 #define OP_CONTINUE_PLAYING 10 #define OP_STOP_PLAYING 11 -#define OP_MOVE_FIGURE 12 +#define OP_MOVE_PLAYER 12 #define OP_BROADCAST_MESSAGE 13 #define MAX_BUFFER_SIZE 4096 +int NetworkServerThread(void *); void NetworkServer(int, int); #endif