Home
last modified time | relevance | path

Searched refs:canResearch (Results 1 – 22 of 22) sorted by relevance

/dports/games/keeperrl/keeperrl-alpha23/
H A Dtechnology.h51 bool canResearch = true);
54 bool canResearch() const;
H A Dencyclopedia.cpp58 if (!tech->canResearch()) in advance()
H A Dtechnology.cpp80 bool Technology::canResearch() const { in canResearch() function in Technology
H A Dplayer_control.cpp865 [](const Technology* tech) { return tech->canResearch(); }); in acquireTech()
889 [](const Technology* tech) { return tech->canResearch(); }); in fillLibraryInfo()
/dports/games/maxr/maxr-0.2.9/src/game/data/units/
H A Dunitdata.cpp69 canResearch = false; in sUnitData()
167 canResearch = other.canResearch; in operator =()
H A Dbuilding.cpp240 if (data.canResearch && getOwner() == player) in getStatusStr()
293 …if (data.canResearch && isUnitWorking() && getOwner() && getOwner()->isCurrentTurnResearchAreaFini… in makeReport()
830 if (data.canResearch) in ServerStartWork()
852 if (data.canResearch) in clientStartWork()
914 if (data.canResearch) in ServerStopWork()
936 if (data.canResearch) in clientStopWork()
1607 if (data.canResearch) in registerOwnerEvents()
H A Dunitdata.h88 bool canResearch; member
/dports/games/gigalomania/gigalomaniasrc/
H A Dplayer.cpp727 design = sector->canResearch(Invention::WEAPON, nuclear_epoch_c); in doSectorAI()
734 this_design = sector->canResearch(Invention::WEAPON, eph); in doSectorAI()
741 this_design = sector->canResearch(Invention::DEFENCE, eph); in doSectorAI()
749 this_design = sector->canResearch(Invention::SHIELD, eph); in doSectorAI()
H A Dgame.cpp4364 Design *design = start_sector->canResearch(Invention::WEAPON, 0); in runTests()
4480 Design *design = start_sector->canResearch(Invention::WEAPON, 0); in runTests()
4529 Design *design_stick = start_sector->canResearch(Invention::DEFENCE, 0); in runTests()
4595 Design *design = sector->canResearch((Invention::Type)i, j); in runTests()
4663 design_biplane = start_sector->canResearch(Invention::WEAPON, 6); in runTests()
4671 design_biplane = start_sector->canResearch(Invention::WEAPON, 6); in runTests()
4792 Design *design = start_sector->canResearch(Invention::WEAPON, 8); in runTests()
4797 design = start_sector->canResearch(Invention::WEAPON, 8); in runTests()
4864 else if( sector->canResearch(Invention::WEAPON, i) ) in runTests()
4868 else if( sector->canResearch(Invention::DEFENCE, i) ) in runTests()
[all …]
H A Dgui.cpp1044 if( gamestate->getCurrentSector()->canResearch(Invention::SHIELD, i) ) in refreshCanDesign()
1046 else if( gamestate->getCurrentSector()->canResearch(Invention::DEFENCE, i) ) in refreshCanDesign()
1048 else if( gamestate->getCurrentSector()->canResearch(Invention::WEAPON, i) ) in refreshCanDesign()
1073 if( !gamestate->getCurrentSector()->canResearch(Invention::SHIELD, game_g->getStartEpoch() + i) ) in refreshDesignInventions()
1075 if( !gamestate->getCurrentSector()->canResearch(Invention::DEFENCE, game_g->getStartEpoch() + i) ) in refreshDesignInventions()
1077 if( !gamestate->getCurrentSector()->canResearch(Invention::WEAPON, game_g->getStartEpoch() + i) ) in refreshDesignInventions()
H A Dsector.h433 Design *canResearch(Invention::Type type,int epoch) const;
H A Dsector.cpp1371 if( this->canResearch(Invention::WEAPON, i) ) in usedUp()
1373 if( this->canResearch(Invention::DEFENCE, i) ) in usedUp()
1375 if( this->canResearch(Invention::SHIELD, i) ) in usedUp()
1400 Design *design = this->canResearch(Invention::WEAPON, i); in cheat()
1405 design = this->canResearch(Invention::DEFENCE, i); in cheat()
1410 design = this->canResearch(Invention::SHIELD, i); in cheat()
1537 Design *Sector::canResearch(Invention::Type type,int epoch) const { in canResearch() function in Sector
/dports/games/openage/openage-0.3.0-1262-ga554ab49/doc/ai/
H A Dinterface.md63 bool canResearch(Unit unit, TechType type);
/dports/games/maxr/maxr-0.2.9/src/game/data/player/
H A Dplayer.cpp462 || (*it)->data.canResearch)) in getNextBuilding()
553 || (*it)->data.canResearch)) in getPrevBuilding()
875 if (building->data.canResearch && building->isUnitWorking()) in refreshResearchCentersWorkingOnArea()
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/temp/
H A Dunitdrawingengine.cpp123 …(building.data.canResearch && building.getOwner()->isCurrentTurnResearchAreaFinished (building.get… in drawUnit()
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/widgets/
H A Dunitcontextmenuwidget.cpp365 …return unit && !unit->isDisabled() && unit->getOwner() == player && unit->data.canResearch && unit… in unitHasResearchEntry()
/dports/games/maxr/maxr-0.2.9/src/game/logic/
H A Dsavegame.cpp1314 Data->canResearch = unitNode->FirstChildElement ("Can_Research") != nullptr; in loadStandardUnitValues()
1707 if (building.data.canResearch) in writeUnit()
1890 if (Data.canResearch) addMainElement (unitNode, "Can_Research"); in writeStandardUnitValues()
H A Dserver.cpp1825 if (building->data.canResearch && building->isUnitWorking()) in handleNetMessage_GAME_EV_WANT_RESEARCH_CHANGE()
1842 if (building->data.canResearch && building->isUnitWorking()) in handleNetMessage_GAME_EV_WANT_RESEARCH_CHANGE()
H A Dclient.cpp1380 …if (building && building->data.canResearch && 0 <= newArea && newArea <= cResearch::kNrResearchAre… in HandleNetMessage_GAME_EV_RESEARCH_SETTINGS()
/dports/games/maxr/maxr-0.2.9/src/game/data/base/
H A Dbase.cpp1266 if (building->isUnitWorking() && building->data.canResearch) in deleteBuilding()
/dports/games/maxr/maxr-0.2.9/src/
H A Dloaddata.cpp1783 …Data->canResearch = getXMLAttributeBool (unitDataXml, "Unit", "Abilities", "Can_Research", nullptr… in LoadUnitData()
/dports/games/maxr/maxr-0.2.9/
H A DSDL2c.patch44 ….empty() && !IsWorking && BuildList[0].metall_remaining <= 0) || (data.canResearch && owner->resea…