Lines Matching refs:ShipPart

92     std::shared_ptr<GG::Texture> PartBackgroundTexture(const ShipPart* part) {  in PartBackgroundTexture()
110 float GetMainStat(const ShipPart* part) { in GetMainStat()
138 …typedef std::map<std::pair<ShipPartClass, ShipSlotType>, std::vector<const ShipPart*>> PartGroupsT…
1214 PartControl(const ShipPart* part);
1219 const ShipPart* Part() const { return m_part; } in Part()
1231 mutable boost::signals2::signal<void (const ShipPart*, GG::Flags<GG::ModKey>)> ClickedSignal;
1232 mutable boost::signals2::signal<void (const ShipPart*, const GG::Pt& pt)> RightClickedSignal;
1233 mutable boost::signals2::signal<void (const ShipPart*)> DoubleClickedSignal;
1238 const ShipPart* m_part = nullptr;
1241 PartControl::PartControl(const ShipPart* part) : in PartControl()
1336 …mutable boost::signals2::signal<void (const ShipPart*, GG::Flags<GG::ModKey>)> ShipPartClickedSig…
1337 …mutable boost::signals2::signal<void (const ShipPart*)> ShipPartDoubleClic…
1338 …mutable boost::signals2::signal<void (const ShipPart*, const GG::Pt& pt)> ShipPartRightClick…
1347 void CullSuperfluousParts(std::vector<const ShipPart*>& this_group,
1503 bool PartALocationSubsumesPartB(const ShipPart* check_part, const ShipPart* ref_part) { in PartALocationSubsumesPartB()
1528 void PartsListBox::CullSuperfluousParts(std::vector<const ShipPart*>& this_group, in CullSuperfluousParts()
1574 const ShipPart* checkPart = *part_it; in CullSuperfluousParts()
1575 for (const ShipPart* ref_part : this_group) { in CullSuperfluousParts()
1662 std::set<const ShipPart*> already_added; in Populate()
1664 std::multimap<double, const ShipPart*> sorted_group; in Populate()
1665 for (const ShipPart* part : part_group.second) { in Populate()
1674 const ShipPart* part = group.second; in Populate()
1795 …mutable boost::signals2::signal<void (const ShipPart*, GG::Flags<GG::ModKey>)> ShipPartClickedSign…
1796 mutable boost::signals2::signal<void (const ShipPart*)> ShipPartDoubleClickedSignal;
1797 …mutable boost::signals2::signal<void (const ShipPart*, const GG::Pt& pt)> ShipPartRightClickedSign…
1805 void HandleShipPartClicked(const ShipPart*, GG::Flags<GG::ModKey>);
1806 void HandleShipPartRightClicked(const ShipPart*, const GG::Pt& pt);
2013 void DesignWnd::PartPalette::HandleShipPartClicked(const ShipPart* part, GG::Flags<GG::ModKey> modk… in HandleShipPartClicked()
2027 void DesignWnd::PartPalette::HandleShipPartRightClicked(const ShipPart* part, const GG::Pt& pt) { in HandleShipPartRightClicked()
3588 const ShipPart* GetPart() const;
3609 void SetPart(const ShipPart* part = nullptr);
3615 mutable boost::signals2::signal<void (const ShipPart*, bool)> SlotContentsAlteredSignal;
3617 …mutable boost::signals2::signal<void (const ShipPart*, GG::Flags<GG::ModKey>)> ShipPartClickedSign…
3702 const ShipPart* part = part_control->Part(); in DropsAcceptable()
3722 const ShipPart* SlotControl::GetPart() const { in GetPart()
3763 const ShipPart* part = control ? control->Part() : nullptr; in AcceptDrops()
3813 void SlotControl::SetPart(const ShipPart* part) { in SetPart()
3830 [this](const ShipPart*){ this->SlotContentsAlteredSignal(nullptr, false); }); in SetPart() argument
3948 …void SetPart(const ShipPart* part, unsigned int slot, bool emit_signal = false, bool change_all_si…
3962 void AddPart(const ShipPart* part);
3963 bool CanPartBeAdded(const ShipPart* part);
4013 …mutable boost::signals2::signal<void (const ShipPart*, GG::Flags<GG::ModKey>)> ShipPartClickedSign…
4041 bool AddPartEmptySlot(const ShipPart* part, int slot_number);
4045 bool AddPartWithSwapping(const ShipPart* part, std::pair<int, int> swap_and_empty_slot);
4049 int FindEmptySlotForPart(const ShipPart* part);
4062 std::pair<int, int> FindSlotForPartWithSwapping(const ShipPart* part);
4167 const ShipPart* part = slot->GetPart(); in Parts()
4272 void DesignWnd::MainPanel::SetPart(const ShipPart* part, unsigned int slot, in SetPart()
4317 void DesignWnd::MainPanel::AddPart(const ShipPart* part) { in AddPart()
4326 bool DesignWnd::MainPanel::CanPartBeAdded(const ShipPart* part) { in CanPartBeAdded()
4331 bool DesignWnd::MainPanel::AddPartEmptySlot(const ShipPart* part, int slot_number) { in AddPartEmptySlot()
4339 bool DesignWnd::MainPanel::AddPartWithSwapping(const ShipPart* part, in AddPartWithSwapping()
4352 int DesignWnd::MainPanel::FindEmptySlotForPart(const ShipPart* part) { in FindEmptySlotForPart()
4361 const ShipPart* part = slot->GetPart(); in FindEmptySlotForPart()
4371 const ShipPart* slotted_part = m_slots[i]->GetPart(); in FindEmptySlotForPart()
4385 std::pair<int, int> DesignWnd::MainPanel::FindSlotForPartWithSwapping(const ShipPart* part) { in FindSlotForPartWithSwapping()
4395 const ShipPart* existing_part = slot->GetPart(); in FindSlotForPartWithSwapping()
4444 const ShipPart* existing_part = slot->GetPart(); in ClearPart()
4575 const ShipPart*, unsigned int, bool, bool)>(&DesignWnd::MainPanel::SetPart), in Populate()
4703 const ShipPart* part = GetShipPart(part_name); in DesignChanged()
5076 boost::bind(static_cast<void (EncyclopediaDetailPanel::*)(const ShipPart*)>( in CompleteConstruction()
5090 boost::bind(static_cast<void (EncyclopediaDetailPanel::*)(const ShipPart*)>( in CompleteConstruction()