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/Province.hpp | |
parent | 0d9343e62575b5b7968beea2d36f15541e2351e2 (diff) |
feat: loading climate.txt and continent.txt
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r-- | src/openvic-simulation/map/Province.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp index 58fe29e..431b4c2 100644 --- a/src/openvic-simulation/map/Province.hpp +++ b/src/openvic-simulation/map/Province.hpp @@ -16,6 +16,10 @@ namespace OpenVic { struct TerrainType; struct TerrainTypeMapping; struct ProvinceHistoryEntry; + struct ProvinceSetModifier; + using Climate = ProvinceSetModifier; + using Continent = ProvinceSetModifier; + /* REQUIREMENTS: * MAP-5, MAP-7, MAP-8, MAP-43, MAP-47 @@ -88,6 +92,8 @@ namespace OpenVic { /* Immutable attributes (unchanged after initial game load) */ const index_t PROPERTY(index); Region const* PROPERTY(region); + Climate const* PROPERTY(climate); + Continent const* PROPERTY(continent); bool PROPERTY(on_map); bool PROPERTY(has_region); bool PROPERTY_CUSTOM_PREFIX(water, is); |