From c935e471782764dcc10a3175741a02ab3ffffa8e Mon Sep 17 00:00:00 2001 From: zaaarf Date: Thu, 30 Nov 2023 21:20:37 +0100 Subject: feat: implemented modifier identifier flattening, added/fixed remaining tech modifiers effects --- src/openvic-simulation/military/Unit.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/openvic-simulation/military/Unit.hpp') diff --git a/src/openvic-simulation/military/Unit.hpp b/src/openvic-simulation/military/Unit.hpp index 65d0936..17228ce 100644 --- a/src/openvic-simulation/military/Unit.hpp +++ b/src/openvic-simulation/military/Unit.hpp @@ -3,6 +3,7 @@ #include #include +#include "openvic-simulation/misc/Modifier.hpp" #include "openvic-simulation/dataloader/NodeTools.hpp" #include "openvic-simulation/economy/Good.hpp" #include "openvic-simulation/types/Date.hpp" @@ -124,5 +125,6 @@ namespace OpenVic { static NodeTools::callback_t expect_type_str(NodeTools::Callback auto callback); bool load_unit_file(GoodManager const& good_manager, ast::NodeCPtr root); + bool generate_modifiers(ModifierManager& modifier_manager); }; } -- cgit v1.2.3-56-ga3b1