3 uint32_t province_size = state.world.province_size();
4 uint32_t texture_size = province_size + 256 - province_size % 256;
6 std::vector<uint32_t> prov_color(texture_size * 2);
7 state.world.for_each_province([&](dcon::province_id prov_id) {
11 if(!(fat_id.get_nation_from_province_ownership())) {
12 if(
province::is_colonizing(state, state.local_player_nation, fat_id.get_state_from_abstract_state_membership())) {
std::vector< uint32_t > colonial_map_from(sys::state &state)
pop_satisfaction_wrapper_fat fatten(data_container const &c, pop_satisfaction_wrapper_id id) noexcept
bool is_colonizing(sys::state &state, dcon::nation_id n, dcon::state_definition_id d)
bool can_start_colony(sys::state &state, dcon::nation_id n, dcon::state_definition_id d)
bool can_invest_in_colony(sys::state &state, dcon::nation_id n, dcon::state_definition_id d)
constexpr uint16_t to_map_id(dcon::province_id id)
uint32_t pack_color(float r, float g, float b)