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.58 by root, Sun Jan 31 03:46:20 2010 UTC vs.
Revision 1.67 by root, Wed Nov 16 23:42:00 2016 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 8 * Deliantra is free software: you can redistribute it and/or modify it under
9 * the terms of the Affero GNU General Public License as published by the 9 * the terms of the Affero GNU General Public License as published by the
10 * Free Software Foundation, either version 3 of the License, or (at your 10 * Free Software Foundation, either version 3 of the License, or (at your
11 * option) any later version. 11 * 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 Affero GNU General Public License 18 * You should have received a copy of the Affero GNU General Public License
19 * and the GNU General Public License along with this program. If not, see 19 * and the GNU General Public License along with this program. If not, see
20 * <http://www.gnu.org/licenses/>. 20 * <http://www.gnu.org/licenses/>.
21 * 21 *
22 * The authors can be reached via e-mail to <support@deliantra.net> 22 * The authors can be reached via e-mail to <support@deliantra.net>
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.
103 * depleteness^2 / (depletedness^2+ level/ratio). 103 * depleteness^2 / (depletedness^2+ level/ratio).
104 * ie, if the stats current depleted value is 2 and the character is level 104 * ie, if the stats current depleted value is 2 and the character is level
105 * 15, the chance not to lose the stat is 4/(4+3) or 4/7. The higher the 105 * 15, the chance not to lose the stat is 4/(4+3) or 4/7. The higher the
106 * level, the more likely it is a stat can get really depleted, but 106 * level, the more likely it is a stat can get really depleted, but
107 * this gets more offset as the stat gets more depleted. 107 * this gets more offset as the stat gets more depleted.
108 * 108 *
109 */ 109 */
110/* GD */ 110/* GD */
111 111
112#define BALSL_LOSS_CHANCE_RATIO 100 112#define BALSL_LOSS_CHANCE_RATIO 100
113#define BALSL_NUMBER_LOSSES_RATIO 100 113#define BALSL_NUMBER_LOSSES_RATIO 100
115 115
116 116
117/* Don't edit these values. They are configured in lib/settings. These are 117/* Don't edit these values. They are configured in lib/settings. These are
118 Simply the defaults. */ 118 Simply the defaults. */
119 119
120#define BALANCED_STAT_LOSS FALSE 120#define BALANCED_STAT_LOSS TRUE
121#define PERMANENT_EXPERIENCE_RATIO 25 121#define PERMANENT_EXPERIENCE_RATIO 30
122#define DEATH_PENALTY_RATIO 20 122#define DEATH_PENALTY_RATIO 10
123#define DEATH_PENALTY_LEVEL 3 123#define DEATH_PENALTY_LEVEL 2
124#define SET_TITLE TRUE 124#define SET_TITLE TRUE
125#define SIMPLE_EXP TRUE 125#define SIMPLE_EXP TRUE
126#define SPELLPOINT_LEVEL_DEPEND TRUE 126#define SPELLPOINT_LEVEL_DEPEND TRUE
127#define SPELL_ENCUMBRANCE TRUE 127#define SPELL_ENCUMBRANCE FALSE
128#define SPELL_FAILURE_EFFECTS FALSE 128#define SPELL_FAILURE_EFFECTS FALSE
129#define RESURRECTION FALSE 129#define RESURRECTION FALSE
130#define SEARCH_ITEMS TRUE 130#define SEARCH_ITEMS TRUE
131#define NOT_PERMADETH TRUE 131#define NOT_PERMADETH TRUE
132#define EXPLORE_MODE FALSE
133#define STAT_LOSS_ON_DEATH FALSE 132#define STAT_LOSS_ON_DEATH FALSE
134#define PK_LUCK_PENALTY 1 133#define PK_LUCK_PENALTY 0
135#define SET_FRIENDLY_FIRE 5 134#define SET_FRIENDLY_FIRE 0
136#define ARMOR_MAX_ENCHANT 5 135#define ARMOR_MAX_ENCHANT 5
137#define ARMOR_WEIGHT_REDUCTION 10 136#define ARMOR_WEIGHT_REDUCTION 10
138#define ARMOR_WEIGHT_LINEAR TRUE 137#define ARMOR_WEIGHT_LINEAR TRUE
139#define ARMOR_SPEED_IMPROVEMENT 10 138#define ARMOR_SPEED_IMPROVEMENT 10
140#define ARMOR_SPEED_LINEAR TRUE 139#define ARMOR_SPEED_LINEAR TRUE
249 * do not change gameplay as percieved by players much. Some options 248 * do not change gameplay as percieved by players much. Some options
250 * may affect memory consumption however. 249 * may affect memory consumption however.
251 * 250 *
252 * Values: 251 * Values:
253 * 252 *
254 * CSPORT - port to use for new client/server
255 * DMFILE - file with dm/wizard access lists 253 * DMFILE - file with dm/wizard access lists
256 * LOGFILE - where to log if using -daemon option 254 * LOGFILE - where to log if using -daemon option
257 * MAP_ - various map timeout and swapping parameters 255 * MAP_ - various map timeout and swapping parameters
258 * MAX_OBJECTS - how many objects to keep in memory. 256 * MAX_OBJECTS - how many objects to keep in memory.
259 * MAX_OBJECTS_LWM - only swap maps out if below that value 257 * MAX_OBJECTS_LWM - only swap maps out if below that value
264 * TMPDIR - directory to use for temp files 262 * TMPDIR - directory to use for temp files
265 * UNIQUE_DIR - directory to put unique item files into 263 * UNIQUE_DIR - directory to put unique item files into
266 *********************************************************************** 264 ***********************************************************************
267 */ 265 */
268 266
269/* CSPORT is the port used for the new client/server code. Change
270 * if desired. Only of relevance if ERIC_SERVER is set above
271 */
272#define CSPORT 13327 /* old port + 1 */
273
274/* 267/*
275 * DMFILE 268 * DMFILE
276 * A file containing valid names that can be dm, one on each line. See 269 * A file containing valid names that can be dm, one on each line. See
277 * example dm_file for syntax help. 270 * example dm_file for syntax help.
278 */ 271 */
329 322
330/* 323/*
331 * These defines tells where, relative to LIBDIR, the maps, the map-index, 324 * These defines tells where, relative to LIBDIR, the maps, the map-index,
332 * archetypes highscore and treaures files and directories can be found. 325 * archetypes highscore and treaures files and directories can be found.
333 */ 326 */
334
335#define MAPDIR "maps" 327#define MAPDIR "maps"
336#define ARCHETYPES "archetypes"
337#define REGIONS "regions"
338#define TREASURES "treasures"
339 328
340#define MAXSTRING 20 329#define MAXSTRING 20
341 330
342#define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */ 331#define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */
343 332

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines