version 1.41 | | version 1.42 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.41 2005/07/15 13:51:48 ryo_saeba Exp $"; | | * "$Id: init.c,v 1.42 2005/10/15 07:07:31 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
DATADIR, | | DATADIR, |
LOCALDIR, | | LOCALDIR, |
PLAYERDIR, MAPDIR, ARCHETYPES,REGIONS,TREASURES, | | PLAYERDIR, MAPDIR, ARCHETYPES,REGIONS,TREASURES, |
UNIQUE_DIR, TMPDIR, | | UNIQUE_DIR, TEMPLATE_DIR, |
| | TMPDIR, |
STAT_LOSS_ON_DEATH, | | STAT_LOSS_ON_DEATH, |
PK_LUCK_PENALTY, | | PK_LUCK_PENALTY, |
USE_PERMANENT_EXPERIENCE, | | USE_PERMANENT_EXPERIENCE, |
| | |
if (cp) settings.treasures=cp; | | if (cp) settings.treasures=cp; |
cp=getenv("CROSSFIRE_UNIQUEDIR"); | | cp=getenv("CROSSFIRE_UNIQUEDIR"); |
if (cp) settings.uniquedir=cp; | | if (cp) settings.uniquedir=cp; |
| | cp=getenv("CROSSFIRE_TEMPLATEDIR"); |
| | if (cp) settings.templatedir=cp; |
cp=getenv("CROSSFIRE_TMPDIR"); | | cp=getenv("CROSSFIRE_TMPDIR"); |
if (cp) settings.tmpdir=cp; | | if (cp) settings.tmpdir=cp; |
} | | } |