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/dataloader/Dataloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/openvic-simulation/dataloader') diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp index f78499c..8a5f27e 100644 --- a/src/openvic-simulation/dataloader/Dataloader.cpp +++ b/src/openvic-simulation/dataloader/Dataloader.cpp @@ -915,6 +915,10 @@ bool Dataloader::load_defines(GameManager& game_manager) const { Logger::error("Failed to load on actions!"); ret = false; } + if (!game_manager.get_diplomacy_manager().get_diplomatic_action_manager().setup_diplomatic_actions()) { + Logger::error("Failed to load diplomatic actions!"); + ret = false; + } return ret; } -- cgit v1.2.3-56-ga3b1