#include <cmath>#include <iostream>#include "research.h"#include "errors.h"#include "typen.h"#include "vehicletype.h"#include "gamemap.h"#include "itemrepository.h"Include dependency graph for research.cpp:

Go to the source code of this file.
Functions | |
| ASCString | generateTechName (const Technology *tech) |
| ASCString | generateTechLabel (const Technology *tech) |
| Resources | returnResourcenUseForResearch (const ContainerBase *bld, int research) |
| Calculates the resources that are needed to research the given number of research. | |
| Resources | returnResourcenUseForResearch (const ContainerBase *bld) |
Variables | |
| const int | techDependencyVersion = 2 |
| const int | technologyVersion = 4 |
| const int | researchableWeaponImprovements = 8 |
| const int | researchVersion = -5 |
|
|
Definition at line 226 of file research.cpp. References generateTechName(), Technology::name, Technology::researchpoints, s2, and strrr(). Referenced by TechDependency::writeInvertTreeOutput(). |
|
|
Definition at line 215 of file research.cpp. References strrr(). Referenced by generateTechLabel(), and TechDependency::writeInvertTreeOutput(). |
|
|
Definition at line 971 of file research.cpp. References returnResourcenUseForResearch(). |
|
||||||||||||
|
Calculates the resources that are needed to research the given number of research.
Definition at line 942 of file research.cpp. Referenced by doresearch(), ResearchGraph::getPoint(), ContainerBase::getResourceUsage(), ResearchGraph::ResearchGraph(), returnResourcenUseForResearch(), ResearchGraph::setResearch(), and ResearchWindow::update(). |
|
|
Definition at line 631 of file research.cpp. |
|
|
Definition at line 634 of file research.cpp. |
|
|
Definition at line 31 of file research.cpp. Referenced by TechDependency::read(), and TechDependency::write(). |
|
|
Definition at line 511 of file research.cpp. |
1.4.2