This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | TechnologyPresenter |
| class | TechnologyPresenter::Gadgets |
| class | SuppressTechPresentation |
Functions | |
| void | setResearchPresenter (TechnologyPresenter *presenter) |
| registers the class that will present newly researched technologies to the user | |
| void | dissectvehicle (Vehicle *eht) |
| dissects a vehicle; if you haven't researched this vehicle type you will get some research points for it. | |
| void | runResearch (Player &player, vector< const Technology * > *newTechs, vector< ASCString > *newTechAdapter) |
| progresses in the current research, automatically chosing technologies towards the research goal. | |
| void | checkForNewResearch (Player &player) |
| Let's the user select new technology for research if the current research projects are finished. | |
| void checkForNewResearch | ( | Player & | player | ) |
Let's the user select new technology for research if the current research projects are finished.
Definition at line 193 of file researchexecution.cpp.
References Research::activetechnology, anyTechAvailable(), chooseSingleTechnology(), Research::progress, and Player::research.
Referenced by chooseTechnologyIfAvail(), and hookGuiToMap().
| void dissectvehicle | ( | Vehicle * | eht | ) |
dissects a vehicle; if you haven't researched this vehicle type you will get some research points for it.
| void runResearch | ( | Player & | player, | |
| vector< const Technology * > * | newTechs, | |||
| vector< ASCString > * | newTechAdapter | |||
| ) |
progresses in the current research, automatically chosing technologies towards the research goal.
This function does not generate any research points, it only consumes them. Research points are generated by doresearch()
No user interaction takes place.
| player | the player who is researching | |
| nweTechs | If non-Null, add all technologies that have been made available during this call | |
| newTechAdapter | If non-Null, add all TechAdapter that have been activated during this call |
Definition at line 153 of file researchexecution.cpp.
References Research::activetechnology, Research::addanytechnology(), anyTechAvailable(), NewGadgetDetection::evaluate(), getNextTechnologyTowardsGoal(), Technology::id, max(), Research::progress, Player::research, Technology::researchpoints, TechnologyPresenter::showTechnology(), techPresenter, and Research::techResearched().
Referenced by __runResearch(), and DirectResearchCommand::go().
| void setResearchPresenter | ( | TechnologyPresenter * | presenter | ) |
registers the class that will present newly researched technologies to the user
Definition at line 70 of file researchexecution.cpp.
References techPresenter.
Referenced by gamethread().
1.5.1