aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-04-22 01:26:10 +0200
committer GitHub <noreply@github.com>2024-04-22 01:26:10 +0200
commit747ccf4491512763559bf524cbceafe640188b89 (patch)
tree507bd872006d137d47942e085cb5114cc2432ddf /extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
parent61e1e14ab7d206422004b4b4c6ffbb5e5f7dec58 (diff)
parentb9d4aee8cdc5aabcab049d1f028d3c6fd3bdb6f6 (diff)
Merge pull request #220 from OpenVicProject/flag-sheet
Switch to using a single flag sheet image/texture
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp b/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
index cc28fe6..9290d5c 100644
--- a/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
+++ b/extension/src/openvic-extension/classes/GFXMaskedFlagTexture.hpp
@@ -14,6 +14,7 @@ namespace OpenVic {
godot::StringName PROPERTY(flag_type);
godot::Ref<godot::Image> overlay_image, mask_image, flag_image;
+ godot::Rect2i flag_image_rect;
godot::Ref<godot::ImageTexture> combined_texture;
godot::Error _generate_combined_image();