Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Sunday June 6, 1999 @ 17:38
Author:	jeffno

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv5325/Vanilla/ntserv

Modified Files:
	data.c data.h defs.h getpath.c sysdefaults.h 
Log Message:
Add a sysdef option to record an INL game server side with
CamBot.

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

Index: Vanilla/ntserv/data.c
diff -u Vanilla/ntserv/data.c:1.8 Vanilla/ntserv/data.c:1.9
--- Vanilla/ntserv/data.c:1.8	Fri Apr 30 15:18:42 1999
+++ Vanilla/ntserv/data.c	Sun Jun  6 17:38:24 1999
@@ -1,4 +1,4 @@
-/* $Id: data.c,v 1.8 1999/04/30 20:18:42 ahn Exp $
+/* $Id: data.c,v 1.9 1999/06/06 22:38:24 jeffno Exp $
  */
 
 #include "../ntserv/copyright.h"
@@ -268,6 +268,7 @@
 #endif
 char Puck[FNAMESIZE];
 char Inl[FNAMESIZE];
+int inl_record = 0;
 
 char Access_File[FNAMESIZE];
 char NoCount_File[FNAMESIZE];
@@ -283,6 +284,9 @@
 
 #ifdef RCD
 int num_distress;
+
+char Cambot[FNAMESIZE];
+char Cambot_out[FNAMESIZE];
 
 /* the following copied out of BRM data.c */
 
Index: Vanilla/ntserv/data.h
diff -u Vanilla/ntserv/data.h:1.6 Vanilla/ntserv/data.h:1.7
--- Vanilla/ntserv/data.h:1.6	Fri Apr 30 15:18:42 1999
+++ Vanilla/ntserv/data.h	Sun Jun  6 17:38:24 1999
@@ -1,4 +1,4 @@
-/* $Id: data.h,v 1.6 1999/04/30 20:18:42 ahn Exp $
+/* $Id: data.h,v 1.7 1999/06/06 22:38:24 jeffno Exp $
  */
 
 #ifndef _h_data
@@ -289,6 +289,7 @@
 #endif
 extern char Puck[FNAMESIZE];
 extern char Inl[FNAMESIZE];
+extern int inl_record;
 
 extern char Access_File[FNAMESIZE];
 extern char NoCount_File[FNAMESIZE];
@@ -315,5 +316,8 @@
 
 extern int F_ship_cap;
 extern int sent_ship[];
+
+extern char Cambot[FNAMESIZE];
+extern char Cambot_out[FNAMESIZE];
 
 #endif /* _h_data */
Index: Vanilla/ntserv/defs.h
diff -u Vanilla/ntserv/defs.h:1.7 Vanilla/ntserv/defs.h:1.8
--- Vanilla/ntserv/defs.h:1.7	Fri May 28 08:35:06 1999
+++ Vanilla/ntserv/defs.h	Sun Jun  6 17:38:25 1999
@@ -1,4 +1,4 @@
-/* $Id: defs.h,v 1.7 1999/05/28 13:35:06 cameron Exp $
+/* $Id: defs.h,v 1.8 1999/06/06 22:38:25 jeffno Exp $
  */
 
 #ifndef _h_defs
@@ -248,6 +248,9 @@
 
 #define N_INL		"inl"
 #define INL_ROBOT	4
+
+#define N_CAMBOT	"cambot"
+#define N_CAMBOT_OUT	"cambot.pkt"
 
 /* Other stuff that Ed added */
 
Index: Vanilla/ntserv/getpath.c
diff -u Vanilla/ntserv/getpath.c:1.2 Vanilla/ntserv/getpath.c:1.3
--- Vanilla/ntserv/getpath.c:1.2	Fri Apr 30 15:18:44 1999
+++ Vanilla/ntserv/getpath.c	Sun Jun  6 17:38:25 1999
@@ -93,4 +93,7 @@
    sprintf(NoCount_File,"%s/%s",path,N_NOCOUNT_FILE);
    sprintf(Prog,"%s/%s",path,N_PROG);
    sprintf(LogFile,"%s/%s",path,N_LOGFILE);
+
+   sprintf(Cambot,"%s/%s",path,N_CAMBOT);
+   sprintf(Cambot_out,"%s/%s",path,N_CAMBOT_OUT);
 }
Index: Vanilla/ntserv/sysdefaults.h
diff -u Vanilla/ntserv/sysdefaults.h:1.6 Vanilla/ntserv/sysdefaults.h:1.7
--- Vanilla/ntserv/sysdefaults.h:1.6	Tue Feb 16 18:59:06 1999
+++ Vanilla/ntserv/sysdefaults.h	Sun Jun  6 17:38:25 1999
@@ -1,4 +1,4 @@
-/* 	$Id: sysdefaults.h,v 1.6 1999/02/17 00:59:06 cameron Exp $	 */
+/* 	$Id: sysdefaults.h,v 1.7 1999/06/06 22:38:25 jeffno Exp $	 */
 
 /* structure for default values that are represented as array of flags */
 struct sysdef_array {
@@ -154,6 +154,8 @@
     "Enable Puck (hockey) robot on startup" },
   { "INL",		SYSDEF_ROBOT,	(void *) INL_ROBOT,
     "Enable INL (league) robot on startup" },
+  { "INL_RECORD",	SYSDEF_INT,	&inl_record,
+    "Record INL games server side with CamBot" },
 #ifdef DOGFIGHT
   { "DOGFIGHT",		SYSDEF_ROBOT,	(void *) MARS_ROBOT,
     "Enable Mars (dogfight) robot on startup" },