X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetserv.h;h=463b202f0bae28324f7cf5ba0cd4070d901bf12d;hb=d71f1c58bdbffaeb7b778bc0fa35b46f17b4b3b7;hp=e0815bd06a1754ae20c7f52e8dd81959dc1a609e;hpb=abe44529b439ad39b4d8dbf19cbd67c9b9844279;p=rocksndiamonds.git diff --git a/src/netserv.h b/src/netserv.h index e0815bd0..463b202f 100644 --- a/src/netserv.h +++ b/src/netserv.h @@ -16,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 @@ -36,10 +36,7 @@ #define MAX_BUFFER_SIZE 4096 -#if defined(TARGET_SDL) int NetworkServerThread(void *); -#endif - void NetworkServer(int, int); #endif