Date: Sunday February 15, 2004 @ 19:45 Author: cameron Update of /home/netrek/cvsroot/Vanilla/include In directory swashbuckler.real-time.com:/var/tmp/cvs-serv6142/include Modified Files: config.h.in data.h defs.h patchlevel.h sysdefaults.h Log Message: add player file index support **************************************** Index: Vanilla/include/config.h.in diff -u Vanilla/include/config.h.in:1.4 Vanilla/include/config.h.in:1.5 --- Vanilla/include/config.h.in:1.4 Mon Jul 7 17:19:55 2003 +++ Vanilla/include/config.h.in Sun Feb 15 19:45:46 2004 @@ -459,6 +459,16 @@ active. */ #undef NO_BEAM_DOWN_OUT_OF_T_MODE + /* PLAYER_INDEX - create and maintain + an index of the player database, to + reduce time to log in for servers with + large or untrimmed player databases, + requires libgdbm, and indexes only + characters who return to the + server. */ +#define PLAYER_INDEX + + #endif /* SERVER */ Index: Vanilla/include/data.h diff -u Vanilla/include/data.h:1.3 Vanilla/include/data.h:1.4 --- Vanilla/include/data.h:1.3 Mon Jul 7 17:19:55 2003 +++ Vanilla/include/data.h Sun Feb 15 19:45:47 2004 @@ -1,4 +1,4 @@ -/* $Id: data.h,v 1.3 2003/07/07 22:19:55 ahn Exp $ +/* $Id: data.h,v 1.4 2004/02/16 01:45:47 cameron Exp $ */ #ifndef _h_data @@ -258,6 +258,7 @@ extern char Robot[FNAMESIZE]; extern char LogFileName[FNAMESIZE]; extern char PlayerFile[FNAMESIZE]; +extern char PlayerIndexFile[FNAMESIZE]; extern char ConqFile[FNAMESIZE]; extern char SysDef_File[FNAMESIZE]; extern char Time_File[FNAMESIZE]; Index: Vanilla/include/defs.h diff -u Vanilla/include/defs.h:1.3 Vanilla/include/defs.h:1.4 --- Vanilla/include/defs.h:1.3 Wed Jan 7 20:42:20 2004 +++ Vanilla/include/defs.h Sun Feb 15 19:45:47 2004 @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.3 2004/01/08 02:42:20 unbelver Exp $ +/* $Id: defs.h,v 1.4 2004/02/16 01:45:47 cameron Exp $ */ #ifndef _h_defs @@ -207,6 +207,7 @@ #define N_ROBOT "robotII" #define N_LOGFILENAME "logfile" #define N_PLAYERFILE ".players" +#define N_PLAYERINDEXFILE ".players.index" #define N_CONQFILE ".conquer" #define N_SYSDEF_FILE ".sysdef" #define N_TIME_FILE ".time" Index: Vanilla/include/patchlevel.h diff -u Vanilla/include/patchlevel.h:1.1 Vanilla/include/patchlevel.h:1.2 --- Vanilla/include/patchlevel.h:1.1 Tue May 1 21:00:19 2001 +++ Vanilla/include/patchlevel.h Sun Feb 15 19:45:47 2004 @@ -12,7 +12,7 @@ * (a) reset this to zero before each major release, and; * (b) increment this number before each patch release. */ -#define PATCHLEVEL 8 +#define PATCHLEVEL 9 #if !defined(NULL) #define NULL 0 #endif Index: Vanilla/include/sysdefaults.h diff -u Vanilla/include/sysdefaults.h:1.3 Vanilla/include/sysdefaults.h:1.4 --- Vanilla/include/sysdefaults.h:1.3 Mon Jul 7 17:19:55 2003 +++ Vanilla/include/sysdefaults.h Sun Feb 15 19:45:47 2004 @@ -1,4 +1,4 @@ -/* $Id: sysdefaults.h,v 1.3 2003/07/07 22:19:55 ahn Exp $ */ +/* $Id: sysdefaults.h,v 1.4 2004/02/16 01:45:47 cameron Exp $ */ /* structure for default values that are represented as array of flags */ struct sysdef_array { @@ -202,11 +202,11 @@ /* Procedure for adding new default value. -James Cameron, 28th February 2000. +James Cameron, 14th February 2004. - add to ntserv/data.c -- add to ntserv/data.h -- add to sysdef_keywords in ntserv/sysdefaults.h, in any order, prefer end +- add to include/data.h +- add to sysdef_keywords in include/sysdefaults.h, in any order, prefer end - add to docs/sample_sysdef with comment about value meanings - use glade (http://glade.pn.org/) to add to gum/gum.xml and regenerate code - leave a comment here if your defaults have not been added to gum _______________________________________________ vanilla-devel mailing list vanilla-devel at us.netrek.org https://mailman.real-time.com/mailman/listinfo/vanilla-devel