version 1.16 | | version 1.17 |
---|
| | |
/* | | /* |
* static char *rcsid_config_h = | | * static char *rcsid_config_h = |
* "$Id: config.h,v 1.16 2001/03/20 07:07:47 mwedel Exp $"; | | * "$Id: config.h,v 1.17 2001/04/06 00:41:39 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* which contains usage stats for the last X amount of time. | | * which contains usage stats for the last X amount of time. |
* CS_LOGTIME is how often it will print out stats. | | * CS_LOGTIME is how often it will print out stats. |
*/ | | */ |
| | #ifndef WIN32 // ***win32 we set the following stuff in the IDE |
#define CS_LOGSTATS | | #define CS_LOGSTATS |
| | #endif |
| | #ifdef CS_LOGSTATS |
#define CS_LOGTIME 600 | | #define CS_LOGTIME 600 |
| | #endif |
| | |
/* DEBUG generates copious amounts of output. I tend to change the CC options | | /* 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 | | * in the crosssite.def file if I want this. By default, you probably |
* dont want this defined. | | * dont want this defined. |
*/ | | */ |
| | #ifndef WIN32 // ***win32 we set the following stuff in the IDE |
#ifndef DEBUG | | #ifndef DEBUG |
#define DEBUG | | #define DEBUG |
#endif | | #endif |
| | #endif |
| | |
| | |
/* if EXPLORE_MODE is defined, it allows players to enter explore mode, | | /* if EXPLORE_MODE is defined, it allows players to enter explore mode, |
| | |
* It shouldn't hurt anyone if this is defined but you don't | | * It shouldn't hurt anyone if this is defined but you don't |
* have an watchdog program. | | * have an watchdog program. |
*/ | | */ |
| | #ifndef WIN32 //***win32 disable watchdog as win32 default |
#define WATCHDOG | | #define WATCHDOG |
| | #endif |
| | |
/*********************************************************************** | | /*********************************************************************** |
* SECTION 2 - Machine/Compiler specific stuff. | | * SECTION 2 - Machine/Compiler specific stuff. |
| | |
*/ | | */ |
| | |
#ifndef LOGFILE | | #ifndef LOGFILE |
| | #ifdef WIN32 |
| | #define LOGFILE "tmp\\cross.log" |
| | #else |
#define LOGFILE "/tmp/cross.log" | | #define LOGFILE "/tmp/cross.log" |
#endif | | #endif |
| | #endif |
| | |
/* | | /* |
* MAP_MAXTIMEOUT tells the maximum of ticks until a map is swapped out | | * MAP_MAXTIMEOUT tells the maximum of ticks until a map is swapped out |
| | |
*/ | | */ |
| | |
/*#define TMPDIR "/home/hugin/a/crossfire/crossfire/tmp"*/ | | /*#define TMPDIR "/home/hugin/a/crossfire/crossfire/tmp"*/ |
| | #ifdef WIN32 |
| | #define TMPDIR "tmp" |
| | #else |
#define TMPDIR "/tmp" | | #define TMPDIR "/tmp" |
| | #endif |
| | |
| | |
/* Directory to use for unique items. This is placed into the 'lib' | | /* Directory to use for unique items. This is placed into the 'lib' |
| | |
* major changes to the map. | | * major changes to the map. |
*/ | | */ |
| | |
| | #ifdef WIN32 |
| | #define EMERGENCY_MAPPATH "\\city\\city" |
| | #else |
#define EMERGENCY_MAPPATH "/city/city" | | #define EMERGENCY_MAPPATH "/city/city" |
| | #endif |
#define EMERGENCY_X 15 | | #define EMERGENCY_X 15 |
#define EMERGENCY_Y 19 | | #define EMERGENCY_Y 19 |
| | |