diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-12-20 00:45:09 +0100 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-01-03 01:46:54 +0100 |
commit | 5fa456c21ad950a6f269b83f5e88ce8c90ae9a14 (patch) | |
tree | f8f1b23dd13a0f2029747404ad30ffa346b5e99f /src/openvic-simulation/GameManager.hpp | |
parent | 66b80459c9d49895de902432bce11176b1270878 (diff) |
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
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r-- | src/openvic-simulation/GameManager.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |