diff options
author | Hop311 <Hop3114@gmail.com> | 2024-08-30 23:31:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 23:31:52 +0200 |
commit | 74cd5d9c4236aef435dd64ffd8f10a7f98533e42 (patch) | |
tree | 34e0efee3d598bfbd8ed7e0921ceebc8addc2e07 /extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp | |
parent | 2e0bc5b556b9c6df46a8cdd48d3f109e0ac76b63 (diff) | |
parent | fb9672c39a2cba01b279a473e1f8076cea461393 (diff) |
Merge pull request #255 from OpenVicProject/gov-flag-type
Use government based flag types in UI
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp b/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp index 3d361e4..b26f0dd 100644 --- a/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp +++ b/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp @@ -6,6 +6,7 @@ namespace OpenVic { struct CountryDefinition; + struct CountryInstance; class GFXMaskedFlagTexture : public GFXButtonStateHavingTexture { GDCLASS(GFXMaskedFlagTexture, GFXButtonStateHavingTexture) @@ -55,9 +56,9 @@ namespace OpenVic { /* Look up the specified country's current flag type, then call set_flag_country_and_type * with the country and its flag type as arguments. */ - godot::Error set_flag_country(CountryDefinition const* new_flag_country); + godot::Error set_flag_country(CountryInstance const* new_flag_country); - /* Look up the country with the specified identifier, then call set_flag_country with the country its argument. */ + /* Look up the country with the specified identifier, then call set_flag_country with the country as its argument. */ godot::Error set_flag_country_name(godot::String const& new_flag_country_name); /* Return the name of the selected flag's country, or an empty String if it's null. */ |