… | |
… | |
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 |