#include "../containerbasetype.h"#include "../vehicletype.h"#include "../player.h"#include "../gamemap.h"#include "../itemrepository.h"#include "productionanalysis.h"#include "vehicletypeselector.h"#include "../widgets/textrenderer.h"Include dependency graph for productionanalysis.cpp:

Go to the source code of this file.
Functions | |
| int | evaluateProduction (const ContainerBaseType *potentialFactory, const Vehicletype *vt, GameMap *gamemap) |
| int | evaluateProduction (const Vehicletype *potentialFactory, const Vehicletype *vt, GameMap *gamemap) |
| ASCString | getProductionString (const ContainerBaseType *potentialFactory, const Vehicletype *vt, GameMap *gamemap) |
| ASCString | getInstances (const ContainerBaseType *evaluatedFactory, const Vehicletype *unitsToProduce, GameMap *gamemap, bool lineAvail) |
| template<typename T> | |
| void | checkType (T *t, const Vehicletype *evaluatedUnitType, ASCString &instances, ASCString &lineAddable, ASCString &types, GameMap *gamemap, bool checkResearch) |
| bool | vehicleOwned (const Vehicletype *vt, GameMap *gamemap) |
| void | unitProductionAnalysis (GameMap *gamemap, bool checkResearch) |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 138 of file productionanalysis.cpp. References evaluateProduction(), GameMap::getCurrentPlayer(), getInstances(), and getProductionString(). Referenced by unitProductionAnalysis(). |
|
||||||||||||||||
|
Definition at line 56 of file productionanalysis.cpp. References evaluateProduction(), and ContainerBaseType::id. |
|
||||||||||||||||
|
Definition at line 48 of file productionanalysis.cpp. References ContainerBaseType::hasFunction(), ContainerBaseType::InternalVehicleProduction, and ContainerBaseType::vehicleFit(). Referenced by checkType(), evaluateProduction(), and getProductionString(). |
|
||||||||||||||||||||
|
Definition at line 86 of file productionanalysis.cpp. References TechAdapterDependency::available(), GameMap::getCurrentPlayer(), and ContainerBaseType::techDependency. Referenced by checkType(). |
|
||||||||||||||||
|
Definition at line 69 of file productionanalysis.cpp. References evaluateProduction(), ContainerBaseType::getName(), ContainerBaseType::id, and ASCString::toString(). Referenced by checkType(). |
|
||||||||||||
|
Definition at line 157 of file productionanalysis.cpp. References buildingTypeRepository, checkType(), AvailableUnitWindow::getSelected(), PG_Widget::Hide(), ItemSelectorWindow::RunModal(), ASC_PG_Dialog::RunModal(), PG_Widget::Show(), vehicleOwned(), and vehicleTypeRepository. Referenced by execuseraction2(). |
|
||||||||||||
|
Definition at line 148 of file productionanalysis.cpp. References GameMap::getCurrentPlayer(). Referenced by unitProductionAnalysis(). |
1.4.2