#include <research.h>
Inheritance diagram for Technology:

Public Types | |
| typedef vector< IntRange > | BlockingOtherTechnologies |
Public Member Functions | |
| Technology () | |
| bool | eventually_available (const Research &res, list< const Technology * > *dependencies) const |
| bool | eventually_available (const Research &res, list< const Technology * > *dependencies, list< int > &stack) const |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
| void | runTextIO (PropertyContainer &pc) |
Public Attributes | |
| void * | icon |
| ASCString | infotext |
| int | id |
| vector< int > | secondaryIDs |
| when loading a file and these IDs are encountered, this object will be used. | |
| int | researchpoints |
| ASCString | name |
| int | techlevel |
| int | relatedUnitID |
| bool | requireEvent |
| TechDependency | techDependency |
| BlockingOtherTechnologies | blockingOtherTechnologies |
| if this Technology has been researched, it will not be possible to research the technologies given here. Only available for root technologies! | |
|
|
Definition at line 141 of file research.h. |
|
|
Definition at line 502 of file research.cpp. References icon, requireEvent, researchpoints, and techlevel. |
|
||||||||||||||||
|
Definition at line 585 of file research.cpp. References TechDependency::eventually_available(), Research::isBlocked(), techDependency, and Research::techResearched(). |
|
||||||||||||
|
Definition at line 576 of file research.cpp. References Research::techResearched(). |
|
|
Implements LoadableItemType. Definition at line 513 of file research.cpp. References blockingOtherTechnologies, tnstream::getDeviceName(), infotext, name, TechDependency::read(), readClassContainer(), tnstream::readInt(), tnstream::readString(), relatedUnitID, requireEvent, researchpoints, secondaryIDs, techDependency, and techlevel. |
|
|
Implements LoadableItemType. Definition at line 553 of file research.cpp. References PropertyContainer::addBool(), PropertyContainer::addInteger(), PropertyContainer::addIntegerArray(), PropertyContainer::addString(), blockingOtherTechnologies, PropertyContainer::find(), infotext, PropertyContainer::isReading(), name, relatedUnitID, requireEvent, researchpoints, TechDependency::runTextIO(), secondaryIDs, techDependency, and techlevel. |
|
|
Implements LoadableItemType. Definition at line 538 of file research.cpp. References blockingOtherTechnologies, infotext, name, relatedUnitID, requireEvent, researchpoints, secondaryIDs, techDependency, techlevel, TechDependency::write(), writeClassContainer(), tnstream::writeInt(), and tnstream::writeString(). |
|
|
if this Technology has been researched, it will not be possible to research the technologies given here. Only available for root technologies!
Definition at line 143 of file research.h. Referenced by Research::isBlocked(), read(), runTextIO(), and write(). |
|
|
Definition at line 122 of file research.h. Referenced by Technology(). |
|
|
Definition at line 125 of file research.h. Referenced by editResearch(), generateTechTree(), Research::read_techs(), researchCheck(), Research::techAvailable(), Research::write(), and TechDependency::writeInvertTreeOutput(). |
|
|
Definition at line 123 of file research.h. Referenced by read(), runTextIO(), and write(). |
|
|
Definition at line 132 of file research.h. Referenced by execuseraction(), generateTechLabel(), generateTechTree(), TechWidget::getName(), read(), runTextIO(), ChooseTech::showPrerequisites(), techComp(), TechWidget::TechWidget(), ResearchWindow::update(), write(), and TechDependency::writeTreeOutput(). |
|
|
Definition at line 134 of file research.h. Referenced by TechWidget::display(), read(), runTextIO(), techComp(), TechWidget::TechWidget(), and write(). |
|
|
Definition at line 136 of file research.h. Referenced by read(), runTextIO(), Technology(), and write(). |
|
|
Definition at line 130 of file research.h. Referenced by Research::currentTechAvailableIn(), generateTechLabel(), tresearchinfo::init(), read(), researchCheck(), runTextIO(), Technology(), TechWidget::TechWidget(), and write(). |
|
|
when loading a file and these IDs are encountered, this object will be used.
Definition at line 127 of file research.h. Referenced by read(), runTextIO(), and write(). |
|
|
Definition at line 138 of file research.h. Referenced by eventually_available(), generateTechTree(), Research::isBlocked(), read(), runTextIO(), ChooseTech::showPrerequisites(), Research::techAvailable(), and write(). |
|
|
Definition at line 133 of file research.h. Referenced by read(), runTextIO(), techComp(), Technology(), technologyComp(), and write(). |
1.4.2