ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/config.h
(Generate patch)

Comparing deliantra/server/include/config.h (file contents):
Revision 1.26 by root, Fri Dec 15 20:08:45 2006 UTC vs.
Revision 1.30 by root, Sat Dec 30 10:16:10 2006 UTC

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.
527 * not to be used. 526 * not to be used.
528 */ 527 */
529#define UNIQUE_DIR "unique-items" 528#define UNIQUE_DIR "unique-items"
530 529
531/* 530/*
532 * These define the players starting map and location on that map, and where
533 * emergency saves are defined. This should be left as is unless you make
534 * major changes to the map.
535 */
536
537#define EMERGENCY_MAPPATH "/city/city"
538#define EMERGENCY_X 15
539#define EMERGENCY_Y 19
540
541
542/*
543 * These defines tells where, relative to LIBDIR, the maps, the map-index, 531 * These defines tells where, relative to LIBDIR, the maps, the map-index,
544 * archetypes highscore and treaures files and directories can be found. 532 * archetypes highscore and treaures files and directories can be found.
545 */ 533 */
546 534
547#define MAPDIR "maps" 535#define MAPDIR "maps"
549#define ARCHETYPES "archetypes" 537#define ARCHETYPES "archetypes"
550#define REGIONS "regions" 538#define REGIONS "regions"
551#define HIGHSCORE "highscore" 539#define HIGHSCORE "highscore"
552#define TREASURES "treasures" 540#define TREASURES "treasures"
553#define BANISHFILE "banish_file" 541#define BANISHFILE "banish_file"
554
555#define MAX_ERRORS 25 /* Bail out if more are received during tick */
556#define OBJ_EXPAND 5000 /* How big steps to use when expanding array */
557 542
558#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ 543#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */
559 544
560#define ARCHTABLE 16384 /* Arch hashtable size */ 545#define ARCHTABLE 16384 /* Arch hashtable size */
561#define MAXSTRING 20 546#define MAXSTRING 20
631 * saves pretty well spread out (in a fairly random fashion.) 616 * saves pretty well spread out (in a fairly random fashion.)
632 */ 617 */
633 618
634#define AUTOSAVE 1000 619#define AUTOSAVE 1000
635 620
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 621/* 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, 622 * 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 623 * 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, 624 * 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. 625 * it will prevent players from camping out in treasure rooms.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines