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/dataloader/Dataloader.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/dataloader/Dataloader.hpp')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.hpp b/src/openvic-simulation/dataloader/Dataloader.hpp index 6741361..9e15102 100644 --- a/src/openvic-simulation/dataloader/Dataloader.hpp +++ b/src/openvic-simulation/dataloader/Dataloader.hpp @@ -5,6 +5,7 @@ #include <vector> #include "openvic-simulation/dataloader/NodeTools.hpp" +#include "units/Unit.hpp" namespace OpenVic { namespace fs = std::filesystem; @@ -21,6 +22,7 @@ namespace OpenVic { path_vector_t roots; bool _load_pop_types(PopManager& pop_manager, fs::path const& pop_type_directory) const; + bool _load_units(UnitManager& unit_manager, fs::path const& units_directory) const; bool _load_map_dir(GameManager& game_manager, fs::path const& map_directory) const; public: |