aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-10-11 17:32:18 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-10-16 08:18:29 +0200
commit2a2e8b6e5c4657aeeb4f7af3ce90684d9a55d555 (patch)
tree25b6ccecb74113c41da3686892f36b66eff44ab5 /src/openvic-simulation/GameManager.hpp
parentd1125bf50be8fd415e2ce5179fdf446918e16d93 (diff)
Add Country Loading
Searches for countries.txt then loads the country from the directed file
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp3
1 files changed, 3 insertions, 0 deletions
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();