version 1.34 | | version 1.35 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.34 2002/11/13 04:57:32 garbled Exp $"; | | * "$Id: init.c,v 1.35 2002/11/13 05:24:53 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError, "load_settings: Unkown value for" | | LOG(llevError, "load_settings: Unkown value for" |
"recycle_tmp_maps: %s\n", cp); | | "recycle_tmp_maps: %s\n", cp); |
} | | } |
| | } else if (!strcasecmp(buf, "explore_mode")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.explore_mode=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.explore_mode=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for" |
| | "explore_mode: %s\n", cp); |
| | } |
| | } else if (!strcasecmp(buf, "spellpoint_level_depend")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.spellpoint_level_depend=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.spellpoint_level_depend=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for" |
| | "spellpoint_level_depend: %s\n", cp); |
| | } |
} else if (!strcasecmp(buf,"simple_exp")) { | | } else if (!strcasecmp(buf,"simple_exp")) { |
if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { | | if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { |
settings.simple_exp=TRUE; | | settings.simple_exp=TRUE; |
| | |
#ifdef X_EDITOR | | #ifdef X_EDITOR |
printf("Editor:\t\t%s\n",X_EDITOR); | | printf("Editor:\t\t%s\n",X_EDITOR); |
#endif | | #endif |
#ifdef EXPLORE_MODE | | |
printf("Explore mode:\t<true>\n"); | | |
#else | | |
printf("Explore mode:\t<false>\n"); | | |
#endif | | |
#ifdef SHOP_LISTINGS | | #ifdef SHOP_LISTINGS |
printf("Shop listings:\t<true>\n"); | | printf("Shop listings:\t<true>\n"); |
#else | | #else |