Date:	Monday February 16, 2004 @ 18:21
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/include
In directory swashbuckler.real-time.com:/var/tmp/cvs-serv6674/include

Modified Files:
	config.h.in proto.h 
Log Message:
add NO_DUPLICATE_HOSTS feature

****************************************

Index: Vanilla/include/config.h.in
diff -u Vanilla/include/config.h.in:1.5 Vanilla/include/config.h.in:1.6
--- Vanilla/include/config.h.in:1.5	Sun Feb 15 19:45:46 2004
+++ Vanilla/include/config.h.in	Mon Feb 16 18:21:20 2004
@@ -468,6 +468,15 @@
 				server. */
 #define PLAYER_INDEX
 
+				/* NO_DUPLICATE_HOSTS - prevents two
+				pickup players from the same host,
+				prevents a player opening an observer
+				slot, but does not prevent a player
+				slot being opened by an existing
+				observer slot.  The new client is
+				given a wait queue response of
+				MAXPLAYERS.   Requires FULL_HOSTNAMES. */
+#define NO_DUPLICATE_HOSTS
 
 #endif		/* SERVER */
 
Index: Vanilla/include/proto.h
diff -u Vanilla/include/proto.h:1.5 Vanilla/include/proto.h:1.6
--- Vanilla/include/proto.h:1.5	Sat Aug 23 01:14:19 2003
+++ Vanilla/include/proto.h	Mon Feb 16 18:21:20 2004
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.5 2003/08/23 06:14:19 cameron Exp $
+/* $Id: proto.h,v 1.6 2004/02/17 00:21:20 cameron Exp $
  *
  * Function prototypes for externally accessed functions.
  */
@@ -45,7 +45,7 @@
 void TellClient(char *typ);
 
 /* findslot.c */
-int findslot(int w_queue);
+int findslot(int w_queue, char *host);
 
 /* gencmds.c */
 char *addr_mess(int who, int type);

_______________________________________________
vanilla-devel mailing list
vanilla-devel at us.netrek.org
https://mailman.real-time.com/mailman/listinfo/vanilla-devel