From 3bf0ce9bfaad1e40ffeeed3d66ca2e628fea8e29 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Wed, 27 Dec 2023 23:56:28 +0100 Subject: feat: loading climate.txt and continent.txt --- src/openvic-simulation/map/Province.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openvic-simulation/map/Province.hpp') 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); -- cgit v1.2.3-56-ga3b1