Home
last modified time | relevance | path

Searched refs:isLoadableInWeapon (Results 1 – 9 of 9) sorted by relevance

/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/
H A Dcp_team.cpp85 if (od->isLoadableInWeapon(type)) { in CP_AddWeaponAmmo()
114 if (od->isLoadableInWeapon(type) && ed->numItemsLoose[i] > item->getAmmoLeft()) { in CP_AddWeaponAmmo()
/dports/games/ufoai/ufoai-2.5-source/src/game/
H A Dinventory.cpp357 if (ic && !to->isEquipDef() && fItem->def()->isLoadableInWeapon(ic->def())) { in moveInInventory()
608 if (ed->numItems[i] && obj->isLoadableInWeapon(weapon)) { in PackAmmoAndWeapon()
616 if (ed->numItems[i] && obj->isLoadableInWeapon(weapon)) { in PackAmmoAndWeapon()
794 if (ed->numItems[ammo] && this->csi->ods[ammo].isLoadableInWeapon(primaryWeapon)) in EquipActor()
H A Dinv_shared.h349 bool isLoadableInWeapon (const objDef_s* weapon) const;
H A Dg_actor.cpp781 if (item->def()->isLoadableInWeapon(weapon)) { in G_ActorReload()
H A Dinv_shared.cpp362 bool objDef_t::isLoadableInWeapon (const objDef_t* weapon) const in isLoadableInWeapon() function in objDef_t
H A Dg_client.cpp557 if (item->def()->isLoadableInWeapon(weapon)) in G_ClientCanReload()
/dports/games/ufoai/ufoai-2.5-source/src/client/ui/node/
H A Dui_node_container.cpp454 if (highlightType && highlightType->isLoadableInWeapon(item->def())) in UI_ContainerNodeDrawSingle()
482 if (highlightType && highlightType->isLoadableInWeapon(item->def())) { in UI_ContainerNodeDrawSingle()
513 if (highlightType && highlightType->isLoadableInWeapon(item->def())) in UI_ContainerNodeDrawGrid()
947 return dragItem->def()->isLoadableInWeapon(fItem->def());
H A Dui_node_baseinventory.cpp289 isHighlight = obj->isLoadableInWeapon(highlightType); in UI_BaseInventoryNodeDrawItems()
291 isHighlight = highlightType->isLoadableInWeapon(obj); in UI_BaseInventoryNodeDrawItems()
/dports/games/ufoai/ufoai-2.5-source/src/client/battlescape/
H A Dcl_actor.cpp971 if (!od->isLoadableInWeapon(weapon) || !GAME_ItemIsUseable(od)) in CL_ActorGetContainerForReload()