--- deliantra/server/include/config.h 2006/04/22 15:01:47 1.15 +++ deliantra/server/include/config.h 2006/12/11 19:46:46 1.22 @@ -1,9 +1,4 @@ /* - * static char *rcsid_config_h = - * "$Id$"; - */ - -/* CrossFire, A Multiplayer game for X-windows Copyright (C) 2002 Mark Wedel & Crossfire Development Team @@ -153,6 +148,7 @@ #define ARMOR_WEIGHT_LINEAR TRUE #define ARMOR_SPEED_IMPROVEMENT 10 #define ARMOR_SPEED_LINEAR TRUE +#define CREATE_HOME_PORTALS FALSE /* you can edit the ones below */ @@ -164,22 +160,16 @@ * which contains usage stats for the last X amount of time. * CS_LOGTIME is how often it will print out stats. */ -#ifndef WIN32 /* ***win32 we set the following stuff in the IDE */ #define CS_LOGSTATS -#endif -#ifdef CS_LOGSTATS #define CS_LOGTIME 600 -#endif /* DEBUG generates copious amounts of output. I tend to change the CC options * in the crosssite.def file if I want this. By default, you probably * dont want this defined. */ -#ifndef WIN32 /* ***win32 we set the following stuff in the IDE */ #ifndef DEBUG #define DEBUG #endif -#endif /* * This option creates more core files. In some areas, there are certain * checks done to try and make the program more stable (ie, check @@ -272,10 +262,7 @@ * It shouldn't hurt anyone if this is defined but you don't * have an watchdog program. */ -#ifndef WIN32 /* ***win32 disable watchdog as win32 default */ #define WATCHDOG -#endif - /* Enable the new material code - it needs some work. You can * enable this, and things will work, just you'll see a whole @@ -384,12 +371,8 @@ */ #ifndef LOGFILE -#ifdef WIN32 /* change define path */ -#define LOGFILE "var\\crossfire.log" -#else #define LOGFILE "/var/log/crossfire/logfile" #endif -#endif /* * MAP_MAXTIMEOUT tells the maximum of ticks until a map is swapped out @@ -414,9 +397,9 @@ */ /* How many ticks till maps are swapped out */ -#define MAP_MAXTIMEOUT 1000 +#define MAP_MAXTIMEOUT 300 /* At least that many ticks before swapout */ -#define MAP_MINTIMEOUT 500 +#define MAP_MINTIMEOUT 300 /* * MAP_MAXRESET is the maximum time a map can have before being reset. It @@ -434,7 +417,7 @@ /* Maximum time to reset. */ #define MAP_MAXRESET 7200 /* Default time to reset. */ -#define MAP_DEFAULTRESET 7200 +#define MAP_DEFAULTRESET 3600 /* * MAX_OBJECTS is no hard limit. If this limit is exceeded, crossfire @@ -450,7 +433,7 @@ * 25000 is about 8.5 MB */ -#define MAX_OBJECTS 200000 +#define MAX_OBJECTS 400000 /* * Max objects low water mark (lwm). If defined, the map swapping strategy @@ -533,7 +516,7 @@ * warranted. */ -#define SOCKETBUFSIZE 128*1024 +#define SOCKETBUFSIZE 256*1024 /* * Your tmp-directory should be large enough to hold the uncompressed @@ -547,11 +530,7 @@ */ /*#define TMPDIR "/home/hugin/a/crossfire/crossfire/tmp"*/ -#ifdef WIN32 /* change define path tmp */ -#define TMPDIR "tmp" -#else #define TMPDIR "/tmp" -#endif /* Directory to use for unique items. This is placed into the 'lib' @@ -581,16 +560,9 @@ * major changes to the map. */ -#ifdef WIN32 /* change define path city */ - -# define EMERGENCY_MAPPATH "\\city\\city" -# define EMERGENCY_X 15 -# define EMERGENCY_Y 19 -#else -# define EMERGENCY_MAPPATH "/city/city" -# define EMERGENCY_X 15 -# define EMERGENCY_Y 19 -#endif +#define EMERGENCY_MAPPATH "/city/city" +#define EMERGENCY_X 15 +#define EMERGENCY_Y 19 /* @@ -607,8 +579,7 @@ #define BANISHFILE "banish_file" #define MAX_ERRORS 25 /* Bail out if more are received during tick */ -#define STARTMAX 500 /* How big array of objects to start with */ -#define OBJ_EXPAND 100 /* How big steps to use when expanding array */ +#define OBJ_EXPAND 5000 /* How big steps to use when expanding array */ #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ @@ -686,7 +657,7 @@ * saves pretty well spread out (in a fairly random fashion.) */ -#define AUTOSAVE 500 +#define AUTOSAVE 1000 /* Often, emergency save fails because the memory corruption that caused * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE