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.55 by root, Thu Oct 15 21:40:42 2009 UTC vs.
Revision 1.62 by root, Sat Feb 26 11:34:32 2011 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 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.
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
193 * players, monsters, or items with speed 1 can do one thing. 192 * players, monsters, or items with speed 1 can do one thing.
194 */ 193 */
195 194
196#define MAX_TIME 120000 195#define MAX_TIME 120000
197 196
198
199/* 197/*
200 * MAX_ITEM_PER_DROP defines how many items a player can drop at once. 198 * MAX_ITEM_PER_ACTION defines how many items a player can drop/take etc. at once.
201 * (be careful to set this to high values, as dropping lots of things 199 * (be careful to set this to high values, as dropping lots of things
202 * can be a performance problem (for which a fix is worked on)). 200 * can be a performance problem (for which a fix is worked on)).
203 */ 201 */
204 202
205#define MAX_ITEM_PER_DROP 100 203#define MAX_ITEM_PER_ACTION 100
206 204
207/* Polymorph as it currently stands is unbalancing, so by default 205/* Polymorph as it currently stands is unbalancing, so by default
208 * we have it disabled. It can be enabled and it works, but 206 * we have it disabled. It can be enabled and it works, but
209 * it can be abused in various ways. 207 * it can be abused in various ways.
210 */ 208 */
250 * do not change gameplay as percieved by players much. Some options 248 * do not change gameplay as percieved by players much. Some options
251 * may affect memory consumption however. 249 * may affect memory consumption however.
252 * 250 *
253 * Values: 251 * Values:
254 * 252 *
255 * CSPORT - port to use for new client/server
256 * DMFILE - file with dm/wizard access lists 253 * DMFILE - file with dm/wizard access lists
257 * LOGFILE - where to log if using -daemon option 254 * LOGFILE - where to log if using -daemon option
258 * MAP_ - various map timeout and swapping parameters 255 * MAP_ - various map timeout and swapping parameters
259 * MAX_OBJECTS - how many objects to keep in memory. 256 * MAX_OBJECTS - how many objects to keep in memory.
260 * MAX_OBJECTS_LWM - only swap maps out if below that value 257 * MAX_OBJECTS_LWM - only swap maps out if below that value
265 * TMPDIR - directory to use for temp files 262 * TMPDIR - directory to use for temp files
266 * UNIQUE_DIR - directory to put unique item files into 263 * UNIQUE_DIR - directory to put unique item files into
267 *********************************************************************** 264 ***********************************************************************
268 */ 265 */
269 266
270/* CSPORT is the port used for the new client/server code. Change
271 * if desired. Only of relevance if ERIC_SERVER is set above
272 */
273#define CSPORT 13327 /* old port + 1 */
274
275/* 267/*
276 * DMFILE 268 * DMFILE
277 * 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
278 * example dm_file for syntax help. 270 * example dm_file for syntax help.
279 */ 271 */
330 322
331/* 323/*
332 * 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,
333 * archetypes highscore and treaures files and directories can be found. 325 * archetypes highscore and treaures files and directories can be found.
334 */ 326 */
335
336#define MAPDIR "maps" 327#define MAPDIR "maps"
337#define TEMPLATE_DIR "template-maps"
338#define ARCHETYPES "archetypes" 328#define ARCHETYPES "archetypes"
339#define REGIONS "regions"
340#define HIGHSCORE "highscore"
341#define TREASURES "treasures" 329#define TREASURES "treasures"
342
343#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */
344 330
345#define MAXSTRING 20 331#define MAXSTRING 20
346 332
347#define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */ 333#define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */
348 334

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines