Angband
obj-info.h
Go to the documentation of this file.
1 
20 #ifndef OBJECT_INFO_H
21 #define OBJECT_INFO_H
22 
23 #include "z-textblock.h"
24 
28 typedef enum {
29  OINFO_NONE = 0x00, /* No options */
30  OINFO_TERSE = 0x01, /* Keep descriptions brief, e.g. for dumps */
31  OINFO_SUBJ = 0x02, /* Describe object from the character's POV */
32  OINFO_EGO = 0x04, /* Describe an ego template */
34 
35 
36 textblock *object_info(const object_type *o_ptr, oinfo_detail_t mode);
37 textblock *object_info_ego(struct ego_item *ego);
38 void object_info_spoil(ang_file *f, const object_type *o_ptr, int wrap);
39 void object_info_chardump(ang_file *f, const object_type *o_ptr, int indent, int wrap);
40 
41 #endif /* OBJECT_INFO_H */