aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-13 18:34:25 +0200
committer hop311 <hop3114@gmail.com>2023-10-13 19:14:01 +0200
commitce6e70d079f4ab18cdfa082032dc3580ab233b0e (patch)
tree0e2d1e13c35c0ea97acc5474c41adb69207277d4 /src/openvic-simulation/map/Province.hpp
parent17847e16e14ec52eb48a6fd0d9dc36ee93e457db (diff)
TGC compatibility fixes + other cleanup
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r--src/openvic-simulation/map/Province.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp
index d925898..2704354 100644
--- a/src/openvic-simulation/map/Province.hpp
+++ b/src/openvic-simulation/map/Province.hpp
@@ -61,7 +61,7 @@ namespace OpenVic {
private:
const index_t index;
Region* region = nullptr;
- bool has_region = false, water = false;
+ bool on_map = false, has_region = false, water = false;
life_rating_t life_rating = 0;
IdentifierRegistry<BuildingInstance> buildings;
// TODO - change this into a factory-like structure
@@ -85,6 +85,7 @@ namespace OpenVic {
index_t get_index() const;
Region* get_region() const;
+ bool get_on_map() const;
bool get_has_region() const;
bool get_water() const;
TerrainType const* get_terrain_type() const;