… | |
… | |
205 | in the engine. Like statues, clocks, chairs,... |
205 | in the engine. Like statues, clocks, chairs,... |
206 | If perhaps we create a function where we can sit |
206 | If perhaps we create a function where we can sit |
207 | on chairs, we create a new type and remove all |
207 | on chairs, we create a new type and remove all |
208 | chairs from here. */ |
208 | chairs from here. */ |
209 | //80 |
209 | //80 |
210 | //81 |
210 | #define TORCH 81 /* a torch */ |
211 | #define LAMP 82 /* a lamp */ |
211 | #define LAMP 82 /* a lamp */ |
212 | #define DUPLICATOR 83 /* duplicator/multiplier object */ |
212 | #define DUPLICATOR 83 /* duplicator/multiplier object */ |
213 | //84 |
213 | //84 |
214 | #define SPELLBOOK 85 |
214 | #define SPELLBOOK 85 |
215 | //86 |
215 | //86 |
… | |
… | |
288 | #define SYMPTOM 159 |
288 | #define SYMPTOM 159 |
289 | #define BUILDER 160 /* Generic item builder, see subtypes */ |
289 | #define BUILDER 160 /* Generic item builder, see subtypes */ |
290 | #define MATERIAL 161 /* Material for building */ |
290 | #define MATERIAL 161 /* Material for building */ |
291 | //162 |
291 | //162 |
292 | #define ITEM_TRANSFORMER 163 /* Transforming one item with another */ |
292 | #define ITEM_TRANSFORMER 163 /* Transforming one item with another */ |
293 | //164 |
293 | #define MAPSCRIPT 164 /* A perl-scripted connectable */ |
294 | #define SAFE_GROUND 165 /* This is a safe ground, means that neither bombs, |
294 | #define SAFE_GROUND 165 /* This is a safe ground, means that neither bombs, |
295 | potions, alchemy, or magic works here (elmex) */ |
295 | potions, alchemy, or magic works here (elmex) */ |
296 | |
296 | |
297 | #define NUM_TYPES 166 // must be max(type) + 1 |
297 | #define NUM_TYPES 166 // must be max(type) + 1 |
298 | |
298 | |
… | |
… | |
343 | #define PU_NOTHING 0x00000000 |
343 | #define PU_NOTHING 0x00000000 |
344 | |
344 | |
345 | #define PU_DEBUG 0x10000000 |
345 | #define PU_DEBUG 0x10000000 |
346 | #define PU_INHIBIT 0x20000000 |
346 | #define PU_INHIBIT 0x20000000 |
347 | #define PU_STOP 0x40000000 |
347 | #define PU_STOP 0x40000000 |
348 | #define PU_NEWMODE 0x80000000 |
348 | #define PU_ENABLE 0x80000000 // used to distinguish value density |
349 | |
349 | |
350 | #define PU_RATIO 0x0000000F |
350 | #define PU_RATIO 0x0000000F |
351 | |
351 | |
352 | #define PU_FOOD 0x00000010 |
352 | #define PU_FOOD 0x00000010 |
353 | #define PU_DRINK 0x00000020 |
353 | #define PU_DRINK 0x00000020 |
… | |
… | |
858 | #define MSG_TYPE_ADMIN_RULES 1 |
858 | #define MSG_TYPE_ADMIN_RULES 1 |
859 | #define MSG_TYPE_ADMIN_NEWS 2 |
859 | #define MSG_TYPE_ADMIN_NEWS 2 |
860 | |
860 | |
861 | /** |
861 | /** |
862 | * Maximum distance a player may hear a sound from. |
862 | * Maximum distance a player may hear a sound from. |
863 | * This is only used for new client/server sound. If the sound source |
863 | * This is only used for client/server sound and say. If the sound source |
864 | * on the map is farther away than this, we don't sent it to the client. |
864 | * on the map is farther away than this, we don't sent it to the client. |
865 | */ |
865 | */ |
866 | #define MAX_SOUND_DISTANCE 16 |
866 | #define MAX_SOUND_DISTANCE 16 |
867 | |
867 | |
868 | #define LOG_CHANNEL "log" // the plain and ugly standard server log |
868 | #define LOG_CHANNEL "log" // the plain and ugly standard server log |