diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-02 17:50:37 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-02 17:50:37 +0300 |
| commit | 3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf (patch) | |
| tree | 7ccd3b6b20a2211d3c2f72f0707f2d28f9faaf2c /crates/fparkan-assets/src/strategic_factory.rs | |
| parent | bd7811533a348e56d2be9c7281d0533fc8c46024 (diff) | |
| download | fparkan-3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf.tar.xz fparkan-3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf.zip | |
feat(ui): link the other buildings panel to the satellite map
Use the installed compound controls, font, and class glyphs for live clan buildings and their durability. Compare the stock Two Fortresses list order, first selection, two-way map selection, and close behavior in the original and in FParkan with Vulkan validation.
Diffstat (limited to 'crates/fparkan-assets/src/strategic_factory.rs')
| -rw-r--r-- | crates/fparkan-assets/src/strategic_factory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/fparkan-assets/src/strategic_factory.rs b/crates/fparkan-assets/src/strategic_factory.rs index 1cf6d8a4..cc4eb491 100644 --- a/crates/fparkan-assets/src/strategic_factory.rs +++ b/crates/fparkan-assets/src/strategic_factory.rs @@ -373,11 +373,11 @@ impl FactoryImages { } } -fn stamp(image: &mut RgbaImage, sprite: &RgbaImage, rect: [u32; 4], tint: [u8; 3]) { +pub(crate) fn stamp(image: &mut RgbaImage, sprite: &RgbaImage, rect: [u32; 4], tint: [u8; 3]) { copy_sprite(image, sprite, rect, [false; 2], tint); } -fn text( +pub(crate) fn text( font: &BitmapFont, image: &mut RgbaImage, label: &str, |
