From 5fa456c21ad950a6f269b83f5e88ce8c90ae9a14 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Tue, 19 Dec 2023 18:45:09 -0500 Subject: Add diplomatic actions skeleton Add AnyRef for cheap "move only" reference Add FunctionRef for cheap "move only" function reference Based on https://github.com/think-cell/think-cell-library/blob/main/tc/base/ref.h --- src/openvic-simulation/GameManager.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/openvic-simulation/GameManager.hpp') diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp index 33be9d3..571b4bc 100644 --- a/src/openvic-simulation/GameManager.hpp +++ b/src/openvic-simulation/GameManager.hpp @@ -2,6 +2,7 @@ #include "openvic-simulation/misc/Decision.hpp" #include "openvic-simulation/country/Country.hpp" +#include "openvic-simulation/diplomacy/DiplomacyManager.hpp" #include "openvic-simulation/economy/EconomyManager.hpp" #include "openvic-simulation/history/HistoryManager.hpp" #include "openvic-simulation/interface/UI.hpp" @@ -36,6 +37,7 @@ namespace OpenVic { EventManager PROPERTY_REF(event_manager); DecisionManager PROPERTY_REF(decision_manager); UIManager PROPERTY_REF(ui_manager); + DiplomacyManager PROPERTY_REF(diplomacy_manager); SimulationClock PROPERTY_REF(simulation_clock); time_t session_start; /* SS-54, as well as allowing time-tracking */ -- cgit v1.2.3-56-ga3b1