Home
last modified time | relevance | path

Searched refs:InventoryStore (Results 1 – 25 of 50) sorted by relevance

12

/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwworld/
H A Dinventorystore.cpp24 void MWWorld::InventoryStore::copySlots (const InventoryStore& store) in copySlots()
29 const_cast<InventoryStore&> (store).mSlots.begin()); in copySlots()
30 iter!=const_cast<InventoryStore&> (store).mSlots.end(); ++iter) in copySlots()
43 …d::size_t distance = std::distance (const_cast<InventoryStore&> (store).begin(), const_cast<Invent… in copySlots()
49 void MWWorld::InventoryStore::initSlots (TSlots& slots_) in initSlots()
99 MWWorld::InventoryStore::InventoryStore() in InventoryStore() function in MWWorld::InventoryStore
109 MWWorld::InventoryStore::InventoryStore (const InventoryStore& store) in InventoryStore() function in MWWorld::InventoryStore
121 MWWorld::InventoryStore& MWWorld::InventoryStore::operator= (const InventoryStore& store) in operator =()
193 void MWWorld::InventoryStore::unequipAll(const MWWorld::Ptr& actor) in unequipAll()
977 void MWWorld::InventoryStore::clear() in clear()
[all …]
H A Dinventorystore.hpp41 class InventoryStore : public ContainerStore class
105 void copySlots (const InventoryStore& store);
120 InventoryStore();
122 InventoryStore (const InventoryStore& store);
124 InventoryStore& operator= (const InventoryStore& store);
126 …td::unique_ptr<ContainerStore> clone() override { return std::make_unique<InventoryStore>(*this); } in clone()
H A Dclass.hpp49 class InventoryStore;
154 virtual InventoryStore& getInventoryStore (const Ptr& ptr) const;
H A Dactionequip.cpp25 MWWorld::InventoryStore& invStore = actor.getClass().getInventoryStore(actor); in executeImp()
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/
H A Dtickableeffects.cpp32 MWWorld::InventoryStore& inv = ptr.getClass().getInventoryStore(ptr); in disintegrateSlot()
134 MWWorld::InventoryStore::Slot_CarriedLeft, in effectTick()
135 MWWorld::InventoryStore::Slot_Cuirass, in effectTick()
136 MWWorld::InventoryStore::Slot_LeftPauldron, in effectTick()
137 MWWorld::InventoryStore::Slot_RightPauldron, in effectTick()
138 MWWorld::InventoryStore::Slot_LeftGauntlet, in effectTick()
139 MWWorld::InventoryStore::Slot_RightGauntlet, in effectTick()
140 MWWorld::InventoryStore::Slot_Helmet, in effectTick()
141 MWWorld::InventoryStore::Slot_Greaves, in effectTick()
142 MWWorld::InventoryStore::Slot_Boots in effectTick()
[all …]
H A Dweapontype.cpp9 MWWorld::InventoryStore &inv = actor.getClass().getInventoryStore(actor); in getActiveWeapon()
19 … MWWorld::ContainerStoreIterator weapon = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight); in getActiveWeapon()
37 return inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight); in getActiveWeapon()
H A Dspellpriority.cpp159 MWWorld::InventoryStore& store = actor.getClass().getInventoryStore(actor); in rateMagicItem()
461 MWWorld::InventoryStore& inv = enemy.getClass().getInventoryStore(enemy); in rateEffect()
465 MWWorld::InventoryStore::Slot_CarriedLeft, in rateEffect()
466 MWWorld::InventoryStore::Slot_Cuirass, in rateEffect()
467 MWWorld::InventoryStore::Slot_LeftPauldron, in rateEffect()
468 MWWorld::InventoryStore::Slot_RightPauldron, in rateEffect()
469 MWWorld::InventoryStore::Slot_LeftGauntlet, in rateEffect()
470 MWWorld::InventoryStore::Slot_RightGauntlet, in rateEffect()
471 MWWorld::InventoryStore::Slot_Helmet, in rateEffect()
472 MWWorld::InventoryStore::Slot_Greaves, in rateEffect()
[all …]
H A Daicombataction.cpp46 MWWorld::InventoryStore& inv = actor.getClass().getInventoryStore(actor); in prepare()
97 …actor.getClass().getInventoryStore(actor).unequipSlot(MWWorld::InventoryStore::Slot_CarriedRight, … in prepare()
160 MWWorld::InventoryStore& store = actor.getClass().getInventoryStore(actor); in prepareNextAction()
244 MWWorld::InventoryStore& store = actor.getClass().getInventoryStore(actor); in getBestActionRating()
308 MWWorld::InventoryStore& invStore = actor.getClass().getInventoryStore(actor); in getMaxAttackDistance()
310 …MWWorld::ContainerStoreIterator item = invStore.getSlot(MWWorld::InventoryStore::Slot_CarriedRight… in getMaxAttackDistance()
314 item = invStore.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in getMaxAttackDistance()
H A Dactors.cpp63 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_Boots; in getBoundItemSlot()
66 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_Cuirass; in getBoundItemSlot()
69 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_LeftGauntlet; in getBoundItemSlot()
72 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_RightGauntlet; in getBoundItemSlot()
75 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_Helmet; in getBoundItemSlot()
78 boundItemsMap[boundId] = MWWorld::InventoryStore::Slot_CarriedLeft; in getBoundItemSlot()
81 int slot = MWWorld::InventoryStore::Slot_CarriedRight; in getBoundItemSlot()
344 MWWorld::InventoryStore& store = actor.getClass().getInventoryStore(actor); in addBoundItem()
371 if (slot == MWWorld::InventoryStore::Slot_CarriedRight) in addBoundItem()
380 MWWorld::InventoryStore& store = actor.getClass().getInventoryStore(actor); in removeBoundItem()
[all …]
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwrender/
H A Dcreatureanimation.cpp98 updatePart(mWeapon, MWWorld::InventoryStore::Slot_CarriedRight); in updateParts()
100 updatePart(mShield, MWWorld::InventoryStore::Slot_CarriedLeft); in updateParts()
108 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in updatePart()
120 if (slot == MWWorld::InventoryStore::Slot_CarriedRight) in updatePart()
176 if (slot == MWWorld::InventoryStore::Slot_CarriedRight && in updatePart()
181 … MWWorld::ConstContainerStoreIterator ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in updatePart()
192 if (slot == MWWorld::InventoryStore::Slot_CarriedRight) in updatePart()
221 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in attachArrow()
222 … MWWorld::ConstContainerStoreIterator ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in attachArrow()
247 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in getArrowBone()
[all …]
H A Dactoranimation.cpp143 const MWWorld::InventoryStore& inv = cls.getInventoryStore(mPtr); in updateCarriedLeftVisible()
185 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in updateHolsteredShield()
186 …MWWorld::ConstContainerStoreIterator shield = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedLef… in updateHolsteredShield()
253 const MWWorld::InventoryStore& inv = cls.getInventoryStore(mPtr); in useShieldAnimations()
324 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in updateHolsteredWeapon()
400 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in updateQuiver()
431 ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in updateQuiver()
487 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in itemAdded()
497 ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in itemAdded()
521 const MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr); in itemRemoved()
[all …]
H A Dnpcanimation.cpp599 { MWWorld::InventoryStore::Slot_Robe, 11 }, in updateParts()
600 { MWWorld::InventoryStore::Slot_Skirt, 3 }, in updateParts()
601 { MWWorld::InventoryStore::Slot_Helmet, 0 }, in updateParts()
602 { MWWorld::InventoryStore::Slot_Cuirass, 0 }, in updateParts()
603 { MWWorld::InventoryStore::Slot_Greaves, 0 }, in updateParts()
604 { MWWorld::InventoryStore::Slot_LeftPauldron, 0 }, in updateParts()
605 { MWWorld::InventoryStore::Slot_RightPauldron, 0 }, in updateParts()
606 { MWWorld::InventoryStore::Slot_Boots, 0 }, in updateParts()
607 { MWWorld::InventoryStore::Slot_LeftGauntlet, 0 }, in updateParts()
608 { MWWorld::InventoryStore::Slot_RightGauntlet, 0 }, in updateParts()
[all …]
H A Dweaponanimation.cpp65 const MWWorld::InventoryStore& inv = actor.getClass().getInventoryStore(actor); in attachArrow()
66 …MWWorld::ConstContainerStoreIterator weaponSlot = inv.getSlot(MWWorld::InventoryStore::Slot_Carrie… in attachArrow()
90 … MWWorld::ConstContainerStoreIterator ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in attachArrow()
108 MWWorld::InventoryStore& inv = actor.getClass().getInventoryStore(actor); in releaseArrow()
109 … MWWorld::ContainerStoreIterator weapon = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight); in releaseArrow()
149 … MWWorld::ContainerStoreIterator ammo = inv.getSlot(MWWorld::InventoryStore::Slot_Ammunition); in releaseArrow()
H A Dcharacterpreview.cpp353 MWWorld::InventoryStore &inv = mCharacter.getClass().getInventoryStore(mCharacter); in update()
354 … MWWorld::ContainerStoreIterator iter = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight); in update()
392 …MWWorld::ConstContainerStoreIterator torch = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedLeft… in update()
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwscript/
H A Dcontainerextensions.cpp343 slot = MWWorld::InventoryStore::Slot_Helmet; in execute()
346 slot = MWWorld::InventoryStore::Slot_Cuirass; in execute()
349 slot = MWWorld::InventoryStore::Slot_LeftPauldron; in execute()
352 slot = MWWorld::InventoryStore::Slot_RightPauldron; in execute()
355 slot = MWWorld::InventoryStore::Slot_Greaves; in execute()
358 slot = MWWorld::InventoryStore::Slot_Boots; in execute()
361 slot = MWWorld::InventoryStore::Slot_LeftGauntlet; in execute()
364 slot = MWWorld::InventoryStore::Slot_RightGauntlet; in execute()
370 slot = MWWorld::InventoryStore::Slot_LeftGauntlet; in execute()
373 slot = MWWorld::InventoryStore::Slot_RightGauntlet; in execute()
[all …]
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwclass/
H A Dclothing.cpp77 slots_.push_back (int (MWWorld::InventoryStore::Slot_LeftRing)); in getEquipmentSlots()
78 slots_.push_back (int (MWWorld::InventoryStore::Slot_RightRing)); in getEquipmentSlots()
86 { ESM::Clothing::Shirt, MWWorld::InventoryStore::Slot_Shirt }, in getEquipmentSlots()
87 { ESM::Clothing::Belt, MWWorld::InventoryStore::Slot_Belt }, in getEquipmentSlots()
88 { ESM::Clothing::Robe, MWWorld::InventoryStore::Slot_Robe }, in getEquipmentSlots()
89 { ESM::Clothing::Pants, MWWorld::InventoryStore::Slot_Pants }, in getEquipmentSlots()
90 { ESM::Clothing::Shoes, MWWorld::InventoryStore::Slot_Boots }, in getEquipmentSlots()
91 { ESM::Clothing::LGlove, MWWorld::InventoryStore::Slot_LeftGauntlet }, in getEquipmentSlots()
92 { ESM::Clothing::RGlove, MWWorld::InventoryStore::Slot_RightGauntlet }, in getEquipmentSlots()
93 { ESM::Clothing::Skirt, MWWorld::InventoryStore::Slot_Skirt }, in getEquipmentSlots()
[all …]
H A Darmor.cpp96 { ESM::Armor::Helmet, MWWorld::InventoryStore::Slot_Helmet }, in getEquipmentSlots()
97 { ESM::Armor::Cuirass, MWWorld::InventoryStore::Slot_Cuirass }, in getEquipmentSlots()
98 { ESM::Armor::LPauldron, MWWorld::InventoryStore::Slot_LeftPauldron }, in getEquipmentSlots()
99 { ESM::Armor::RPauldron, MWWorld::InventoryStore::Slot_RightPauldron }, in getEquipmentSlots()
100 { ESM::Armor::Greaves, MWWorld::InventoryStore::Slot_Greaves }, in getEquipmentSlots()
101 { ESM::Armor::Boots, MWWorld::InventoryStore::Slot_Boots }, in getEquipmentSlots()
102 { ESM::Armor::LGauntlet, MWWorld::InventoryStore::Slot_LeftGauntlet }, in getEquipmentSlots()
104 { ESM::Armor::Shield, MWWorld::InventoryStore::Slot_CarriedLeft }, in getEquipmentSlots()
105 { ESM::Armor::LBracer, MWWorld::InventoryStore::Slot_LeftGauntlet }, in getEquipmentSlots()
106 { ESM::Armor::RBracer, MWWorld::InventoryStore::Slot_RightGauntlet } in getEquipmentSlots()
[all …]
H A Dnpc.cpp744 MWWorld::InventoryStore::Slot_Cuirass, MWWorld::InventoryStore::Slot_Cuirass, in onHit()
745 MWWorld::InventoryStore::Slot_Cuirass, MWWorld::InventoryStore::Slot_Cuirass, in onHit()
746 MWWorld::InventoryStore::Slot_Cuirass, MWWorld::InventoryStore::Slot_Cuirass, in onHit()
747 … MWWorld::InventoryStore::Slot_CarriedLeft, MWWorld::InventoryStore::Slot_CarriedLeft, in onHit()
748 MWWorld::InventoryStore::Slot_Helmet, MWWorld::InventoryStore::Slot_Helmet, in onHit()
749 MWWorld::InventoryStore::Slot_Greaves, MWWorld::InventoryStore::Slot_Greaves, in onHit()
750 MWWorld::InventoryStore::Slot_Boots, MWWorld::InventoryStore::Slot_Boots, in onHit()
751 … MWWorld::InventoryStore::Slot_LeftPauldron, MWWorld::InventoryStore::Slot_LeftPauldron, in onHit()
752 … MWWorld::InventoryStore::Slot_RightPauldron, MWWorld::InventoryStore::Slot_RightPauldron, in onHit()
753 … MWWorld::InventoryStore::Slot_LeftGauntlet, MWWorld::InventoryStore::Slot_RightGauntlet in onHit()
[all …]
H A Dactor.cpp46 const MWWorld::InventoryStore& inv = getInventoryStore(ptr); in block()
47 …MWWorld::ConstContainerStoreIterator shield = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedLef… in block()
H A Dcreature.cpp149 data->mContainerStore = std::make_unique<MWWorld::InventoryStore>(); in ensureCustomData()
193 const MWWorld::InventoryStore& invStore = getInventoryStore(ptr); in getModelsToPreload()
194 for (int slot = 0; slot < MWWorld::InventoryStore::Slots; ++slot) in getModelsToPreload()
237 MWWorld::InventoryStore &inv = getInventoryStore(ptr); in hit()
238 …MWWorld::ContainerStoreIterator weaponslot = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRigh… in hit()
469 MWWorld::InventoryStore& Creature::getInventoryStore(const MWWorld::Ptr &ptr) const in getInventoryStore()
472 return dynamic_cast<MWWorld::InventoryStore&>(getContainerStore(ptr)); in getInventoryStore()
759 data->mContainerStore = std::make_unique<MWWorld::InventoryStore>(); in readAdditionalState()
H A Dweapon.cpp100 slots_.push_back (int (MWWorld::InventoryStore::Slot_Ammunition)); in getEquipmentSlots()
105 slots_.push_back (int (MWWorld::InventoryStore::Slot_CarriedRight)); in getEquipmentSlots()
109 slots_.push_back (int (MWWorld::InventoryStore::Slot_CarriedRight)); in getEquipmentSlots()
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwgui/
H A Dinventoryitemmodel.cpp62 MWWorld::InventoryStore& store = mActor.getClass().getInventoryStore(mActor); in removeItem()
113 MWWorld::InventoryStore& invStore = mActor.getClass().getInventoryStore(mActor); in update()
H A Dquickkeysmenu.cpp87 MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); in onOpen()
334 MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); in activateQuickKey()
407 …orld::ConstContainerStoreIterator rightHand = store.getSlot(MWWorld::InventoryStore::Slot_CarriedR… in activateQuickKey()
451 store.unequipSlot(MWWorld::InventoryStore::Slot_CarriedRight, player); in activateQuickKey()
554 MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); in readRecord()
H A Dspellwindow.cpp112 MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); in onEnchantedItemSelected()
214 MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); in onSpellSelected()
H A Dinventorywindow.cpp51 …return (!equipmentSlots.empty() && equipmentSlots.front() == MWWorld::InventoryStore::Slot_Carried… in isRightHandWeapon()
284 MWWorld::InventoryStore& invStore = mPtr.getClass().getInventoryStore(mPtr); in onItemSelectedFromSourceModel()
321 MWWorld::InventoryStore& invStore = mPtr.getClass().getInventoryStore(mPtr); in ensureSelectedItemUnequipped()
645 MWWorld::InventoryStore& invStore = mPtr.getClass().getInventoryStore(mPtr); in getAvatarSelectedItem()

12