aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Ideology.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-20 11:57:59 +0200
committer zaaarf <zaaarf@proton.me>2023-09-20 11:57:59 +0200
commit63e5866381234d6627174869b7a27770daef20fd (patch)
tree724c593e0f1ad4ad4c133fbbd86db36aa1475f52 /src/openvic-simulation/politics/Ideology.hpp
parent33787f89686cd03a6ae7305bc51add5ac47fbde2 (diff)
feat: ideology loading
Diffstat (limited to 'src/openvic-simulation/politics/Ideology.hpp')
-rw-r--r--src/openvic-simulation/politics/Ideology.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/politics/Ideology.hpp b/src/openvic-simulation/politics/Ideology.hpp
index b3227f7..137757f 100644
--- a/src/openvic-simulation/politics/Ideology.hpp
+++ b/src/openvic-simulation/politics/Ideology.hpp
@@ -2,6 +2,7 @@
#include "types/Date.hpp"
#include "types/IdentifierRegistry.hpp"
+#include "openvic-simulation/dataloader/NodeTools.hpp"
namespace OpenVic {
struct IdeologyManager;
@@ -48,6 +49,6 @@ namespace OpenVic {
bool add_ideology(const std::string_view identifier, colour_t colour, IdeologyGroup const* group, bool uncivilised, Date spawn_date);
IDENTIFIER_REGISTRY_ACCESSORS_CUSTOM_PLURAL(Ideology, ideology, ideologies)
- //TODO - loaders
+ bool load_ideology_file(ast::NodeCPtr root);
};
} \ No newline at end of file