aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-08-30 23:31:52 +0200
committer GitHub <noreply@github.com>2024-08-30 23:31:52 +0200
commit74cd5d9c4236aef435dd64ffd8f10a7f98533e42 (patch)
tree34e0efee3d598bfbd8ed7e0921ceebc8addc2e07 /extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
parent2e0bc5b556b9c6df46a8cdd48d3f109e0ac76b63 (diff)
parentfb9672c39a2cba01b279a473e1f8076cea461393 (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.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. */