Searched refs:inventionKnown (Results 1 – 6 of 6) sorted by relevance
/dports/games/gigalomania/gigalomaniasrc/ |
H A D | player.cpp | 717 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 D | sector.h | 494 bool inventionKnown(Invention::Type type,int epoch) const;
|
H A D | gui.cpp | 1106 …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 D | tutorial.cpp | 108 …if( wait_type == WAITTYPE_HAS_DESIGNED && sector->inventionKnown(static_cast<Invention::Type>(i), … in canProceed()
|
H A D | game.cpp | 4862 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 D | sector.cpp | 1545 if( this->inventionKnown(type, epoch) ) in canResearch() 2493 bool Sector::inventionKnown(Invention::Type type,int epoch) const { in inventionKnown() function in Sector
|