aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/map/Province.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-26 00:25:12 +0200
committer Hop311 <hop3114@gmail.com>2023-09-03 12:53:52 +0200
commit366f1b3941315641bdcb0ee98465b4d2134eee86 (patch)
treeebb1e95b5e874c6eab09f19a323d721fd1fdac1b /src/openvic/map/Province.hpp
parentefa88c722fcb6c8fea7a86e1b3b8a83f1f59eb31 (diff)
Followup big dataloader commit
Diffstat (limited to 'src/openvic/map/Province.hpp')
-rw-r--r--src/openvic/map/Province.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic/map/Province.hpp b/src/openvic/map/Province.hpp
index 3556bcb..527a6fe 100644
--- a/src/openvic/map/Province.hpp
+++ b/src/openvic/map/Province.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include "openvic/pop/Pop.hpp"
#include "openvic/map/Building.hpp"
+#include "openvic/pop/Pop.hpp"
namespace OpenVic {
struct Map;
@@ -30,7 +30,7 @@ namespace OpenVic {
std::vector<Pop> pops;
Pop::pop_size_t total_population;
- distribution_t pop_types, cultures;
+ distribution_t pop_types, cultures, religions;
Province(const std::string_view new_identifier, colour_t new_colour, index_t new_index);
@@ -55,6 +55,7 @@ namespace OpenVic {
Pop::pop_size_t get_total_population() const;
distribution_t const& get_pop_type_distribution() const;
distribution_t const& get_culture_distribution() const;
+ distribution_t const& get_religion_distribution() const;
void update_pops();
void update_state(Date const& today);