diff options
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. */ |