aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-04-24 21:26:49 +0200
committer GitHub <noreply@github.com>2024-04-24 21:26:49 +0200
commitd351700ded728a2bb52995579d8cbba43cc247c8 (patch)
treee0ec540f15f1a543121cf2f3ea4f0d46cd2c8f6a /extension/src/openvic-extension/singletons/GameSingleton.hpp
parent7a1167259bc2a33aab8e91c6108d9054c77408bc (diff)
parent0fb9d5c8fb4771ef8001efdd8de1dc2dab4bb5dc (diff)
Merge pull request #222 from OpenVicProject/province-namesrivers
Add province names and improve zooming
Diffstat (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/GameSingleton.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp
index 397b64c..f2b88ac 100644
--- a/extension/src/openvic-extension/singletons/GameSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp
@@ -95,6 +95,8 @@ namespace OpenVic {
/* The base and stripe colours for each province. */
godot::Ref<godot::ImageTexture> get_province_colour_texture() const;
+ godot::TypedArray<godot::Dictionary> get_province_names() const;
+
int32_t get_mapmode_count() const;
godot::String get_mapmode_identifier(int32_t index) const;
godot::Error set_mapmode(godot::String const& identifier);