Home
last modified time | relevance | path

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

/dports/games/gigalomania/gigalomaniasrc/
H A Dplayer.cpp717 if( best_weapon == -1 && sector->inventionKnown(Invention::WEAPON, game_g->getStartEpoch() + i) ) in doSectorAI()
719 …if( best_defence == -1 && sector->inventionKnown(Invention::DEFENCE, game_g->getStartEpoch() + i) ) in doSectorAI()
721 if( best_shield == -1 && sector->inventionKnown(Invention::SHIELD, game_g->getStartEpoch() + i) ) in doSectorAI()
H A Dsector.h494 bool inventionKnown(Invention::Type type,int epoch) const;
H A Dgui.cpp1106 …if( gamestate->getCurrentSector()->inventionKnown(Invention::SHIELD, game_g->getStartEpoch() + i) ) in refreshDeployInventions()
1112 …if( gamestate->getCurrentSector()->inventionKnown(Invention::DEFENCE, game_g->getStartEpoch() + i)… in refreshDeployInventions()
1119 …if( gamestate->getCurrentSector()->inventionKnown(Invention::WEAPON, game_g->getStartEpoch() + i) … in refreshDeployInventions()
1146 …ector()->getStoredDefenders(i) > 0 || gamestate->getCurrentSector()->inventionKnown(Invention::DEF… in refresh()
H A Dtutorial.cpp108 …if( wait_type == WAITTYPE_HAS_DESIGNED && sector->inventionKnown(static_cast<Invention::Type>(i), … in canProceed()
H A Dgame.cpp4862 if( sector->inventionKnown(Invention::WEAPON, i) ) in runTests()
4866 if( sector->inventionKnown(Invention::DEFENCE, i) ) in runTests()
4870 if( sector->inventionKnown(Invention::SHIELD, i) ) in runTests()
H A Dsector.cpp1545 if( this->inventionKnown(type, epoch) ) in canResearch()
2493 bool Sector::inventionKnown(Invention::Type type,int epoch) const { in inventionKnown() function in Sector