Searched refs:m_techs (Results 1 – 6 of 6) sorted by relevance
337 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 …]
290 mutable TechContainer m_techs; variable
146 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()
1195 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 …]
181 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()
455 …std::map<std::string, int> m_techs; ///< names of researched technologies,… variable