aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/MenuSingleton.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-11-19 17:26:51 +0100
committer hop311 <hop3114@gmail.com>2024-11-19 17:26:51 +0100
commit2cdbcea72762822adedf948f43a61d38472b5c7d (patch)
treeb5c1c2f181a152fb32e22e6f7a3debbf456e7ba3 /extension/src/openvic-extension/singletons/MenuSingleton.hpp
parentec714dd793658cb0a21babba47b70e43b40c504e (diff)
Update to OpenVic-Simulation@dda680c
Diffstat (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.hpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.hpp b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
index 0dcc8ff..169d519 100644
--- a/extension/src/openvic-extension/singletons/MenuSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
@@ -1,16 +1,26 @@
#pragma once
+#include <variant>
+
#include <godot_cpp/classes/control.hpp>
#include <godot_cpp/classes/image.hpp>
-#include <openvic-simulation/pop/Pop.hpp>
#include <openvic-simulation/types/IndexedMap.hpp>
+#include <openvic-simulation/types/PopSize.hpp>
#include <openvic-simulation/types/OrderedContainers.hpp>
namespace OpenVic {
struct CountryInstance;
struct State;
struct ProvinceInstance;
+ struct Pop;
+ struct PopType;
+ struct Religion;
+ struct Ideology;
+ struct Culture;
+ struct Issue;
+ struct CountryParty;
+ struct RebelType;
struct ModifierValue;
struct RuleSet;
@@ -46,7 +56,7 @@ namespace OpenVic {
int32_t visible_province_list_entries = 0;
struct pop_filter_t {
- Pop::pop_size_t count, promotion_demotion_change;
+ pop_size_t count, promotion_demotion_change;
bool selected;
};
ordered_map<PopType const*, pop_filter_t> pop_filters;