@@ -22,8 +22,6 @@ namespace OpenVic {
2222 struct CountryDefinitionManager ;
2323
2424 struct CountryParty : HasIdentifierAndColour {
25- friend struct CountryDefinitionManager ;
26-
2725 using policy_map_t = IndexedMap<IssueGroup, Issue const *>;
2826
2927 private:
@@ -32,19 +30,18 @@ namespace OpenVic {
3230 Ideology const * PROPERTY (ideology); // Can be nullptr, shows up as "No Ideology" in game
3331 policy_map_t PROPERTY (policies);
3432
33+ public:
3534 CountryParty (
3635 std::string_view new_identifier, Date new_start_date, Date new_end_date, Ideology const * new_ideology,
3736 policy_map_t && new_policies
3837 );
39-
40- public:
4138 CountryParty (CountryParty&&) = default ;
4239 };
4340
4441 /* Generic information about a TAG */
4542 struct CountryDefinition : HasIdentifierAndColour, HasIndex<CountryDefinition> {
4643 friend struct CountryDefinitionManager ;
47-
44+
4845 using unit_names_map_t = ordered_map<UnitType const *, name_list_t >;
4946 using government_colour_map_t = ordered_map<GovernmentType const *, colour_t >;
5047
@@ -61,14 +58,14 @@ namespace OpenVic {
6158 colour_t PROPERTY (tertiary_unit_colour);
6259 // Unit colours not const due to being added after construction
6360
61+
62+ public:
6463 CountryDefinition (
6564 std::string_view new_identifier, colour_t new_colour, index_t new_index,
6665 GraphicalCultureType const & new_graphical_culture, IdentifierRegistry<CountryParty>&& new_parties,
6766 unit_names_map_t && new_unit_names, bool new_dynamic_tag, government_colour_map_t && new_alternative_colours,
6867 colour_t new_primary_unit_colour, colour_t new_secondary_unit_colour, colour_t new_tertiary_unit_colour
6968 );
70-
71- public:
7269 CountryDefinition (CountryDefinition&&) = default ;
7370
7471 // TODO - get_colour including alternative colours
0 commit comments