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.42 by root, Fri Apr 27 19:53:05 2007 UTC vs.
Revision 1.45 by root, Sat Jun 9 22:54:03 2007 UTC

1/* 1/*
2 * CrossFire, A Multiplayer game 2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team 4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 * Copyright (C) 2002 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6 * Copyright (C) 1992 Frank Tore Johansen 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * Crossfire TRT is free software; you can redistribute it and/or modify it
9 * it under the terms of the GNU General Public License as published by 9 * under the terms of the GNU General Public License as published by the Free
10 * the Free Software Foundation; either version 2 of the License, or 10 * Software Foundation; either version 2 of the License, or (at your option)
11 * (at your option) any later version. 11 * 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, but
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * GNU General Public License for more details. 16 * 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 along
19 * along with this program; if not, write to the Free Software 19 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 to <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 *
61 * You don't have to change anything here to get a working program, but 61 * You don't have to change anything here to get a working program, but
62 * you may want to on personal preferance. Items are arranged 62 * you may want to on personal preferance. Items are arranged
63 * alphabetically. 63 * alphabetically.
64 * 64 *
65 * Short list of features, and what to search for: 65 * Short list of features, and what to search for:
66 * CS_LOGSTATS - log various new client/server data.
67 * DEBUG - more verbose message logging? 66 * DEBUG - more verbose message logging?
68 * MAP_CLIENT_X, MAP_CLIENT_Y - determines max size client map will receive 67 * MAP_CLIENT_X, MAP_CLIENT_Y - determines max size client map will receive
69 * MAX_TIME - how long an internal tick is in microseconds 68 * MAX_TIME - how long an internal tick is in microseconds
70 * MANY_CORES - generate core dumps on gross errors instead of continuing? 69 * MANY_CORES - generate core dumps on gross errors instead of continuing?
71 * PARTY_KILL_LOG - stores party kill information 70 * PARTY_KILL_LOG - stores party kill information
72 * 71 *
73 ***********************************************************************/ 72 ***********************************************************************/
74 73
75/* Use a very easy, non-challenging server? 74/* Use a very easy, non-challenging server?
76 * Defining the COZY_SERVER will make the server much less challenging: 75 * Defining the COZY_SERVER will make the server much less challenging:
77 * no stats loss on death, much less experience loss, and party members 76 * no stats loss on death, much less experience loss.
78 * are treated by pet monsters as the owner itself when moving "through" them.
79 */ 77 */
80#define COZY_SERVER 1 78#define COZY_SERVER 1
81
82/*
83 * Make it impossible to pk outside the arena.
84 */
85#define PROHIBIT_PLAYERKILL 1
86 79
87/* Use balanced stat loss code? 80/* Use balanced stat loss code?
88 * This code is a little more merciful with repeated stat loss at lower 81 * This code is a little more merciful with repeated stat loss at lower
89 * levels. Basically, the more stats you have lost, the less likely that 82 * levels. Basically, the more stats you have lost, the less likely that
90 * you will lose more. Additionally, lower level characters are shown 83 * you will lose more. Additionally, lower level characters are shown
131#define SET_TITLE TRUE 124#define SET_TITLE TRUE
132#define SIMPLE_EXP TRUE 125#define SIMPLE_EXP TRUE
133#define SPELLPOINT_LEVEL_DEPEND TRUE 126#define SPELLPOINT_LEVEL_DEPEND TRUE
134#define SPELL_ENCUMBRANCE TRUE 127#define SPELL_ENCUMBRANCE TRUE
135#define SPELL_FAILURE_EFFECTS FALSE 128#define SPELL_FAILURE_EFFECTS FALSE
136#define REAL_WIZ TRUE
137#define RESURRECTION FALSE 129#define RESURRECTION FALSE
138#define SEARCH_ITEMS TRUE 130#define SEARCH_ITEMS TRUE
139#define NOT_PERMADETH TRUE 131#define NOT_PERMADETH TRUE
140#define EXPLORE_MODE FALSE 132#define EXPLORE_MODE FALSE
141#define STAT_LOSS_ON_DEATH FALSE 133#define STAT_LOSS_ON_DEATH FALSE
142#define PK_LUCK_PENALTY 1 134#define PK_LUCK_PENALTY 1
143#define CASTING_TIME FALSE
144#define SET_FRIENDLY_FIRE 5 135#define SET_FRIENDLY_FIRE 5
145#define ARMOR_MAX_ENCHANT 5 136#define ARMOR_MAX_ENCHANT 5
146#define ARMOR_WEIGHT_REDUCTION 10 137#define ARMOR_WEIGHT_REDUCTION 10
147#define ARMOR_WEIGHT_LINEAR TRUE 138#define ARMOR_WEIGHT_LINEAR TRUE
148#define ARMOR_SPEED_IMPROVEMENT 10 139#define ARMOR_SPEED_IMPROVEMENT 10
149#define ARMOR_SPEED_LINEAR TRUE 140#define ARMOR_SPEED_LINEAR TRUE
150#define CREATE_HOME_PORTALS FALSE 141#define CREATE_HOME_PORTALS FALSE
151 142
152/* you can edit the ones below */ 143/* you can edit the ones below */
153
154
155/* CS_LOGSTATS will cause the server to log various usage stats
156 * (number of connections, amount of data sent, amount of data received,
157 * and so on.) This can be very useful if you are trying to measure
158 * server/bandwidth usage. It will periodially dump out information
159 * which contains usage stats for the last X amount of time.
160 * CS_LOGTIME is how often it will print out stats.
161 */
162#define CS_LOGSTATS
163#define CS_LOGTIME 600
164 144
165/* DEBUG generates copious amounts of output. I tend to change the CC options 145/* DEBUG generates copious amounts of output. I tend to change the CC options
166 * in the crosssite.def file if I want this. By default, you probably 146 * in the crosssite.def file if I want this. By default, you probably
167 * dont want this defined. 147 * dont want this defined.
168 */ 148 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines