00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00036 #ifndef DATADIR
00037 #define DATADIR "./lib"
00038 #endif
00039
00041 #ifndef MAPDIR
00042 #define MAPDIR "../maps"
00043 #endif
00044
00046 #ifndef LOCALDIR
00047 #define LOCALDIR "./data"
00048 #endif
00049
00051 #ifndef PLAYERDIR
00052 #define PLAYERDIR "players"
00053 #endif
00054
00056 #ifndef PLUGINDIR
00057 #define PLUGINDIR "./plugins"
00058 #endif
00059
00061 #ifndef DMFILE
00062 #define DMFILE "dmfile"
00063 #endif
00064
00066 #ifndef BANFILE
00067 #define BANFILE "bans"
00068 #endif
00069
00081 #ifndef TMPDIR
00082 #define TMPDIR LOCALDIR"/tmp"
00083 #endif
00084
00089 #ifndef UNIQUE_DIR
00090 #define UNIQUE_DIR "unique-items"
00091 #endif
00092
00122 #define BALANCED_STAT_LOSS 0
00123 #define BALSL_LOSS_CHANCE_RATIO 4
00124 #define BALSL_NUMBER_LOSSES_RATIO 6
00125 #define BALSL_MAX_LOSS_RATIO 2
00126
00134 #define CS_LOGSTATS 0
00135
00136 #if CS_LOGSTATS
00137 #define CS_LOGTIME 600
00138 #endif
00139
00143 #ifndef WIN32
00144 #ifndef DEBUG
00145 #define DEBUG
00146 #endif
00147 #endif
00148
00159 #define MAP_CLIENT_X 17
00160 #define MAP_CLIENT_Y 17
00161
00168 #define MAX_TIME 125000
00169
00178 #define REAL_WIZ
00179
00190 #define RECYCLE_TMP_MAPS 0
00191
00200 #define STAT_LOSS_ON_DEATH 0
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00215 #define CSPORT 13327
00216
00230 #define MAP_DEFAULTTIMEOUT 500
00231
00233 #define MAP_MAXTIMEOUT 1000
00234
00245 #define MAP_MAXRESET 7200
00246
00247 #define MAP_DEFAULTRESET 7200
00248
00252 #define MEMORY_DEBUG 0
00253
00266 #define USE_CALLOC
00267
00272 #define EMERGENCY_MAPPATH "/emergency"
00273 #define EMERGENCY_X 0
00274 #define EMERGENCY_Y 0
00275
00279 #define ARCHETYPES "archetypes"
00280 #define TREASURES "treasures"
00281 #define SETTINGS "settings"
00282
00283 #define HIGHSCORE "highscore"
00284
00286 #define MAX_ERRORS 25
00287
00289 #define OBJECT_EXPAND 2500
00290
00292 #define HIGHSCORE_LENGTH 1000
00293
00295 #define ARCHTABLE 8192
00296 #define MAXSTRING 20
00297
00306 #define SAVE_MODE 0660
00307
00315
00316
00326 #define AUTOSAVE 5000
00327
00332 #define NO_EMERGENCY_SAVE
00333
00335 #define SOCKET_VERSION 1041
00336
00346 #define COMPRESS_DATA_PACKETS 0
00347
00357 #define COMPRESS_DATA_PACKETS_SIZE 128