aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/Dataloader.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-22 16:14:22 +0200
committer zaaarf <zaaarf@proton.me>2023-09-22 16:14:22 +0200
commite91e2670abfd4976883c7a5d654d1f5469b4ac7a (patch)
tree6c79c05b35773972a2338adfeb395c4487f94087 /src/openvic-simulation/dataloader/Dataloader.hpp
parentf68f60efec1b1bad7d0b33fedff82fbfb9d6ebaa (diff)
feat: removed enum, passed goods manager
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.hpp')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.hpp2
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: