Searched refs:getInvention (Results 1 – 5 of 5) sorted by relevance
1329 Invention *current_invention = gamestate->getCurrentSector()->getCurrentDesign()->getInvention(); in draw()1513 …tion *current_manufacture = gamestate->getCurrentSector()->getCurrentManufacture()->getInvention(); in draw()1836 str << "start designing a " << design->getInvention()->getName(); in input()1850 str << "start designing a " << design->getInvention()->getName(); in input()1864 str << "start designing a " << design->getInvention()->getName(); in input()2056 this->designinfo = Invention::getInvention(Invention::SHIELD,game_g->getStartEpoch()+i); in input()2062 this->designinfo = Invention::getInvention(Invention::DEFENCE,game_g->getStartEpoch()+i); in input()2068 this->designinfo = Invention::getInvention(Invention::WEAPON,game_g->getStartEpoch()+i); in input()2105 str << "start manufacturing a " << design->getInvention()->getName(); in input()2119 str << "start manufacturing a " << design->getInvention()->getName(); in input()[all …]
466 ASSERT( design->getInvention() == this ); in addDesign()1275 Invention *invention = Invention::getInvention(type, epoch); in canBuildDesign()1283 if( design->getInvention() != invention ) in canBuildDesign()1421 Invention *invention = Invention::getInvention(type, epoch); in knownDesign()1429 if( design->getInvention() == invention ) { in knownDesign()1440 Invention *invention = Invention::getInvention(type, epoch); in bestDesign()1472 if( design->getInvention() == invention ) { in trashDesign()1485 …this->inventions_known[ design->getInvention()->getType() ][ design->getInvention()->getEpoch() ] … in trashDesign()2216 …SSERT( !this->inventions_known[ current_design->getInvention()->getType() ][ current_design->getIn… in invent()2217 …this->inventions_known[ current_design->getInvention()->getType() ][ current_design->getInvention(… in invent()[all …]
189 Invention *getInvention() const { in getInvention() function243 static Invention *getInvention(Invention::Type type,int epoch);
799 if( sector->getCurrentDesign()->getInvention()->getEpoch() == nuclear_epoch_c ) in doSectorAI()813 if( sector->getCurrentManufacture()->getInvention()->getEpoch() == nuclear_epoch_c ) in doSectorAI()
93 const Invention *invention = current_design->getInvention(); in canProceed()