diff options
author | zaaarf <80046572+zaaarf@users.noreply.github.com> | 2023-09-23 13:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-23 13:51:09 +0200 |
commit | 13aff4b4eacecf565a2c9ff948f02cda1eac1903 (patch) | |
tree | 89307290fb810ddf0908c1a48c12dac945b2e0fa /src/openvic-simulation/economy/Good.hpp | |
parent | 4550acf29bd3ce4ff9b9d14788de21d96a5ef90a (diff) | |
parent | 7720c6e1bcae39187ee75c2e084a9d4f6bd961fe (diff) |
Merge pull request #22 from OpenVicProject/dataloading-military
Dataloading for military (Unit, LandUnity, NavalUnit)
Diffstat (limited to 'src/openvic-simulation/economy/Good.hpp')
-rw-r--r-- | src/openvic-simulation/economy/Good.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/economy/Good.hpp b/src/openvic-simulation/economy/Good.hpp index 6c237b1..df92525 100644 --- a/src/openvic-simulation/economy/Good.hpp +++ b/src/openvic-simulation/economy/Good.hpp @@ -2,6 +2,7 @@ #include "openvic-simulation/dataloader/NodeTools.hpp" #include "openvic-simulation/types/IdentifierRegistry.hpp" +#include "openvic-dataloader/v2script/AbstractSyntaxTree.hpp" namespace OpenVic { struct GoodManager; @@ -75,5 +76,7 @@ namespace OpenVic { void reset_to_defaults(); bool load_goods_file(ast::NodeCPtr root); + + NodeTools::node_callback_t expect_goods_map(NodeTools::callback_t<std::map<Good const*, fixed_point_t>> cb); }; } |