From 6d4b8b087b62b5487d72cc6c2265b3e00afb9c8a Mon Sep 17 00:00:00 2001 From: hop311 Date: Sun, 8 Sep 2024 17:55:42 +0100 Subject: Ranking + army topbar info --- extension/src/openvic-extension/singletons/GameSingleton.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp') diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp index e0eb5fc..e737643 100644 --- a/extension/src/openvic-extension/singletons/GameSingleton.hpp +++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp @@ -15,6 +15,8 @@ namespace OpenVic { GameManager game_manager; + CountryInstance const* PROPERTY(viewed_country); + godot::Vector2i image_subdivisions; godot::Ref province_shape_texture; godot::Ref province_colour_image; @@ -124,6 +126,9 @@ namespace OpenVic { void set_selected_province(int32_t index); void unset_selected_province(); + void set_viewed_country(CountryInstance const* new_viewed_country); + void set_viewed_country_by_province_index(int32_t province_index); + godot::Error update_clock(); }; } -- cgit v1.2.3-56-ga3b1