41 #define NUM_BODY_LOCATIONS 13
48 typedef struct body_locations_struct {
78 #define WILL_APPLY_HANDLE 0x1
79 #define WILL_APPLY_TREASURE 0x2
80 #define WILL_APPLY_EARTHWALL 0x4
81 #define WILL_APPLY_DOOR 0x8
82 #define WILL_APPLY_FOOD 0x10
94 #define was_destroyed(op, old_tag) \
95 (op->count != old_tag || QUERY_FLAG(op, FLAG_FREED))
107 #define SPELL_TAG_SIZE 16
108 #define OB_SPELL_TAG_HASH(op, count) (op->spell_tags[count&0xf])
109 #define OB_SPELL_TAG_MATCH(op, count) (op->spell_tags[count&0xf] == count)
344 #define LOOK_OBJ(ob) (!ob->invisible && ob->type != PLAYER && ob->type != EVENT_CONNECTOR)
353 #define UP_OBJ_INSERT 1
354 #define UP_OBJ_REMOVE 2
355 #define UP_OBJ_CHANGE 3
356 #define UP_OBJ_FACE 4
392 #define INS_NO_MERGE 0x0001
393 #define INS_ABOVE_FLOOR_ONLY 0x0002
394 #define INS_NO_WALK_ON 0x0004
395 #define INS_ON_TOP 0x0008
396 #define INS_BELOW_ORIGINATOR 0x0010
397 #define INS_MAP_LOAD 0x0020
400 #define ARCH_SINGULARITY "singularity"
401 #define ARCH_SINGULARITY_LEN 11
402 #define ARCH_DETECT_MAGIC "detect_magic"
403 #define ARCH_DEPLETION "depletion"
404 #define ARCH_SYMPTOM "symptom"
#define NUM_BODY_LOCATIONS
struct treasureliststruct * randomitems
struct archt * other_arch
struct obj * chosen_skill
const char * materialname
struct obj * current_weapon
struct struct_dialog_information * dialog_information
sint16 resist[NROFATTACKS]
sint8 body_info[NUM_BODY_LOCATIONS]
sint8 body_used[NUM_BODY_LOCATIONS]
struct body_locations_struct body_locations_struct
object objarray[STARTMAX]
body_locations_struct body_locations[NUM_BODY_LOCATIONS]
struct _key_value key_value