aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-10-03 15:51:45 +0200
committer zaaarf <zaaarf@proton.me>2023-10-22 00:03:36 +0200
commit51583b66feb1d13b285bb2e9c05364659c854130 (patch)
tree150dc88dd897a1072902dd00f58f122382ec8e9f /src/openvic-simulation/GameManager.hpp
parent0de3d5849cfb9faad0e3c8ce10a8152a916bba21 (diff)
feat: implemented basic technology and school loading (modifier processing is still missing)
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index 5b66c8b..5cac9c5 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -10,6 +10,15 @@
#include "openvic-simulation/military/MilitaryManager.hpp"
#include "openvic-simulation/misc/Define.hpp"
#include "openvic-simulation/politics/PoliticsManager.hpp"
+#include "openvic-simulation/pop/Pop.hpp"
+#include "openvic-simulation/tech/Technology.hpp"
+#include "utility/Getters.hpp"
+
+#define DECLARE_WITH_REF_GETTERS(Type, name) \
+ Type name; \
+public: \
+ REF_GETTERS(name) \
+private:
namespace OpenVic {
struct GameManager {
@@ -23,6 +32,7 @@ namespace OpenVic {
ModifierManager PROPERTY_REF(modifier_manager);
PoliticsManager PROPERTY_REF(politics_manager);
HistoryManager PROPERTY_REF(history_manager);
+ TechnologyManager PROPERTY_REF(technology_manager);
PopManager PROPERTY_REF(pop_manager);
CountryManager PROPERTY_REF(country_manager);
UIManager PROPERTY_REF(ui_manager);