aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.hpp
diff options
context:
space:
mode:
author zaaarf <80046572+zaaarf@users.noreply.github.com>2023-12-27 23:59:44 +0100
committer GitHub <noreply@github.com>2023-12-27 23:59:44 +0100
commitc994cf687ee90879275f917248c0c7c2b25275e2 (patch)
tree69ac3c177a57f6091bb07e0d774151a5677dd1cb /src/openvic-simulation/map/Province.hpp
parent0d9343e62575b5b7968beea2d36f15541e2351e2 (diff)
parent3bf0ce9bfaad1e40ffeeed3d66ca2e628fea8e29 (diff)
Merge pull request #108 from OpenVicProject/dataloading-map-climate-continent
Dataloading climate and continents
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r--src/openvic-simulation/map/Province.hpp6
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);