Home
last modified time | relevance | path

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

/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/auto/
H A Dautoresearch.cpp110 m_research = static_cast<ResearchType>(param); in StartAction()
112 if ( m_main->IsResearchDone(m_research, m_object->GetTeam()) ) in StartAction()
132 if ( m_research == RESEARCH_TANK ) time *= 0.3f; in StartAction()
133 if ( m_research == RESEARCH_FLY ) time *= 0.3f; in StartAction()
134 if ( m_research == RESEARCH_ATOMIC ) time *= 2.0f; in StartAction()
264 if ( m_research == RESEARCH_TANK ) message = INFO_RESEARCHTANK; in EventProcess()
265 if ( m_research == RESEARCH_FLY ) message = INFO_RESEARCHFLY; in EventProcess()
266 if ( m_research == RESEARCH_THUMP ) message = INFO_RESEARCHTHUMP; in EventProcess()
267 if ( m_research == RESEARCH_CANON ) message = INFO_RESEARCHCANON; in EventProcess()
268 if ( m_research == RESEARCH_TOWER ) message = INFO_RESEARCHTOWER; in EventProcess()
[all …]
H A Dautolabo.cpp127 m_research = static_cast<ResearchType>(param); in StartAction()
129 if ( m_main->IsResearchDone(m_research, m_object->GetTeam()) ) in StartAction()
139 if ( m_research != RESEARCH_TARGET && power->GetType() != OBJECT_BULLET ) in StartAction()
143 if ( m_research == RESEARCH_TARGET && power->GetType() != OBJECT_TNT ) in StartAction()
364 m_main->MarkResearchDone(m_research, m_object->GetTeam()); // research done in EventProcess()
590 line->AddParam("aResearch", MakeUnique<CLevelParserParam>(static_cast<int>(m_research))); in Write()
605 m_research = static_cast< ResearchType >(line->GetParam("aResearch")->AsInt(0)); in Read()
H A Dautoresearch.h68 ResearchType m_research = {}; variable
H A Dautolabo.h72 ResearchType m_research = {}; variable
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DMapWnd.h568 std::shared_ptr<StatisticIcon> m_trade, m_population, m_research, variable
H A DMapWnd.cpp1230 m_research = GG::Wnd::Create<StatisticIcon>(ClientUI::MeterIcon(METER_RESEARCH), 0, 3, false, in CompleteConstruction()
1232 m_research->SetName("Research StatisticIcon"); in CompleteConstruction()
1233 m_research->LeftClickedSignal.connect(boost::bind(&MapWnd::ToggleResearch, this)); in CompleteConstruction()
1326 layout->Add(m_research, 0, layout_column, GG::ALIGN_LEFT | GG::ALIGN_VCENTER); in CompleteConstruction()
6642 m_research->SetValue(0.0); in RefreshResearchResourceIndicator()
6646 m_research->SetValue(empire->ResourceOutput(RE_RESEARCH)); in RefreshResearchResourceIndicator()
6647 m_research->ClearBrowseInfoWnd(); in RefreshResearchResourceIndicator()
6648 m_research->SetBrowseModeTime(GetOptionsDB().Get<int>("ui.tooltip.delay")); in RefreshResearchResourceIndicator()
6655 m_research->SetBrowseInfoWnd(GG::Wnd::Create<ResourceBrowseWnd>( in RefreshResearchResourceIndicator()