aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/ModelSingleton.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-05-08 01:14:00 +0200
committer hop311 <hop3114@gmail.com>2024-05-08 01:37:33 +0200
commitac29e4040fc20c50c8f0eb64b1194f6398165eb0 (patch)
treeb6460c44a29fe8bac9ba125a8464c88c8b9b6e89 /extension/src/openvic-extension/singletons/ModelSingleton.hpp
parentac1504f6fa981947bd9543d24325b3751236e925 (diff)
Generate building modelsmodels
Diffstat (limited to 'extension/src/openvic-extension/singletons/ModelSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/ModelSingleton.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/ModelSingleton.hpp b/extension/src/openvic-extension/singletons/ModelSingleton.hpp
index 9ec163e..17c2dd0 100644
--- a/extension/src/openvic-extension/singletons/ModelSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/ModelSingleton.hpp
@@ -32,11 +32,17 @@ namespace OpenVic {
template<utility::is_derived_from_specialization_of<UnitInstanceGroup> T>
bool add_unit_dict(ordered_set<T*> const& units, godot::TypedArray<godot::Dictionary>& unit_array) const;
+ bool add_building_dict(
+ BuildingInstance const& building, Province const& province, godot::TypedArray<godot::Dictionary>& building_array
+ ) const;
+
public:
godot::TypedArray<godot::Dictionary> get_units() const;
godot::Dictionary get_cultural_gun_model(godot::String const& culture) const;
godot::Dictionary get_cultural_helmet_model(godot::String const& culture) const;
godot::Dictionary get_flag_model(bool floating) const;
+
+ godot::TypedArray<godot::Dictionary> get_buildings() const;
};
}