diff options
author | hop311 <hop3114@gmail.com> | 2024-04-15 01:24:29 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-04-15 01:24:29 +0200 |
commit | 8708e62d96fe298e1135538298172b6283bc56fb (patch) | |
tree | a469bafcaa47d25d5c62078c69c1721343e4dfcd /src/openvic-simulation/pop/Culture.hpp | |
parent | 083365191bd5f586edd850e0bd6a0190de782ab1 (diff) |
Dynamically load default GraphicalCultureType
Diffstat (limited to 'src/openvic-simulation/pop/Culture.hpp')
-rw-r--r-- | src/openvic-simulation/pop/Culture.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/openvic-simulation/pop/Culture.hpp b/src/openvic-simulation/pop/Culture.hpp index 8807123..72ea3ee 100644 --- a/src/openvic-simulation/pop/Culture.hpp +++ b/src/openvic-simulation/pop/Culture.hpp @@ -61,10 +61,11 @@ namespace OpenVic { IdentifierRegistry<CultureGroup> IDENTIFIER_REGISTRY(culture_group); IdentifierRegistry<Culture> IDENTIFIER_REGISTRY(culture); + GraphicalCultureType const* PROPERTY(default_graphical_culture_type); + bool _load_culture_group( CountryManager const& country_manager, size_t& total_expected_cultures, - GraphicalCultureType const* default_unit_graphical_culture_type, std::string_view culture_group_key, - ast::NodeCPtr culture_group_node + std::string_view culture_group_key, ast::NodeCPtr culture_group_node ); bool _load_culture( CountryManager const& country_manager, CultureGroup const& culture_group, std::string_view culture_key, @@ -72,6 +73,8 @@ namespace OpenVic { ); public: + CultureManager(); + bool add_graphical_culture_type(std::string_view identifier); bool add_culture_group( |