Symphony Of Empires
|
#include <unordered_map>
#include "eng3d/string.hpp"
#include "eng3d/texture.hpp"
#include "eng3d/ui/button.hpp"
#include "eng3d/ui/close_button.hpp"
#include "eng3d/ui/image.hpp"
#include "eng3d/ui/tooltip.hpp"
#include "eng3d/ui/div.hpp"
#include "eng3d/ui/label.hpp"
#include "eng3d/ui/table.hpp"
#include "client/interface/minimap.hpp"
#include "client/map.hpp"
#include "world.hpp"
#include "server/ai.hpp"
#include "server/economy.hpp"
#include "eng3d/utils.hpp"
Go to the source code of this file.
Functions | |
mapmode_generator | generic_map_mode (std::function< float(const World &, ProvinceId)> province_value, Eng3D::Color min_col=MAPMODE_DEFAULT_MIN_COL, Eng3D::Color max_col=MAPMODE_DEFAULT_MAX_COL) |
std::vector< ProvinceColor > | terrain_map_mode (const World &world) |
mapmode_tooltip | commodity_tooltip (CommodityId id) |
mapmode_generator | commodity_map_mode (CommodityId id) |
mapmode_generator | relations_map_mode (NationId id) |
mapmode_tooltip | relations_tooltip (NationId id) |
mapmode_generator | trade_map_mode (ProvinceId id) |
mapmode_tooltip | trade_tooltip (ProvinceId id) |
std::vector< ProvinceColor > | religion_map_mode (const World &world) |
std::string | religion_tooltip (const World &world, const ProvinceId id) |
std::vector< ProvinceColor > | language_map_mode (const World &world) |
std::string | language_tooltip (const World &world, const ProvinceId id) |
std::vector< ProvinceColor > | population_map_mode (const World &world) |
std::string | population_tooltip (const World &world, const ProvinceId id) |
Variables | |
const Eng3D::Color | MAPMODE_DEFAULT_MIN_COL = Eng3D::Color::rgb8(255, 0, 0) |
const Eng3D::Color | MAPMODE_DEFAULT_MAX_COL = Eng3D::Color::rgb8(16, 255, 128) |
mapmode_generator commodity_map_mode | ( | CommodityId | id | ) |
mapmode_tooltip commodity_tooltip | ( | CommodityId | id | ) |
Definition at line 363 of file minimap.cpp.
mapmode_generator generic_map_mode | ( | std::function< float(const World &, ProvinceId)> | province_value, |
Eng3D::Color | min_col = MAPMODE_DEFAULT_MIN_COL , |
||
Eng3D::Color | max_col = MAPMODE_DEFAULT_MAX_COL |
||
) |
std::vector< ProvinceColor > language_map_mode | ( | const World & | world | ) |
std::string language_tooltip | ( | const World & | world, |
const ProvinceId | id | ||
) |
Definition at line 549 of file minimap.cpp.
std::vector< ProvinceColor > population_map_mode | ( | const World & | world | ) |
Definition at line 556 of file minimap.cpp.
std::string population_tooltip | ( | const World & | world, |
const ProvinceId | id | ||
) |
mapmode_generator relations_map_mode | ( | NationId | id | ) |
mapmode_tooltip relations_tooltip | ( | NationId | id | ) |
std::vector< ProvinceColor > religion_map_mode | ( | const World & | world | ) |
std::string religion_tooltip | ( | const World & | world, |
const ProvinceId | id | ||
) |
Definition at line 517 of file minimap.cpp.
std::vector< ProvinceColor > terrain_map_mode | ( | const World & | world | ) |
mapmode_generator trade_map_mode | ( | ProvinceId | id | ) |
mapmode_tooltip trade_tooltip | ( | ProvinceId | id | ) |
const Eng3D::Color MAPMODE_DEFAULT_MAX_COL = Eng3D::Color::rgb8(16, 255, 128) |
Definition at line 45 of file minimap.cpp.
const Eng3D::Color MAPMODE_DEFAULT_MIN_COL = Eng3D::Color::rgb8(255, 0, 0) |
Definition at line 44 of file minimap.cpp.