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.22 by pippijn, Mon Dec 11 19:46:46 2006 UTC vs.
Revision 1.24 by root, Thu Dec 14 21:46:34 2006 UTC

66 * DEBUG - more verbose message logging? 66 * DEBUG - more verbose message logging?
67 * 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
68 * MAX_TIME - how long an internal tick is in microseconds 68 * MAX_TIME - how long an internal tick is in microseconds
69 * MANY_CORES - generate core dumps on gross errors instead of continuing? 69 * MANY_CORES - generate core dumps on gross errors instead of continuing?
70 * PARTY_KILL_LOG - stores party kill information 70 * PARTY_KILL_LOG - stores party kill information
71 * WATCHDOG - allows use of an external watchdog program
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:
253/* GD */ 252/* GD */
254 253
255#define PERM_EXP_GAIN_RATIO 0.10f 254#define PERM_EXP_GAIN_RATIO 0.10f
256#define PERM_EXP_MAX_LOSS_RATIO 0.50f 255#define PERM_EXP_MAX_LOSS_RATIO 0.50f
257 256
258/*
259 * WATCHDOG lets sends datagrams to port 13325 on localhost
260 * in (more-or-less) regular intervals, so an external watchdog
261 * program can kill the server if it hangs (for whatever reason).
262 * It shouldn't hurt anyone if this is defined but you don't
263 * have an watchdog program.
264 */
265#define WATCHDOG
266
267/* Enable the new material code - it needs some work. You can 257/* Enable the new material code - it needs some work. You can
268 * enable this, and things will work, just you'll see a whole 258 * enable this, and things will work, just you'll see a whole
269 * bunch more materials show up, and thus a whole bunch more materials 259 * bunch more materials show up, and thus a whole bunch more materials
270 * in your inventory, and the sorting for them isn't really good. 260 * in your inventory, and the sorting for them isn't really good.
271 */ 261 */
333 * SHUTDOWN - used when shutting down the server 323 * SHUTDOWN - used when shutting down the server
334 * SOCKETBUFSIZE - size of buffer used internally by the server for storing 324 * SOCKETBUFSIZE - size of buffer used internally by the server for storing
335 * backlogged messages. 325 * backlogged messages.
336 * TMPDIR - directory to use for temp files 326 * TMPDIR - directory to use for temp files
337 * UNIQUE_DIR - directory to put unique item files into 327 * UNIQUE_DIR - directory to put unique item files into
338 * USE_CALLOC for some memory requests
339 *********************************************************************** 328 ***********************************************************************
340 */ 329 */
341 330
342/* 331/*
343 * BANFILE - file used to ban certain sites from playing. See the example 332 * BANFILE - file used to ban certain sites from playing. See the example
538 * not to be used. 527 * not to be used.
539 */ 528 */
540#define UNIQUE_DIR "unique-items" 529#define UNIQUE_DIR "unique-items"
541 530
542/* 531/*
543 * If undefined, malloc is always used.
544 * It looks like this can be oboleted. However, it can be useful to
545 * track down some bugs, as it will make sure that the entire data structure
546 * is set to 0, at the expense of speed.
547 * Rupert Goldie has run Purify against the code, and if this is disabled,
548 * apparantly there are a lot of uninitialized memory reads - I haven't
549 * seen any problem (maybe the memory reads are copies, and the destination
550 * doesn't actually use the garbage values either?), but the impact on speed
551 * of using this probably isn't great, and should make things more stable.
552 * Msw 8-9-97
553 */
554#define USE_CALLOC
555
556
557/*
558 * These define the players starting map and location on that map, and where 532 * These define the players starting map and location on that map, and where
559 * emergency saves are defined. This should be left as is unless you make 533 * emergency saves are defined. This should be left as is unless you make
560 * major changes to the map. 534 * major changes to the map.
561 */ 535 */
562 536

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines