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.27 by root, Mon Dec 18 02:35:01 2006 UTC vs.
Revision 1.30 by root, Sat Dec 30 10:16:10 2006 UTC

392/* 392/*
393 * 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
394 * 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
395 * 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
396 * TMPDIR device, set this value to somethign small. The default 396 * TMPDIR device, set this value to somethign small. The default
397 * value in the map object is MAP_DEFAULTRESET (given in seconds.) 397 * value in the map object is given in seconds.->defaultreset
398 * 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
399 * 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
400 * 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.
401 * 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
402 * in the map archetype. 402 * in the map archetype.
526 * not to be used. 526 * not to be used.
527 */ 527 */
528#define UNIQUE_DIR "unique-items" 528#define UNIQUE_DIR "unique-items"
529 529
530/* 530/*
531 * These define the players starting map and location on that map, and where
532 * emergency saves are defined. This should be left as is unless you make
533 * major changes to the map.
534 */
535
536#define EMERGENCY_MAPPATH "/city/city"
537#define EMERGENCY_X 15
538#define EMERGENCY_Y 19
539
540
541/*
542 * 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,
543 * archetypes highscore and treaures files and directories can be found. 532 * archetypes highscore and treaures files and directories can be found.
544 */ 533 */
545 534
546#define MAPDIR "maps" 535#define MAPDIR "maps"
548#define ARCHETYPES "archetypes" 537#define ARCHETYPES "archetypes"
549#define REGIONS "regions" 538#define REGIONS "regions"
550#define HIGHSCORE "highscore" 539#define HIGHSCORE "highscore"
551#define TREASURES "treasures" 540#define TREASURES "treasures"
552#define BANISHFILE "banish_file" 541#define BANISHFILE "banish_file"
553
554#define MAX_ERRORS 25 /* Bail out if more are received during tick */
555#define OBJ_EXPAND 5000 /* How big steps to use when expanding array */
556 542
557#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ 543#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */
558 544
559#define ARCHTABLE 16384 /* Arch hashtable size */ 545#define ARCHTABLE 16384 /* Arch hashtable size */
560#define MAXSTRING 20 546#define MAXSTRING 20
630 * saves pretty well spread out (in a fairly random fashion.) 616 * saves pretty well spread out (in a fairly random fashion.)
631 */ 617 */
632 618
633#define AUTOSAVE 1000 619#define AUTOSAVE 1000
634 620
635/* Often, emergency save fails because the memory corruption that caused
636 * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE
637 * to disable emergency saves. This actually does
638 * prevent emergency saves now (Version 0.90.5).
639 */
640
641#define NO_EMERGENCY_SAVE
642
643/* By selecting the following, whenever a player does a backup save (with
644 * the 'save command), the player will be saved at home (EMERGENCY_MAP_*
645 * information that is specified later). IF this is not set, the player
646 * will be saved at his present location.
647 */
648
649/*#define BACKUP_SAVE_AT_HOME*/
650
651/* 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
652 * 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,
653 * this feature is disabled (player will resume where ever he was 623 * this feature is disabled (player will resume where ever he was
654 * 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,
655 * 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