… | |
… | |
16 | |
16 | |
17 | You should have received a copy of the GNU General Public License |
17 | You should have received a copy of the GNU General Public License |
18 | along with this program; if not, write to the Free Software |
18 | along with this program; if not, write to the Free Software |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | |
20 | |
21 | The authors can be reached via e-mail at crossfire-devel@real-time.com |
21 | The authors can be reached via e-mail at crossfire@schmorp.de |
22 | */ |
22 | */ |
23 | |
23 | |
24 | /* This file contains various #defines that select various options. |
24 | /* This file contains various #defines that select various options. |
25 | * Some may not be desirable, and some just may not work. |
25 | * Some may not be desirable, and some just may not work. |
26 | * |
26 | * |
… | |
… | |
131 | #define SIMPLE_EXP TRUE |
131 | #define SIMPLE_EXP TRUE |
132 | #define SPELLPOINT_LEVEL_DEPEND TRUE |
132 | #define SPELLPOINT_LEVEL_DEPEND TRUE |
133 | #define SPELL_ENCUMBRANCE TRUE |
133 | #define SPELL_ENCUMBRANCE TRUE |
134 | #define SPELL_FAILURE_EFFECTS FALSE |
134 | #define SPELL_FAILURE_EFFECTS FALSE |
135 | #define REAL_WIZ TRUE |
135 | #define REAL_WIZ TRUE |
136 | #define RECYCLE_TMP_MAPS FALSE |
|
|
137 | #define RESURRECTION FALSE |
136 | #define RESURRECTION FALSE |
138 | #define SEARCH_ITEMS TRUE |
137 | #define SEARCH_ITEMS TRUE |
139 | #define NOT_PERMADETH TRUE |
138 | #define NOT_PERMADETH TRUE |
140 | #define EXPLORE_MODE FALSE |
139 | #define EXPLORE_MODE FALSE |
141 | #define STAT_LOSS_ON_DEATH FALSE |
140 | #define STAT_LOSS_ON_DEATH FALSE |
… | |
… | |
393 | /* |
392 | /* |
394 | * MAP_MAXRESET is the maximum time a map can have before being reset. It |
393 | * MAP_MAXRESET is the maximum time a map can have before being reset. It |
395 | * will override the time value set in the map, if that time is longer than |
394 | * will override the time value set in the map, if that time is longer than |
396 | * MAP_MAXRESET. This value is in seconds. If you are low on space on the |
395 | * MAP_MAXRESET. This value is in seconds. If you are low on space on the |
397 | * TMPDIR device, set this value to somethign small. The default |
396 | * TMPDIR device, set this value to somethign small. The default |
398 | * value in the map object is MAP_DEFAULTRESET (given in seconds.) |
397 | * value in the map object is given in seconds.->defaultreset |
399 | * I personally like 1 hour myself, for solo play. It is long enough that |
398 | * I personally like 1 hour myself, for solo play. It is long enough that |
400 | * maps won't be resetting as a solve a quest, but short enough that some |
399 | * maps won't be resetting as a solve a quest, but short enough that some |
401 | * maps (like shops and inns) will be reset during the time I play. |
400 | * maps (like shops and inns) will be reset during the time I play. |
402 | * Comment out MAP_MAXRESET time if you always want to use the value |
401 | * Comment out MAP_MAXRESET time if you always want to use the value |
403 | * in the map archetype. |
402 | * in the map archetype. |
… | |
… | |
631 | * saves pretty well spread out (in a fairly random fashion.) |
630 | * saves pretty well spread out (in a fairly random fashion.) |
632 | */ |
631 | */ |
633 | |
632 | |
634 | #define AUTOSAVE 1000 |
633 | #define AUTOSAVE 1000 |
635 | |
634 | |
636 | /* Often, emergency save fails because the memory corruption that caused |
|
|
637 | * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE |
|
|
638 | * to disable emergency saves. This actually does |
|
|
639 | * prevent emergency saves now (Version 0.90.5). |
|
|
640 | */ |
|
|
641 | |
|
|
642 | #define NO_EMERGENCY_SAVE |
|
|
643 | |
|
|
644 | /* By selecting the following, whenever a player does a backup save (with |
|
|
645 | * the 'save command), the player will be saved at home (EMERGENCY_MAP_* |
|
|
646 | * information that is specified later). IF this is not set, the player |
|
|
647 | * will be saved at his present location. |
|
|
648 | */ |
|
|
649 | |
|
|
650 | /*#define BACKUP_SAVE_AT_HOME*/ |
|
|
651 | |
|
|
652 | /* RESET_LOCATION_TIME is the number of seconds that must elapse before |
635 | /* RESET_LOCATION_TIME is the number of seconds that must elapse before |
653 | * we will return the player to his savebed location. If this is zero, |
636 | * we will return the player to his savebed location. If this is zero, |
654 | * this feature is disabled (player will resume where ever he was |
637 | * this feature is disabled (player will resume where ever he was |
655 | * when he last logged off). If this is set to less than two hours, |
638 | * when he last logged off). If this is set to less than two hours, |
656 | * it will prevent players from camping out in treasure rooms. |
639 | * it will prevent players from camping out in treasure rooms. |