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/dataloader | |
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/dataloader')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |