aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-08-30 00:36:01 +0200
committer hop311 <hop3114@gmail.com>2024-08-30 00:36:01 +0200
commitfb9672c39a2cba01b279a473e1f8076cea461393 (patch)
tree12460b7a7dae0057fdbe5ea857a3ae8c79413be7 /extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
parentbdc2ba527bc02e7cdf977f6040f2ca85aa4f9a94 (diff)
Use government based flag types in UIgov-flag-type
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp5
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. */