aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
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);