aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/MenuSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-09-20 18:50:25 +0200
committer GitHub <noreply@github.com>2024-09-20 18:50:25 +0200
commitb6256b7c90e71085b06116575b36181883db5a48 (patch)
treea7959840d5332abbbbeeef24a6322b215d1beaeb /extension/src/openvic-extension/singletons/MenuSingleton.hpp
parent8f0538b74fd274721a3178bff9b1294a71af3431 (diff)
parentb78093041d877ef30c2d17878cc03fd30c4b229c (diff)
Merge pull request #274 from OpenVicProject/rule-modifier-tooltips
Add RuleSet and ModifierValue tooltip making functions
Diffstat (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.hpp b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
index 3f07583..97a6956 100644
--- a/extension/src/openvic-extension/singletons/MenuSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
@@ -11,6 +11,8 @@ namespace OpenVic {
struct CountryInstance;
struct State;
struct ProvinceInstance;
+ struct ModifierValue;
+ struct RuleSet;
class MenuSingleton : public godot::Object {
GDCLASS(MenuSingleton, godot::Object)
@@ -105,6 +107,9 @@ namespace OpenVic {
godot::String get_country_name(CountryInstance const& country) const;
godot::String get_country_adjective(CountryInstance const& country) const;
+ godot::String make_modifier_effects_tooltip(ModifierValue const& modifier) const;
+ godot::String make_rules_tooltip(RuleSet const& rules) const;
+
protected:
static void _bind_methods();