#include <map_render.hpp>
Definition at line 80 of file map_render.hpp.
◆ MapRender()
◆ ~MapRender()
MapRender::~MapRender |
( |
| ) |
|
|
default |
◆ draw()
◆ get_province_opt()
uint32_t MapRender::get_province_opt |
( |
const ProvinceId |
id | ) |
|
|
inline |
◆ get_tile_province_id() [1/2]
ProvinceId MapRender::get_tile_province_id |
( |
glm::ivec2 |
pos | ) |
|
|
inline |
◆ get_tile_province_id() [2/2]
ProvinceId MapRender::get_tile_province_id |
( |
size_t |
x, |
|
|
size_t |
y |
|
) |
| |
|
inline |
◆ reload_shaders()
void MapRender::reload_shaders |
( |
| ) |
|
◆ request_update_visibility()
void MapRender::request_update_visibility |
( |
| ) |
|
◆ update()
void MapRender::update |
( |
| ) |
|
◆ update_border_sdf()
void MapRender::update_border_sdf |
( |
Eng3D::Rect |
update_area, |
|
|
glm::ivec2 |
window_size |
|
) |
| |
Creates the "waving" border around the continent to give it a 19th century map feel Generate a distance field to from each border using the jump flooding algorithm Used to create borders thicker than one tile.
Definition at line 251 of file map_render.cpp.
◆ update_mapmode()
void MapRender::update_mapmode |
( |
std::vector< ProvinceColor > & |
province_colors | ) |
|
◆ update_nations()
void MapRender::update_nations |
( |
std::vector< ProvinceId > & |
nations | ) |
|
◆ update_options()
void MapRender::update_options |
( |
MapOptions |
options | ) |
|
◆ options
The documentation for this class was generated from the following files: