diff options
author | Hop311 <Hop3114@gmail.com> | 2024-09-10 20:14:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 20:14:49 +0200 |
commit | dc0b0ede2368b43ab6c91a5e24d76ec34e91cf46 (patch) | |
tree | 732102566650ae717c43db5c2381fb72ce8ed88c /extension/src/openvic-extension/classes/GUILabel.cpp | |
parent | cfad2d9e2011a5b930efa14e07ce9caf25d9459a (diff) | |
parent | 6d4b8b087b62b5487d72cc6c2265b3e00afb9c8a (diff) |
Merge pull request #266 from OpenVicProject/ranking
Ranking + army topbar info
Diffstat (limited to 'extension/src/openvic-extension/classes/GUILabel.cpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GUILabel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUILabel.cpp b/extension/src/openvic-extension/classes/GUILabel.cpp index 732dec2..4b6b1c1 100644 --- a/extension/src/openvic-extension/classes/GUILabel.cpp +++ b/extension/src/openvic-extension/classes/GUILabel.cpp @@ -31,12 +31,18 @@ String const& GUILabel::get_substitution_marker() { return SUBSTITUTION_MARKER; } +String const& GUILabel::get_flag_marker() { + static const String FLAG_MARKER = String::chr(0x40); // @ + return FLAG_MARKER; +} + void GUILabel::_bind_methods() { GUI_TOOLTIP_BIND_METHODS(GUILabel) OV_BIND_SMETHOD(get_colour_marker); OV_BIND_SMETHOD(get_currency_marker); OV_BIND_SMETHOD(get_substitution_marker); + OV_BIND_SMETHOD(get_flag_marker); OV_BIND_METHOD(GUILabel::clear); OV_BIND_METHOD(GUILabel::get_gui_text_name); |