diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-27 23:56:28 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-27 23:56:28 +0100 |
commit | 3bf0ce9bfaad1e40ffeeed3d66ca2e628fea8e29 (patch) | |
tree | 69ac3c177a57f6091bb07e0d774151a5677dd1cb /src/openvic-simulation/map/Region.cpp | |
parent | 0d9343e62575b5b7968beea2d36f15541e2351e2 (diff) |
feat: loading climate.txt and continent.txt
Diffstat (limited to 'src/openvic-simulation/map/Region.cpp')
-rw-r--r-- | src/openvic-simulation/map/Region.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Region.cpp b/src/openvic-simulation/map/Region.cpp index e356c89..6f40338 100644 --- a/src/openvic-simulation/map/Region.cpp +++ b/src/openvic-simulation/map/Region.cpp @@ -94,6 +94,9 @@ ProvinceSet::provinces_t const& ProvinceSet::get_provinces() const { Region::Region(std::string_view new_identifier, colour_t new_colour, bool new_meta) : HasIdentifierAndColour { new_identifier, new_colour, false }, meta { new_meta } {} +ProvinceSetModifier::ProvinceSetModifier(std::string_view new_identifier, ModifierValue&& new_values) + : Modifier { new_identifier, std::move(new_values), 0 } {} + bool Region::get_meta() const { return meta; } |