… | |
… | |
333 | * SHUTDOWN - used when shutting down the server |
333 | * SHUTDOWN - used when shutting down the server |
334 | * SOCKETBUFSIZE - size of buffer used internally by the server for storing |
334 | * SOCKETBUFSIZE - size of buffer used internally by the server for storing |
335 | * backlogged messages. |
335 | * backlogged messages. |
336 | * TMPDIR - directory to use for temp files |
336 | * TMPDIR - directory to use for temp files |
337 | * UNIQUE_DIR - directory to put unique item files into |
337 | * UNIQUE_DIR - directory to put unique item files into |
338 | * USE_CALLOC for some memory requests |
|
|
339 | *********************************************************************** |
338 | *********************************************************************** |
340 | */ |
339 | */ |
341 | |
340 | |
342 | /* |
341 | /* |
343 | * BANFILE - file used to ban certain sites from playing. See the example |
342 | * BANFILE - file used to ban certain sites from playing. See the example |
… | |
… | |
538 | * not to be used. |
537 | * not to be used. |
539 | */ |
538 | */ |
540 | #define UNIQUE_DIR "unique-items" |
539 | #define UNIQUE_DIR "unique-items" |
541 | |
540 | |
542 | /* |
541 | /* |
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 |
542 | * 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 |
543 | * emergency saves are defined. This should be left as is unless you make |
560 | * major changes to the map. |
544 | * major changes to the map. |
561 | */ |
545 | */ |
562 | |
546 | |