/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | transform.h | 84 bool can_wield() const { return slot_available(EQ_WEAPON); } in can_wield() function 144 virtual bool can_offhand_punch() const { return can_wield(); } in can_offhand_punch()
|
H A D | item-use.h | 47 bool can_wield(const item_def *weapon, bool say_why = false,
|
H A D | actor.cc | 66 bool actor::can_wield(const item_def* item, bool ignore_curse, in can_wield() function in actor 75 return can_wield(fake, ignore_curse, ignore_brand, ignore_shield, ignore_transform); in can_wield() 78 return can_wield(*item, ignore_curse, ignore_brand, ignore_shield, ignore_transform); in can_wield()
|
H A D | actor.h | 131 bool can_wield(const item_def* item, 136 virtual bool can_wield(const item_def &item,
|
H A D | item-use.cc | 384 bool can_wield(const item_def *weapon, bool say_reason, in can_wield() function 584 if (!can_wield(nullptr, true, false, slot == SLOT_BARE_HANDS)) in wield_weapon() 717 if (!can_wield(&new_wpn, true)) in wield_weapon() 721 if (!can_wield(&new_wpn, true, false, false, false)) in wield_weapon()
|
H A D | ng-setup.cc | 163 if ((item.base_type == OBJ_WEAPONS && can_wield(&item, false, false) in newgame_make_item()
|
H A D | player-act.cc | 344 bool player::can_wield(const item_def& item, bool ignore_curse, in can_wield() function in player
|
H A D | tilereg-inv.cc | 424 if (wielded || you.can_wield(item)) in update_tip_text()
|
H A D | monster.h | 304 bool can_wield(const item_def &item,
|
H A D | fight.cc | 733 { return is_melee_weapon(it) && can_wield(&it); }))) in wielded_weapon_check()
|
H A D | player.h | 666 bool can_wield(const item_def &item,
|
H A D | acquire.cc | 1170 && !can_wield(&item, false, true) in _why_reject()
|
H A D | transform.cc | 1126 return get_form(form)->can_wield(); in form_can_wield()
|
H A D | invent.cc | 1777 if (!you.can_wield(item)) in check_warning_inscriptions()
|
H A D | mutation.cc | 786 if (!terse && !form->can_wield() && !you.has_mutation(MUT_NO_GRASPING)) in _get_mutations()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | avatar_action.cpp | 889 const ret_val<bool> ret = you.can_wield( *loc ); in plthrow() 1020 } else if( you.can_wield( *loc ).success() && loc->is_holster() && !loc.held_by( you ) ) { in use_item()
|
H A D | pickup.cpp | 309 const auto wield_check = player_character.can_wield( newit ); in pick_one_up()
|
H A D | avatar.cpp | 1571 if( !can_wield( target ).success() ) { in wield()
|
H A D | character.h | 883 ret_val<bool> can_wield( const item &it ) const;
|
H A D | game_inventory.cpp | 1337 const auto ret = p.can_wield( *loc ); in get_denial()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | avatar_action.cpp | 889 const ret_val<bool> ret = you.can_wield( *loc ); in plthrow() 1020 } else if( you.can_wield( *loc ).success() && loc->is_holster() && !loc.held_by( you ) ) { in use_item()
|
H A D | pickup.cpp | 309 const auto wield_check = player_character.can_wield( newit ); in pick_one_up()
|
H A D | avatar.cpp | 1571 if( !can_wield( target ).success() ) { in wield()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | effective_dps_test.cpp | 26 REQUIRE( attacker.can_wield( weapon ).success() ); in weapon_dps_trials()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | effective_dps_test.cpp | 26 REQUIRE( attacker.can_wield( weapon ).success() ); in weapon_dps_trials()
|