Home
last modified time | relevance | path

Searched refs:isTwoHanded (Results 1 – 17 of 17) sorted by relevance

/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DUnitSprite.cpp310 if(_itemA->getRules()->isTwoHanded()) in drawRoutine0()
329 if (_itemA->getRules()->isTwoHanded()) in drawRoutine0()
357 if (_itemA->getRules()->isTwoHanded()) in drawRoutine0()
364 if (_itemA->getRules()->isTwoHanded()) in drawRoutine0()
374 if (!_itemB->getRules()->isTwoHanded()) in drawRoutine0()
417 if (_itemB->getRules()->isTwoHanded()) in drawRoutine0()
424 if (_itemB->getRules()->isTwoHanded()) in drawRoutine0()
608 if (_itemA->getRules()->isTwoHanded()) in drawRoutine1()
631 if (!_itemB->getRules()->isTwoHanded()) in drawRoutine1()
656 if (_itemB->getRules()->isTwoHanded()) in drawRoutine1()
[all …]
H A DTileEngine.cpp2848 …= action.weapon->getOwner()->getItem("STR_LEFT_HAND") && !action.weapon->getRules()->isTwoHanded()) in getOriginVoxel()
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dobjproto.cpp84 bool ProtoObj::isTwoHanded(ObjectID) { in isTwoHanded() function in Saga2::ProtoObj
1554 if (dObjPtr->proto()->isTwoHanded(enactor) in useAction()
1556 && leftHandObjectPtr->proto()->isTwoHanded(enactor))) in useAction()
1641 bool MeleeWeaponProto::isTwoHanded(ObjectID attackerID) { in isTwoHanded() function in Saga2::MeleeWeaponProto
1663 if (isTwoHanded(attacker)) in initiateAttack()
1682 if (isTwoHanded(defender)) in initiateDefense()
1758 return !isTwoHanded(a->thisID()) in useSlotAvailable()
1868 bool BowProto::isTwoHanded(ObjectID) { in isTwoHanded() function in Saga2::BowProto
1986 bool WeaponWandProto::isTwoHanded(ObjectID) { in isTwoHanded() function in Saga2::WeaponWandProto
2268 if (rightHandObjectPtr->proto()->isTwoHanded(enactor)) in useAction()
[all …]
H A Dobjproto.h440 virtual bool isTwoHanded(ObjectID actor);
1016 virtual bool isTwoHanded(ObjectID actor);
1106 virtual bool isTwoHanded(ObjectID actor);
1143 virtual bool isTwoHanded(ObjectID actor);
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/
H A DItemModel.h74 virtual bool isTwoHanded() const;
H A DItemModel.cc101 bool ItemModel::isTwoHanded() const { return fFlags & ITEM_TWO_HANDED; } in isTwoHanded() function in ItemModel
/dports/games/openxcom/OpenXcom-1.0/src/Ruleset/
H A DRuleItem.h101 bool isTwoHanded() const;
H A DRuleItem.cpp301 bool RuleItem::isTwoHanded() const in isTwoHanded() function in OpenXcom::RuleItem
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DItems.cc505 if (bLoop == SECONDHANDPOS && GCM->getItem(pSoldier->inv[HANDPOS].usItem)->isTwoHanded()) in FindEmptySlotWithin()
1785 if (GCM->getItem(pSoldier->inv[HANDPOS].usItem)->isTwoHanded()) in CanItemFitInPosition()
1791 if (GCM->getItem(pObj->usItem)->isTwoHanded()) in CanItemFitInPosition()
1974 if (bPos == HANDPOS && GCM->getItem(pInSlot->usItem)->isTwoHanded()) in PlaceObject()
2072 if ( (GCM->getItem(pObj->usItem)->isTwoHanded()) && (bPos == HANDPOS) ) in PlaceObject()
2126 if (!(pItem->isTwoHanded())) in InternalAutoPlaceObject()
2138 …else if ( !(GCM->getItem(pSoldier->inv[HANDPOS].usItem)->isTwoHanded()) && pSoldier->inv[SECONDHAN… in InternalAutoPlaceObject()
3355 if ( GCM->getItem( pSoldier->inv[SECONDHANDPOS].usItem )->isTwoHanded() ) in SwapHandItems()
H A DSoldier_Profile.cc718 if ( GCM->getItem(pNewSoldier->inv[ bSlot ].usItem)->isTwoHanded() ) in RecruitRPC()
H A DAnimation_Control.cc2710 if ( (GCM->getItem(usItem)->isTwoHanded()) ) in DetermineSoldierAnimationSurface()
2758 if ( !(GCM->getItem(usItem)->isTwoHanded()) ) in DetermineSoldierAnimationSurface()
2773 if( !GCM->getItem(pSoldier->inv[SECONDHANDPOS].usItem)->isTwoHanded() ) in DetermineSoldierAnimationSurface()
H A DSoldier_Control.cc903 GCM->getItem(item_id)->isTwoHanded(); in IsRifle()
7895 if ( usItem != NOTHING && (GCM->getItem(usItem)->isTwoHanded()) ) in SoldierCarriesTwoHandedWeapon()
8735 !(GCM->getItem(o.usItem)->isTwoHanded()) && in IsValidSecondHandShot()
H A DSoldier_Ani.cc1417 if ( (GCM->getItem(usItem)->isTwoHanded()) ) in AdjustToNextAnimationFrame()
H A DWeapons.cc2175 if (GCM->getItem(usInHand)->isWeapon() && !(GCM->getItem(usInHand)->isTwoHanded())) in CalcChanceToHitGun()
H A DInterface_Items.cc815 if (pocket == SECONDHANDPOS && GCM->getItem(s.inv[HANDPOS].usItem)->isTwoHanded()) in INVRenderINVPanelItem()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TacticalAI/
H A DAttacks.cc1631 …m)->getItemClass() == IC_GUN) && !(GCM->getItem(pSoldier->inv[ HANDPOS ].usItem)->isTwoHanded() ) ) in CanNPCAttack()
1635 …->getItemClass() == IC_GUN) && !(GCM->getItem(pSoldier->inv[ bWeaponIn ].usItem)->isTwoHanded() ) ) in CanNPCAttack()
/dports/games/openxcom/OpenXcom-1.0/src/Savegame/
H A DBattleUnit.cpp1311 if (item->getRules()->isTwoHanded()) in getFiringAccuracy()
1335 if (item->getRules()->isTwoHanded()) in getAccuracyModifier()