cleanup of saving high score files for single/multi-user installations
[rocksndiamonds.git] / src / network.h
index 4a47091af39ffef2a13e46da0fe204681d512b9b..23b33077f8659c4a11207cd2839cb0d01ae93e0d 100644 (file)
@@ -1,21 +1,22 @@
-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back!               *
-*----------------------------------------------------------*
-* (c) 1995-2000 Artsoft Entertainment                      *
-*               Holger Schemel                             *
-*               Detmolder Strasse 189                      *
-*               33604 Bielefeld                            *
-*               Germany                                    *
-*               e-mail: info@artsoft.org                   *
-*----------------------------------------------------------*
-* 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);