1 | /* |
|
|
2 | * static char *rcsid_config_h = |
|
|
3 | * "$Id: config.h,v 1.18 2006/06/30 00:47:56 root Exp $"; |
|
|
4 | */ |
|
|
5 | |
|
|
6 | /* |
1 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
8 | |
3 | |
9 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
4 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
10 | Copyright (C) 1992 Frank Tore Johansen |
5 | Copyright (C) 1992 Frank Tore Johansen |
… | |
… | |
532 | * will drop the client connection for falling too far behind. So if |
527 | * will drop the client connection for falling too far behind. So if |
533 | * you have very slow client connections, a larger value may be |
528 | * you have very slow client connections, a larger value may be |
534 | * warranted. |
529 | * warranted. |
535 | */ |
530 | */ |
536 | |
531 | |
537 | #define SOCKETBUFSIZE 128*1024 |
532 | #define SOCKETBUFSIZE 256*1024 |
538 | |
533 | |
539 | /* |
534 | /* |
540 | * Your tmp-directory should be large enough to hold the uncompressed |
535 | * Your tmp-directory should be large enough to hold the uncompressed |
541 | * map-files for all who are playing. |
536 | * map-files for all who are playing. |
542 | * It ought to be locally mounted, since the function used to generate |
537 | * It ought to be locally mounted, since the function used to generate |
… | |
… | |
606 | #define HIGHSCORE "highscore" |
601 | #define HIGHSCORE "highscore" |
607 | #define TREASURES "treasures" |
602 | #define TREASURES "treasures" |
608 | #define BANISHFILE "banish_file" |
603 | #define BANISHFILE "banish_file" |
609 | |
604 | |
610 | #define MAX_ERRORS 25 /* Bail out if more are received during tick */ |
605 | #define MAX_ERRORS 25 /* Bail out if more are received during tick */ |
611 | #define STARTMAX 4000 /* How big array of objects to start with */ |
|
|
612 | #define OBJ_EXPAND 500 /* How big steps to use when expanding array */ |
606 | #define OBJ_EXPAND 5000 /* How big steps to use when expanding array */ |
613 | |
607 | |
614 | #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ |
608 | #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ |
615 | |
609 | |
616 | #define ARCHTABLE 16384 /* Arch hashtable size */ |
610 | #define ARCHTABLE 16384 /* Arch hashtable size */ |
617 | #define MAXSTRING 20 |
611 | #define MAXSTRING 20 |