Home
last modified time | relevance | path

Searched refs:m_techs (Results 1 – 6 of 6) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/universe/
H A DTech.cpp337 for (const auto& tech : m_techs.get<NameIndex>()) in TechNames()
355 iterator end_it = m_techs.get<NameIndex>().end(); in AllNextTechs()
375 m_techs.get<NameIndex>().end()); in NextTechsTowards()
386 return m_techs.get<NameIndex>().begin(); in begin()
391 return m_techs.get<NameIndex>().end(); in end()
472 for (const auto& tech : m_techs) { in CheckPendingTechs()
494 assert(!m_techs.empty()); in FindIllegalDependencies()
496 for (const auto& tech : m_techs) { in FindIllegalDependencies()
517 assert(!m_techs.empty()); in FindFirstDependencyCycle()
574 assert(!m_techs.empty()); in FindRedundantDependency()
[all …]
H A DTech.h290 mutable TechContainer m_techs; variable
/dports/games/freeorion/freeorion-0.4.10.2/util/
H A DSerializeEmpire.cpp146 m_techs.clear(); in serialize()
148 m_techs[entry] = BEFORE_FIRST_TURN; in serialize()
155 for (const auto& tech : encoding_empire->m_techs) { in serialize()
156 const auto it = m_techs.find(tech.first); in serialize()
157 if (it != m_techs.end()) { in serialize()
164 ar & BOOST_SERIALIZATION_NVP(m_techs); in serialize()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DTechTreeWnd.cpp1195 for (const auto& tech_panel: m_techs) in Clear()
1197 m_techs.clear(); in Clear()
1218 for (auto& entry : m_techs) in SetScale()
1269 const auto& it = m_techs.find(tech_name); in CenterOnTech()
1270 if (it == m_techs.end()) { in CenterOnTech()
1350 m_graph.AddNode(tech_name, m_techs[tech_name]->Width(), m_techs[tech_name]->Height()); in Layout()
1383 auto& tech_panel = m_techs[tech_name]; in Layout()
1415 if (m_techs.count(m_selected_tech_name)) in Layout()
1448 if (m_techs.count(m_selected_tech_name)) in SelectTech()
1451 if (m_techs.count(tech_name)) in SelectTech()
[all …]
/dports/games/freeorion/freeorion-0.4.10.2/Empire/
H A DEmpire.cpp181 if (!m_techs.count(prereq)) in ResearchableTech()
194 if (m_techs.count(prereq)) in HasResearchedPrereqAndUnresearchedPrereq()
217 { return m_techs; } in ResearchedTechs()
220 { return m_techs.count(name); } in TechResearched()
1043 …if (name.empty() || TechResearched(name) || m_techs.count(name) || m_newly_researched_techs.count(… in PlaceTechInQueue()
1366 if (m_techs.count(name)) in AddNewlyResearchedTechToGrantAtStartOfNextTurn()
1384 if (!m_techs.count(new_tech)) { in ApplyNewTechs()
1385 m_techs[new_tech] = CurrentTurn(); in ApplyNewTechs()
1541 { m_techs.erase(name); } in RemoveTech()
H A DEmpire.h455 …std::map<std::string, int> m_techs; ///< names of researched technologies,… variable