Home
last modified time | relevance | path

Searched refs:ShipPart (Results 1 – 25 of 25) sorted by last modified time

/dports/games/freeorion/freeorion-0.4.10.2/universe/
H A DShipPart.cpp141 ShipPart::ShipPart() : in ShipPart() function in ShipPart
145 ShipPart::ShipPart(ShipPartClass part_class, double capacity, double stat2, in ShipPart() function in ShipPart
259 ShipPart::~ShipPart() in ~ShipPart()
262 float ShipPart::Capacity() const { in Capacity()
279 float ShipPart::SecondaryStat() const { in SecondaryStat()
289 std::string ShipPart::CapacityDescription() const { in CapacityDescription()
320 bool ShipPart::CanMountInSlotType(ShipSlotType slot_type) const { in CanMountInSlotType()
329 bool ShipPart::ProductionCostTimeLocationInvariant() const { in ProductionCostTimeLocationInvariant()
385 unsigned int ShipPart::GetCheckSum() const { in GetCheckSum()
420 const ShipPart* ShipPartManager::GetShipPart(const std::string& name) const { in GetShipPart()
[all …]
H A DShipPart.h39 class FO_COMMON_API ShipPart {
41 ShipPart();
43 ShipPart(ShipPartClass part_class, double capacity, double stat2,
49 ~ShipPart();
164 void ShipPart::serialize(Archive& ar, const unsigned int version) in serialize()
190 using ShipPartMap = std::map<std::string, std::unique_ptr<ShipPart>>;
195 auto GetShipPart(const std::string& name) const -> const ShipPart*;
240 FO_COMMON_API const ShipPart* GetShipPart(const std::string& name);
H A DUniverse.cpp1418 const ShipPart* ship_part = GetShipPart(part); in GetEffectsAndTargets()
1449 const ShipPart* ship_part = entry.second.get(); in GetEffectsAndTargets()
H A DShip.cpp63 const ShipPart* part = GetShipPart(part_name); in Ship()
175 if (const ShipPart* part = GetShipPart(part_name)) { in Tags()
193 const ShipPart* part = GetShipPart(part_name); in HasTag()
295 const ShipPart* part = GetShipPart(part_name); in ColonyCapacity()
318 const ShipPart* part = GetShipPart(part_name); in TroopCapacity()
403 const ShipPart* part = GetShipPart(part_name); in SumCurrentPartMeterValuesForPartClass()
418 const ShipPart* part = GetShipPart(entry.first.second); in FighterCount()
433 const ShipPart* part = GetShipPart(entry.first.second); in FighterMax()
472 const ShipPart* part = GetShipPart(part_name); in WeaponDamageImpl()
H A DConditions.cpp5308 if (const ShipPart* ship_part = GetShipPart(name)) { in operator ()()
H A DShipDesign.cpp191 if (const ShipPart* part = GetShipPart(part_name)) in ProductionCostTimeLocationInvariant()
209 if (const ShipPart* part = GetShipPart(part_name)) { in ProductionCost()
234 if (const ShipPart* part = GetShipPart(part_name)) in ProductionTime()
247 if (const ShipPart* part = GetShipPart(part_name)) in CanColonize()
259 const ShipPart* part = part_manager.GetShipPart(part_name); in Defense()
280 const ShipPart* part = GetShipPart(part_name); in AdjustedAttack()
342 const ShipPart* part = GetShipPart(part_name); in Weapons()
412 const ShipPart* part = GetShipPart(part_name); in ProductionLocation()
610 const ShipPart* part = GetShipPart(part_name); in BuildStatCaches()
H A DValueRefs.cpp1682 const ShipPart* part = GetShipPart(part_name); in Eval()
1878 const ShipPart* ship_part = GetShipPart(ship_part_name); in Eval()
1890 const ShipPart* ship_part = GetShipPart(ship_part_name); in Eval()
/dports/games/freeorion/freeorion-0.4.10.2/parse/
H A DTokens.h445 (ShipPart) \
H A DShipPartsParser.cpp27 …inline ostream& operator<<(ostream& os, const std::map<std::string, std::unique_ptr<ShipPart>>&) {… in operator <<() argument
28 …rator<<(ostream& os, const std::pair<const std::string, std::unique_ptr<ShipPart>>&) { return os; } in operator <<() argument
45 void insert_shippart(std::map<std::string, std::unique_ptr<ShipPart>>& ship_parts, in insert_shippart()
60 auto ship_part = std::make_unique<ShipPart>( in insert_shippart()
75 using start_rule_payload = std::map<std::string, std::unique_ptr<ShipPart>>;
H A DParse.h24 class ShipPart; variable
57 …FO_PARSE_API std::map<std::string, std::unique_ptr<ShipPart>> ship_parts(const boost::filesystem::…
/dports/games/freeorion/freeorion-0.4.10.2/util/
H A DVarText.cpp25 class ShipPart;
32 const ShipPart* GetShipPart(const std::string& name);
159 { return NameString<ShipPart, GetShipPart>(data, VarText::SHIP_PART_TAG); }}, in SubstitutionMap()
/dports/games/freeorion/freeorion-0.4.10.2/python/
H A DUniverseWrapper.cpp232 const ShipPart* part = GetShipPart(part_name); in AttackStatsP()
270 bool ShipPartProductionLocation(const ShipPart& part_type, int location_id) { in ShipPartProductionLocation()
672 class_<ShipPart, noncopyable>("shipPart", no_init) in WrapUniverseClasses()
674 .add_property("partClass", &ShipPart::Class) in WrapUniverseClasses()
675 .add_property("capacity", &ShipPart::Capacity) in WrapUniverseClasses()
676 .add_property("secondaryStat", &ShipPart::SecondaryStat) in WrapUniverseClasses()
677 ….add_property("mountableSlotTypes", make_function(&ShipPart::MountableSlotTypes,return_value_polic… in WrapUniverseClasses()
678 .def("productionCost", &ShipPart::ProductionCost) in WrapUniverseClasses()
679 .def("productionTime", &ShipPart::ProductionTime) in WrapUniverseClasses()
680 .def("canMountInSlotType", &ShipPart::CanMountInSlotType) in WrapUniverseClasses()
[all …]
/dports/games/freeorion/freeorion-0.4.10.2/Empire/
H A DProductionQueue.cpp445 const ShipPart* part = GetShipPart(part_name); in CompletionSpecialConsumption()
498 const ShipPart* pt = GetShipPart(part_name); in CompletionMeterConsumption()
H A DEmpire.cpp1429 const ShipPart* ship_part = GetShipPart(name); in AddShipPart()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DBuildDesignatorWnd.cpp292 if (const ShipPart* part = GetShipPart(part_name)) in LocationConditionDescription()
H A DEncyclopediaDetailPanel.cpp1201 const ShipPart* part = GetShipPart(item_name); in RefreshDetailPanelShipPartTag()
3263 void EncyclopediaDetailPanel::SetItem(const ShipPart* part) in SetItem()
H A DEncyclopediaDetailPanel.h15 class ShipPart; variable
60 void SetItem(const ShipPart* part);
H A DDesignWnd.cpp110 float GetMainStat(const ShipPart* part) { in GetMainStat()
1214 PartControl(const ShipPart* part);
1241 PartControl::PartControl(const ShipPart* part) : in PartControl()
1503 bool PartALocationSubsumesPartB(const ShipPart* check_part, const ShipPart* ref_part) { in PartALocationSubsumesPartB()
1574 const ShipPart* checkPart = *part_it; in CullSuperfluousParts()
1662 std::set<const ShipPart*> already_added; in Populate()
1674 const ShipPart* part = group.second; in Populate()
3588 const ShipPart* GetPart() const;
3722 const ShipPart* SlotControl::GetPart() const { in GetPart()
3962 void AddPart(const ShipPart* part);
[all …]
H A DClientUI.cpp298 const ShipPart* part = GetShipPart(part_name); in PartIcon()
H A DMeterBrowseWnd.cpp526 const ShipPart* part = GetShipPart(part_name); in UpdateEffectLabelsAndValues()
782 const ShipPart* part = GetShipPart(part_name); in UpdateEffectLabelsAndValues()
/dports/games/freeorion/freeorion-0.4.10.2/default/python/AI/
H A DfreeOrionAIInterface.pyi2555 Returns the ShipPart with the indicated name (string).
/dports/games/freeorion/freeorion-0.4.10.2/default/python/
H A Dfreeorion.pyi2560 Returns the ShipPart with the indicated name (string).
/dports/games/freeorion/freeorion-0.4.10.2/combat/
H A DCombatSystem.cpp894 const ShipPart* part = GetShipPart(part_name); in ShipWeaponsStrengths()
1458 const ShipPart* part = GetShipPart(part_name); in ReduceStoredFighterCount()
1561 const ShipPart* part = GetShipPart(part_name); in IncreaseStoredFighterCount()
/dports/games/freeorion/freeorion-0.4.10.2/default/scripting/starting_unlocks/
H A Ditems.inf5 Item type = ShipPart name = "FU_BASIC_TANK"
6 Item type = ShipPart name = "CO_OUTPOST_POD"
7 Item type = ShipPart name = "CO_COLONY_POD"
8 Item type = ShipPart name = "DT_DETECTOR_1"
/dports/games/freeorion/freeorion-0.4.10.2/default/scripting/techs/construction/
H A DREMOTE_COL.disabled9 unlock = Item type = ShipPart name = "CO_COLONY_POD"