aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/MenuSingleton.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/MenuSingleton.hpp
parentcfad2d9e2011a5b930efa14e07ce9caf25d9459a (diff)
parent6d4b8b087b62b5487d72cc6c2265b3e00afb9c8a (diff)
Merge pull request #266 from OpenVicProject/ranking
Ranking + army topbar info
Diffstat (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.hpp b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
index 022bce5..3f07583 100644
--- a/extension/src/openvic-extension/singletons/MenuSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
@@ -115,6 +115,10 @@ namespace OpenVic {
MenuSingleton();
~MenuSingleton();
+ static godot::String get_tooltip_separator();
+ godot::String get_country_name_from_identifier(godot::String const& country_identifier) const;
+ godot::String get_country_adjective_from_identifier(godot::String const& country_identifier) const;
+
/* TOOLTIP */
void show_tooltip(
godot::String const& text, godot::Dictionary const& substitution_dict, godot::Vector2 const& position
@@ -134,6 +138,9 @@ namespace OpenVic {
int32_t get_administrative_pop_icon_index() const;
int32_t get_rgo_owner_pop_icon_index() const;
+ /* TOPBAR */
+ godot::Dictionary get_topbar_info() const;
+
/* TIME/SPEED CONTROL PANEL */
void set_paused(bool paused);
void toggle_paused();