Angband
ui-obj.h
Go to the documentation of this file.
1 
19 #ifndef OBJECT_UI_H
20 #define OBJECT_UI_H
21 
22 #include "cmd-core.h"
23 
27 typedef enum {
28  OLIST_NONE = 0x00, /* No options */
29  OLIST_WINDOW = 0x01, /* Display list in a sub-term (left-align) */
30  OLIST_QUIVER = 0x02, /* Display quiver lines */
31  OLIST_GOLD = 0x04, /* Include gold in the list */
32  OLIST_WEIGHT = 0x08, /* Show item weight */
33  OLIST_PRICE = 0x10, /* Show item price */
34  OLIST_FAIL = 0x20, /* Show device failure */
35  OLIST_SEMPTY = 0x40
37 
38 
39 byte object_kind_attr(const struct object_kind *kind);
40 wchar_t object_kind_char(const struct object_kind *kind);
41 byte object_attr(const struct object *o_ptr);
42 wchar_t object_char(const struct object *o_ptr);
43 void show_inven(int mode, item_tester tester);
44 void show_equip(int mode, item_tester tester);
45 void show_floor(struct object **floor_list, int floor_num, int mode, item_tester tester);
46 bool textui_get_item(struct object **choice, const char *pmt, const char *str,
47  cmd_code cmd, item_tester tester, int mode);
48 bool get_item_allow(const struct object *obj, unsigned char ch, cmd_code cmd, bool is_harmless);
49 
50 void display_object_recall(struct object *obj);
53 
54 #endif /* OBJECT_UI_H */