1 | /* |
1 | /* |
2 | CrossFire, A Multiplayer game for X-windows |
2 | * CrossFire, A Multiplayer game for X-windows |
3 | |
3 | * |
4 | Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
6 | Copyright (C) 1992 Frank Tore Johansen |
6 | * Copyright (C) 1992 Frank Tore Johansen |
7 | |
7 | * |
8 | This program is free software; you can redistribute it and/or modify |
8 | * This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
10 | the Free Software Foundation; either version 2 of the License, or |
10 | * the Free Software Foundation; either version 2 of the License, or |
11 | (at your option) any later version. |
11 | * (at your option) any later version. |
12 | |
12 | * |
13 | This program is distributed in the hope that it will be useful, |
13 | * This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. |
16 | * GNU General Public License for more details. |
17 | |
17 | * |
18 | You should have received a copy of the GNU General Public License |
18 | * You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software |
19 | * along with this program; if not, write to the Free Software |
20 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | |
21 | * |
22 | The authors can be reached via e-mail at crossfire@schmorp.de |
22 | * The authors can be reached via e-mail at crossfire@schmorp.de |
23 | */ |
23 | */ |
24 | |
24 | |
25 | /* This file contains various #defines that select various options. |
25 | /* This file contains various #defines that select various options. |
26 | * Some may not be desirable, and some just may not work. |
26 | * Some may not be desirable, and some just may not work. |
27 | * |
27 | * |
28 | * There are some options that are not selectable in this file which |
28 | * There are some options that are not selectable in this file which |
… | |
… | |
421 | #define TREASURES "treasures" |
421 | #define TREASURES "treasures" |
422 | #define BANISHFILE "banish_file" |
422 | #define BANISHFILE "banish_file" |
423 | |
423 | |
424 | #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ |
424 | #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ |
425 | |
425 | |
426 | #define ARCHTABLE 16384 /* Arch hashtable size */ |
|
|
427 | #define MAXSTRING 20 |
426 | #define MAXSTRING 20 |
428 | |
427 | |
429 | #define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */ |
428 | #define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */ |
430 | |
429 | |
431 | |
430 | |
… | |
… | |
448 | * start their own crossfire, you won't need to define this. |
447 | * start their own crossfire, you won't need to define this. |
449 | * |
448 | * |
450 | */ |
449 | */ |
451 | |
450 | |
452 | #ifndef PLAYERDIR |
451 | #ifndef PLAYERDIR |
453 | #define PLAYERDIR "players" |
452 | # define PLAYERDIR "players" |
454 | #endif |
453 | #endif |
455 | |
454 | |
456 | /* |
455 | /* |
457 | * If you have defined SAVE_PLAYER, you might want to change this, too. |
456 | * If you have defined SAVE_PLAYER, you might want to change this, too. |
458 | * This is the access rights for the players savefiles. |
457 | * This is the access rights for the players savefiles. |