4 uint32_t province_size = state.world.province_size() + 1;
5 uint32_t texture_size = province_size + 256 - province_size % 256;
7 std::vector<uint32_t> prov_color(texture_size * 2);
9 state.world.for_each_province([&](dcon::province_id prov_id) {
11 auto id = fat_id.get_abstract_state_membership();
14 prov_color[i] = color;
15 prov_color[i + texture_size] = color;
pop_satisfaction_wrapper_fat fatten(data_container const &c, pop_satisfaction_wrapper_id id) noexcept
constexpr uint32_t color_from_hash(uint32_t color)
constexpr uint16_t to_map_id(dcon::province_id id)
std::vector< uint32_t > region_map_from(sys::state &state)