changed network protocol version from 1.2.0 to 2.0.0
[rocksndiamonds.git] / src / netserv.h
index 5efcb80339f8055386c60f4257d0ee3efbc7ea06..463b202f0bae28324f7cf5ba0cd4070d901bf12d 100644 (file)
@@ -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
 
 #define MAX_BUFFER_SIZE                4096
 
-#if defined(TARGET_SDL)
 int NetworkServerThread(void *);
-#endif
-
 void NetworkServer(int, int);
 
 #endif