From 2a2e8b6e5c4657aeeb4f7af3ce90684d9a55d555 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Wed, 11 Oct 2023 11:32:18 -0400 Subject: Add Country Loading Searches for countries.txt then loads the country from the directed file --- src/openvic-simulation/GameManager.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openvic-simulation/GameManager.hpp') diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp index 09771c6..b2d42d3 100644 --- a/src/openvic-simulation/GameManager.hpp +++ b/src/openvic-simulation/GameManager.hpp @@ -2,6 +2,7 @@ #include "openvic-simulation/GameAdvancementHook.hpp" #include "openvic-simulation/Modifier.hpp" +#include "openvic-simulation/country/Country.hpp" #include "openvic-simulation/economy/EconomyManager.hpp" #include "openvic-simulation/history/HistoryManager.hpp" #include "openvic-simulation/map/Map.hpp" @@ -20,6 +21,7 @@ namespace OpenVic { PoliticsManager politics_manager; HistoryManager history_manager; PopManager pop_manager; + CountryManager country_manager; GameAdvancementHook clock; time_t session_start; /* SS-54, as well as allowing time-tracking */ @@ -41,6 +43,7 @@ namespace OpenVic { REF_GETTERS(politics_manager) REF_GETTERS(history_manager) REF_GETTERS(pop_manager) + REF_GETTERS(country_manager) REF_GETTERS(clock) bool setup(); -- cgit v1.2.3-56-ga3b1