Angband
obj-identify.h
Go to the documentation of this file.
1 
20 #ifndef OBJECT_IDENTIFY_H
21 #define OBJECT_IDENTIFY_H
22 
26 typedef enum
27 {
36 
38 } obj_pseudo_t;
39 
40 extern s32b object_last_wield;
41 
42 bool easy_know(const struct object *obj);
43 bool object_all_but_flavor_is_known(const struct object *obj);
44 bool object_is_known(const struct object *obj);
45 bool object_is_known_artifact(const struct object *obj);
46 bool object_is_known_not_artifact(const struct object *obj);
47 bool object_was_worn(const struct object *obj);
48 bool object_flavor_is_aware(const struct object *obj);
49 bool object_flavor_was_tried(const struct object *obj);
50 bool object_effect_is_known(const struct object *obj);
51 bool object_name_is_visible(const struct object *obj);
52 bool object_ego_is_visible(const struct object *obj);
53 bool object_attack_plusses_are_visible(const struct object *obj);
54 bool object_defence_plusses_are_visible(const struct object *obj);
55 bool object_flag_is_known(const struct object *obj, int flag);
56 bool object_element_is_known(const struct object *obj, int element);
57 bool object_this_mod_is_visible(const struct object *obj, int mod);
58 bool object_check_for_ident(struct object *obj);
59 void object_flavor_aware(struct object *obj);
60 void object_flavor_tried(struct object *obj);
61 void object_know_all_but_flavor(struct object *obj);
62 void object_notice_everything(struct object *obj);
63 void object_notice_ego(struct object *obj);
64 void object_notice_effect(struct object *obj);
65 void object_notice_attack_plusses(struct object *obj);
66 bool object_notice_element(struct object *obj, int element);
67 bool object_notice_flag(struct object *obj, int flag);
68 bool object_notice_flags(struct object *obj, bitflag flags[OF_SIZE]);
69 bool object_notice_curses(struct object *obj);
70 void object_notice_on_firing(struct object *obj);
71 void object_notice_on_wield(struct object *obj);
72 void equip_notice_on_defend(struct player *p);
73 void equip_notice_flag(struct player *p, int flag);
74 void equip_notice_element(struct player *p, int element);
76 void equip_notice_on_attack(struct player *p);
77 
78 /* Ostracism line */
79 bool object_high_resist_is_possible(const struct object *obj);
80 bool object_was_sensed(const struct object *obj);
81 void object_notice_sensing(struct object *obj);
82 void object_sense_artifact(struct object *obj);
83 obj_pseudo_t object_pseudo(const struct object *obj);
84 void do_ident_item(struct object *obj);
85 void sense_inventory(void);
86 
87 #endif /* OBJECT_IDENTIFY_H */