diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-10-11 17:32:18 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-10-16 08:18:29 +0200 |
commit | 2a2e8b6e5c4657aeeb4f7af3ce90684d9a55d555 (patch) | |
tree | 25b6ccecb74113c41da3686892f36b66eff44ab5 /src/openvic-simulation/dataloader/Dataloader.hpp | |
parent | d1125bf50be8fd415e2ce5179fdf446918e16d93 (diff) |
Add Country Loading
Searches for countries.txt then loads the country from the directed file
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.hpp')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.hpp b/src/openvic-simulation/dataloader/Dataloader.hpp index c268a94..4d67501 100644 --- a/src/openvic-simulation/dataloader/Dataloader.hpp +++ b/src/openvic-simulation/dataloader/Dataloader.hpp @@ -26,6 +26,7 @@ namespace OpenVic { bool _load_pop_types(PopManager& pop_manager, fs::path const& pop_type_directory) const; bool _load_units(UnitManager& unit_manager, GoodManager const& good_manager, fs::path const& units_directory) const; bool _load_map_dir(GameManager& game_manager, fs::path const& map_directory) const; + bool _load_countries(GameManager& game_manager, fs::path const& countries_file, ast::NodeCPtr root) const; public: static ovdl::v2script::Parser parse_defines(fs::path const& path); |