Home
last modified time | relevance | path

Searched refs:item_def (Results 1 – 25 of 223) sorted by relevance

123456789

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Ditem-prop.h56 bool item_is_cursable(const item_def &item);
64 void set_net_stationary(item_def &item);
78 bool is_helmet(const item_def &item) PURE;
117 bool is_shield(const item_def &item) PURE;
121 void ident_reflector(item_def *item);
138 bool is_demonic(const item_def &item) PURE;
139 bool is_blessed(const item_def &item) PURE;
141 bool convert2good(item_def &item);
142 bool convert2bad(item_def &item);
182 bool is_xp_evoker(const item_def &item);
[all …]
H A Ditems.h49 item_def& item_from_int(bool, int);
64 bool move_item_to_inv(item_def& item);
66 item_def* auto_assign_item_slot(item_def& item);
70 bool items_similar(const item_def &item1, const item_def &item2);
71 bool items_stack(const item_def &item1, const item_def &item2);
94 void identify_item(item_def& item);
132 void origin_reset(item_def &item);
190 item_def& operator *() const;
191 item_def* operator->() const;
212 item_def& operator *() const;
[all …]
H A Dartefact.h72 void (*world_reacts_func)(item_def* item);
81 bool is_known_artefact(const item_def &item);
82 bool is_artefact(const item_def &item);
83 bool is_random_artefact(const item_def &item);
86 void autoid_unrand(item_def &item);
88 void artefact_fixup_props(item_def &item);
91 void set_unique_item_status(const item_def& item,
115 void artefact_properties(const item_def &item,
126 void make_ashenzari_randart(item_def &item);
130 bool randart_is_bad(const item_def &item);
[all …]
H A Dart-func.h407 static void _SINGING_SWORD_world_reacts(item_def *item) in _SINGING_SWORD_world_reacts()
474 static void _PRUNE_world_reacts(item_def */*item*/) in _PRUNE_world_reacts() argument
621 static void _DEMON_AXE_world_reacts(item_def */*item*/) in _DEMON_AXE_world_reacts() argument
1197 item_def& ring = you.inv[you.equip[i]]; in _octorings_worn()
1217 static void _OCTOPUS_KING_world_reacts(item_def *item) in _OCTOPUS_KING_world_reacts()
1236 item_def *wpn = defender->as_monster()->disarm(); in _CAPTAIN_melee_effects()
1410 static void _THERMIC_ENGINE_world_reacts(item_def *item) in _THERMIC_ENGINE_world_reacts()
1425 static void _ZHOR_world_reacts(item_def */*item*/) in _ZHOR_world_reacts() argument
1444 static void _BATTLE_world_reacts(item_def */*item*/) in _BATTLE_world_reacts() argument
1481 item_def &item = *si; in _harvest_corpses()
[all …]
H A Ditem-name.h113 string quant_name(const item_def &item, int quant,
116 bool item_brand_known(const item_def &item);
117 bool item_type_known(const item_def &item);
118 bool item_type_unknown(const item_def &item);
121 bool is_interesting_item(const item_def& item);
122 bool is_emergency_item(const item_def& item);
123 bool is_good_item(const item_def &item);
124 bool is_bad_item(const item_def &item);
140 bool get_ident_type(const item_def &item);
157 bool is_named_corpse(const item_def &corpse);
[all …]
H A Dgod-item.h11 bool is_holy_item(const item_def& item, bool calc_unid = true);
12 bool is_potentially_evil_item(const item_def& item, bool calc_unid = true);
13 bool is_evil_item(const item_def& item, bool calc_unid = true);
14 bool is_unclean_item(const item_def& item, bool calc_unid = true);
15 bool is_chaotic_item(const item_def& item, bool calc_unid = true);
16 bool is_hasty_item(const item_def& item, bool calc_unid = true);
17 bool is_wizardly_item(const item_def& item, bool calc_unid = true);
22 vector<conduct_type> item_conducts(const item_def &item);
23 bool god_hates_item(const item_def &item);
24 bool god_likes_item_type(const item_def &item, god_type which_god);
H A Dmonster.h295 item_def *launcher() const;
296 item_def *melee_weapon() const;
297 item_def *missiles() const;
298 item_def *shield() const override;
299 item_def *get_defining_object() const;
304 bool can_wield(const item_def &item,
309 bool could_wield(const item_def &item,
322 item_def* disarm();
576 void pickup_message(const item_def &item);
589 void equip_message(item_def &item);
[all …]
H A Dshopping.h17 int artefact_value(const item_def &item);
21 unsigned int item_value(item_def item, bool ident = false);
23 int item_price(const item_def& item, const shop_struct& shop);
28 bool is_worthless_consumable(const item_def &item);
42 bool is_shop_item(const item_def &item);
43 bool shop_item_unknown(const item_def &item);
66 vector<item_def> stock;
83 bool add_thing(const item_def &item, int cost,
96 bool cull_identical_items(const item_def& item, int cost = -1);
113 static bool items_are_same(const item_def& item_a,
[all …]
H A Dinvent.h82 const item_def *item;
121 const item_def *item;
123 InvEntry(const item_def &i);
154 void add_class_hotkeys(const item_def &i);
181 menu_letter load_items(const vector<const item_def*> &items,
186 menu_letter load_items(const vector<item_def>& items,
224 bool item_is_selected(const item_def &item, int selector);
238 const vector<const item_def*> &items,
246 bool in_inventory(const item_def &i);
265 bool item_is_wieldable(const item_def &item);
[all …]
H A Ditem-use.h15 bool use_an_item(item_def *&target, int item_type, operation_types oper,
24 void drink(item_def* potion = nullptr);
28 bool safe_to_remove(const item_def &item, bool quiet = false);
33 bool puton_ring(item_def &to_puton, bool allow_prompt = true,
37 string cannot_read_item_reason(const item_def *item);
39 void read(item_def* scroll = nullptr, dist *target=nullptr);
45 bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary);
47 bool can_wield(const item_def *weapon, bool say_why = false,
59 bool enchant_weapon(item_def &wpn, bool quiet);
60 bool enchant_armour(int &ac_change, bool quiet, item_def &arm);
H A Ditems.cc1093 void origin_reset(item_def &item) in origin_reset()
1564 bool items_similar(const item_def &item1, const item_def &item2) in items_similar()
1607 bool items_stack(const item_def &item1, const item_def &item2) in items_stack()
1875 for (item_def& it : you.inv) in add_held_books_to_library()
2034 item_def *auto_assign_item_slot(item_def& item) in auto_assign_item_slot()
3354 bool item_def::cursed() const in cursed()
3359 bool item_def::launched_by(const item_def &launcher) const in launched_by()
3367 int item_def::index() const in index()
3411 bool item_def::defined() const in defined()
4473 item_def get_item_known_info(const item_def& item) in get_item_known_info()
[all …]
H A Ditem-prop.cc1064 bool is_helmet(const item_def& item) in is_helmet()
1587 item_def item; in hands_reqd()
1655 bool is_demonic(const item_def &item) in is_demonic()
1688 bool convert2good(item_def &item) in convert2good()
1702 bool convert2bad(item_def &item) in convert2bad()
1781 item_def wpn; in item_attack_skill()
2707 bool is_shield(const item_def &item) in is_shield()
2715 bool is_shield_incompatible(const item_def &weapon, const item_def *shield) in is_shield_incompatible()
2732 void ident_reflector(item_def *item) in ident_reflector()
2792 void seen_item(const item_def &item) in seen_item()
[all …]
H A Dtilepick-p.h13 struct item_def;
16 tileidx_t tilep_equ_weapon(const item_def &item);
17 tileidx_t tilep_equ_shield(const item_def &item);
18 tileidx_t tilep_equ_armour(const item_def &item);
19 tileidx_t tilep_equ_cloak(const item_def &item);
20 tileidx_t tilep_equ_helm(const item_def &item);
21 tileidx_t tilep_equ_gloves(const item_def &item);
22 tileidx_t tilep_equ_boots(const item_def &item);
H A Dstash.h30 static string stash_item_name(const item_def &item);
38 vector<item_def> get_items() const;
76 vector<item_def> items;
78 static bool are_items_same(const item_def &, const item_def &,
105 string shop_item_name(const item_def &it) const;
106 string shop_item_desc(const item_def &it) const;
140 item_def item;
309 const item_def& operator *() const;
310 const item_def* operator->() const;
318 const item_def* m_item;
[all …]
H A Ddescribe.h46 bool is_dumpable_artefact(const item_def &item);
48 string get_item_description(const item_def &item, bool verbose,
56 command_type describe_item_popup(const item_def &item,
59 bool describe_item(item_def &item, function<void (string&)> fixup_desc = nullptr);
60 void get_item_desc(const item_def &item, describe_info &inf);
61 void inscribe_item(item_def &item);
62 void target_item(item_def &item);
75 const item_def* item = nullptr);
100 string artefact_inscription(const item_def& item);
101 void add_inscription(item_def &item, string inscrip);
H A Dartefact.cc243 bool is_known_artefact(const item_def &item) in is_known_artefact()
251 bool is_artefact(const item_def &item) in is_artefact()
257 bool is_random_artefact(const item_def &item) in is_random_artefact()
281 void autoid_unrand(item_def &item) in autoid_unrand()
1008 void artefact_properties(const item_def &item, in artefact_properties()
1562 bool randart_is_bad(const item_def &item) in randart_is_bad()
1673 void make_ashenzari_randart(item_def &item) in make_ashenzari_randart()
1711 item_def doodad; in _make_faerie_armour()
1757 static void _make_octoring(item_def &item) in _make_octoring()
1821 item_def* weapon = you.weapon(); in unrand_reacts()
[all …]
H A Drandbook.h47 void build_themed_book(item_def &book,
57 void init_book_theme_randart(item_def &book, vector<spell_type> spells);
58 void name_book_theme_randart(item_def &book, spschool discipline_1,
62 bool make_book_level_randart(item_def &book, int level = -1, bool sif = false);
63 void make_book_roxanne_special(item_def *book);
64 void acquire_themed_randbook(item_def &book, int agent);
67 void _set_book_spell_list(item_def &book, vector<spell_type> spells);
H A Dtilepick.h21 struct item_def;
47 tileidx_t tileidx_item(const item_def &item);
48 tileidx_t tileidx_item_throw(const item_def &item, int dx, int dy);
64 tileidx_t tileidx_known_brand(const item_def &item);
65 tileidx_t tileidx_corpse_brand(const item_def &item);
70 int enchant_to_int(const item_def &item);
72 tileidx_t tileidx_enchant_equ(const item_def &item, tileidx_t tile,
75 void bind_item_tile(item_def &item);
H A Dfight.h40 bool wielded_weapon_check(const item_def *weapon, string attack_verb="");
66 int weapon_min_delay_skill(const item_def &weapon);
67 int weapon_min_delay(const item_def &weapon, bool check_speed = true);
69 int mons_weapon_damage_rating(const item_def &launcher);
70 int mons_missile_damage(monster* mons, const item_def *launch,
71 const item_def *missile);
72 int mons_usable_missile(monster* mons, item_def **launcher);
H A Dgod-item.cc31 static bool _is_book_type(const item_def& item, in _is_book_type()
57 bool is_holy_item(const item_def& item, bool calc_unid) in is_holy_item()
92 bool is_potentially_evil_item(const item_def& item, bool calc_unid) in is_potentially_evil_item()
129 bool is_evil_item(const item_def& item, bool calc_unid) in is_evil_item()
171 bool is_unclean_item(const item_def& item, bool calc_unid) in is_unclean_item()
187 bool is_chaotic_item(const item_def& item, bool calc_unid) in is_chaotic_item()
238 static bool _is_potentially_hasty_item(const item_def& item) in _is_potentially_hasty_item()
270 bool is_hasty_item(const item_def& item, bool calc_unid) in is_hasty_item()
312 bool is_wizardly_item(const item_def& item, bool calc_unid) in is_wizardly_item()
377 vector<conduct_type> item_conducts(const item_def &item) in item_conducts()
[all …]
H A Ditem-use.cc92 vector<const item_def*> item_inv;
93 vector<const item_def*> item_floor;
377 static bool _safe_to_remove_or_wear(const item_def &item, const item_def
702 item_def& new_wpn = *to_wield; in wield_weapon()
1200 item_def *to_wear = nullptr; in wear_armour()
1423 vector<item_def*> rings; in _prompt_ring_to_remove()
1606 static bool _safe_to_remove_or_wear(const item_def &item, const item_def in _safe_to_remove_or_wear()
1680 item_def* first_ring = nullptr; in _swap_rings()
2304 void drink(item_def* potion) in drink()
2560 item_def *target = nullptr; in _choose_target_item_for_scroll()
[all …]
/dports/games/dungeoncrawl/dc400b26-src/source/
H A Ditemname.h38 int mass_item( const item_def &item );
82 bool item_cursed( const item_def &item );
83 bool item_uncursed( const item_def &item );
92 void do_curse_item( item_def &item );
93 void do_uncurse_item( item_def &item );
109 void set_helmet_random_desc( item_def &item );
111 short get_helmet_type( const item_def &item );
119 int get_weapon_brand( const item_def &item );
120 int get_ammo_brand( const item_def &item );
123 bool item_is_rod( const item_def &item );
[all …]
H A Drandart.h31 bool is_random_artefact( const item_def &item );
32 bool is_unrandom_artefact( const item_def &item );
33 bool is_fixed_artefact( const item_def &item );
41 const char *randart_armour_name( const item_def &item );
46 const char *randart_name( const item_def &item );
51 const char *randart_ring_name( const item_def &item );
56 const char *unrandart_descrip( char which_descrip, const item_def &item );
73 void randart_wpn_properties( const item_def &item,
76 int randart_wpn_property( const item_def &item, char prop );
84 bool make_item_randart( item_def &item );
[all …]
/dports/multimedia/dvdrip/dvdrip-0.98.11/lib/Video/DVDRip/GUI/
H A DPreferences.pm141 if ( $item_def->{avail_method} ) {
142 my $method = $item_def->{avail_method};
148 if ( $item_def->{type} eq 'string' ) {
149 if ( $item_def->{presets} ) {
151 $ff_params{presets} = $item_def->{presets};
157 elsif ( $item_def->{type} eq 'number' ) {
160 elsif ( $item_def->{type} eq 'file' ) {
163 elsif ( $item_def->{type} eq 'dir' ) {
190 elsif ( $item_def->{type} eq 'switch' ) {
195 elsif ( $item_def->{type} eq 'popup' ) {
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/catch2-tests/
H A Dtest_items.cc17 item_def foo;
21 item_def scroll_of_fear;
38 static item_def simple_create_item(object_class_type base_type,
42 static item_def simple_create_item(object_class_type base_type, in simple_create_item()
45 item_def item; in simple_create_item()
62 item_def item = you.inv[i]; in find_inv_index_with_exact_item()
75 item_def scroll_of_fear;
87 item_def item = you.inv[i];
119 item_def item = you.inv[i];
136 static void find_and_equip_exact_item(item_def item){ in find_and_equip_exact_item()
[all …]

123456789