#include <iostream>#include "../loadbi3.h"#include "../unitset.h"#include "../statistics.h"#include "unitcounting.h"#include "../widgets/textrenderer.h"#include "../containerbase-functions.h"#include "../memory-measurement.h"#include "../spfst-legacy.h"#include "../i18n.h"Include dependency graph for infodialogs.cpp:

Go to the source code of this file.
Classes | |
| class | FontViewer |
Functions | |
| void | showSearchPath () |
| void | showSDLInfo () |
| void | ammoCounter (const ContainerBase *c, map< int, int > &amount) |
| void | showCargoSummary (MapField *fld) |
| void | viewFont () |
| void | resourceAnalysis () |
| void | showUnitEndurance () |
| void | showMemoryFootprint () |
| void | viewMiningPower () |
| void | createUnitCostList () |
| void ammoCounter | ( | const ContainerBase * | c, | |
| map< int, int > & | amount | |||
| ) |
Definition at line 136 of file infodialogs.cpp.
References ContainerBase::getAmmo(), ContainerBase::getAvailableResource(), ContainerBase::getCargo(), maxint, weaponAmmo, and weaponTypeNum.
Referenced by showCargoSummary().
| void createUnitCostList | ( | ) |
Definition at line 319 of file infodialogs.cpp.
References Resources::energy, getUnitSetID(), Resources::material, and vehicleTypeRepository.
Referenced by executeUserAction().
| void resourceAnalysis | ( | ) |
Definition at line 206 of file infodialogs.cpp.
References actmap, GameMap::actplayer, GameMap::bi_resource, Player::buildingList, GameMap::isResourceGlobal(), maxint, GameMap::player, Resources::resource(), ASC_PG_Dialog::RunModal(), ASCString::toString(), MapCoordinate::toString(), Resources::toString(), Player::vehicleList, MapCoordinate::x, and MapCoordinate::y.
Referenced by executeUserAction().
| void showCargoSummary | ( | MapField * | fld | ) |
Definition at line 151 of file infodialogs.cpp.
References actmap, ammoCounter(), cwaffentypen, Player::diplomacy, GameMap::getCurrentPlayer(), infoMessage(), DiplomaticStateVector::isAllied(), Resources::name(), ASC_PG_Dialog::RunModal(), showUnitCargoSummary(), StatisticsCalculator::strength(), ASCString::toString(), MapField::vehicle, weaponAmmo, and weaponTypeNum.
Referenced by executeUserAction().
| void showMemoryFootprint | ( | ) |
Definition at line 268 of file infodialogs.cpp.
References actmap, MemoryMeasurement::getResult(), MemoryMeasurement::measure(), MemoryMeasurement::measureIcons(), and MemoryMeasurement::measureTypes().
Referenced by executeUserAction().
| void showSDLInfo | ( | ) |
Definition at line 58 of file infodialogs.cpp.
References Locale::getLang(), ASC_PG_Dialog::RunModal(), and ASCString::toString().
Referenced by executeUserAction().
| void showSearchPath | ( | ) |
Definition at line 28 of file infodialogs.cpp.
References getConfigFileName(), getSearchPath(), getSearchPathNum(), listContainer(), and ASC_PG_Dialog::RunModal().
Referenced by executeUserAction().
| void showUnitEndurance | ( | ) |
Definition at line 234 of file infodialogs.cpp.
References ASCString::format(), UnitHooveringLogic::getEndurance(), MoveMalusType::heavy_aircraft, MoveMalusType::helicopter, MoveMalusType::light_aircraft, MoveMalusType::medium_aircraft, ASC_PG_Dialog::RunModal(), ASCString::toString(), vehicleComp(), and vehicleTypeRepository.
Referenced by executeUserAction().
| void viewFont | ( | ) |
Definition at line 197 of file infodialogs.cpp.
References ASC_PG_Dialog::RunModal().
Referenced by executeUserAction().
| void viewMiningPower | ( | ) |
Definition at line 281 of file infodialogs.cpp.
References actmap, Player::buildingList, GameMap::getCurrentPlayer(), MiningStation::getPlus(), ContainerBaseType::MiningStation, Resources::resource(), and ASCString::toString().
Referenced by executeUserAction().
1.5.1