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.46 by root, Sun Jul 1 05:00:18 2007 UTC vs.
Revision 1.52 by root, Fri Dec 19 22:47:29 2008 UTC

1/* 1/*
2 * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team 4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 * 7 *
8 * Crossfire TRT is free software: you can redistribute it and/or modify 8 * Deliantra 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 3 of the License, or 10 * the Free Software Foundation, either version 3 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,
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, see <http://www.gnu.org/licenses/>. 19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 * 20 *
21 * The authors can be reached via e-mail to <crossfire@schmorp.de> 21 * The authors can be reached via e-mail to <support@deliantra.net>
22 */ 22 */
23 23
24/* This file contains various #defines that select various options. 24/* This file contains various #defines that select various options.
25 * Some may not be desirable, and some just may not work. 25 * Some may not be desirable, and some just may not work.
26 * 26 *
179 * maps at that point. 179 * maps at that point.
180 * 180 *
181 * MSW 2001-05-28 181 * MSW 2001-05-28
182 */ 182 */
183 183
184#define MAP_CLIENT_X 31 184#define MAP_CLIENT_X 32
185#define MAP_CLIENT_Y 31 185#define MAP_CLIENT_Y 32
186 186
187/* 187/*
188 * If you feel the game is too fast or too slow, change MAX_TIME. 188 * If you feel the game is too fast or too slow, change MAX_TIME.
189 * You can experiment with the 'speed <new_max_time> command first. 189 * You can experiment with the 'speed <new_max_time> command first.
190 * The length of a tick is MAX_TIME microseconds. During a tick, 190 * The length of a tick is MAX_TIME microseconds. During a tick,
191 * players, monsters, or items with speed 1 can do one thing. 191 * players, monsters, or items with speed 1 can do one thing.
192 */ 192 */
193 193
194#define MAX_TIME 120000 194#define MAX_TIME 120000
195
196
197/*
198 * MAX_ITEM_PER_DROP defines how many items a player can drop at once.
199 * (be careful to set this to high values, as dropping lots of things
200 * can be a performance problem (for which a fix is worked on)).
201 */
202
203#define MAX_ITEM_PER_DROP 100
195 204
196/* Polymorph as it currently stands is unbalancing, so by default 205/* Polymorph as it currently stands is unbalancing, so by default
197 * 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
198 * it can be abused in various ways. 207 * it can be abused in various ways.
199 */ 208 */
229 */ 238 */
230/* GD */ 239/* GD */
231 240
232#define PERM_EXP_GAIN_RATIO 0.10f 241#define PERM_EXP_GAIN_RATIO 0.10f
233#define PERM_EXP_MAX_LOSS_RATIO 0.50f 242#define PERM_EXP_MAX_LOSS_RATIO 0.50f
234
235/* Enable the new material code - it needs some work. You can
236 * enable this, and things will work, just you'll see a whole
237 * bunch more materials show up, and thus a whole bunch more materials
238 * in your inventory, and the sorting for them isn't really good.
239 */
240
241/*
242#define NEW_MATERIAL_CODE
243*/
244
245 243
246/*********************************************************************** 244/***********************************************************************
247 * Section 3 245 * Section 3
248 * 246 *
249 * General file and other defaults that don't need to be changed, and 247 * General file and other defaults that don't need to be changed, and
284 282
285/* LOGFILE specifies which file to log to when playing with the 283/* LOGFILE specifies which file to log to when playing with the
286 * -daemon option. 284 * -daemon option.
287 */ 285 */
288#ifndef LOGFILE 286#ifndef LOGFILE
289#define LOGFILE "/var/log/crossfire/logfile" 287#define LOGFILE "/var/log/deliantra/logfile"
290#endif 288#endif
291 289
292/* 290/*
293 * If you want to have a Message Of The Day file, define MOTD to be 291 * If you want to have a Message Of The Day file, define MOTD to be
294 * the file with the message. If the file doesn't exist or if it 292 * the file with the message. If the file doesn't exist or if it

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines