aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-09-10 20:14:49 +0200
committer GitHub <noreply@github.com>2024-09-10 20:14:49 +0200
commitdc0b0ede2368b43ab6c91a5e24d76ec34e91cf46 (patch)
tree732102566650ae717c43db5c2381fb72ce8ed88c /extension/src/openvic-extension/singletons/GameSingleton.hpp
parentcfad2d9e2011a5b930efa14e07ce9caf25d9459a (diff)
parent6d4b8b087b62b5487d72cc6c2265b3e00afb9c8a (diff)
Merge pull request #266 from OpenVicProject/ranking
Ranking + army topbar info
Diffstat (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/GameSingleton.hpp5
1 files changed, 5 insertions, 0 deletions
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<godot::Texture2DArray> province_shape_texture;
godot::Ref<godot::Image> 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();
};
}