"Accept as..." (proposal type-picker) and "Change type" (entity-edit) opened to a visibly empty/unchanged popover with no traceback: swapping an already-open Popover's child and re-popup()ing it reported the right size internally but the compositor never repainted the reused surface. Confirmed live via temporary debug instrumentation, not guessed. Fixed by popping the old popover down and opening a genuinely new one at the same anchor point instead of resizing in place. Also adds a Target.underground_tier (1-3) marker: a "Mark underground" entry in the entity-edit popover, rendered as the game's own Armor-tier additive badge stacked directly on the unit icon. The badge is scaled/positioned off its real opaque content (PIL bbox), not its PNG canvas, since the additive art carries a lot of off-center transparent padding; and overlaps down into the icon by a fixed pixel amount, since both shapes taper to a point at the seam and exact bbox-touching still read as a visible gap. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| misc | ||
| nest | ||
| reference_points | ||
| shells | ||
| targets | ||
| README.md | ||
Icons
Extracted from the game's own GameAssets/Assets/Texture2D (gitignored,
not redistributed as a whole), for reuse in FEnigma's UI rather than
redrawing equivalents from scratch. Two source filenames had typos in
the game files themselves ("Frendly_", "Refrence_Point_"), corrected
here on copy; everything else keeps its original name.
targets/enemy/,targets/friendly/- one marker icon per game unit type,Enemy_*.png/Friendly_*.png(originallyFrendly_*.png). Not a strict 1:1 withTargetTypeinmodels.py, the game has more unit types than this app currently tracks as targets, pick whichever fits closest per type.reference_points/-ReferencePoint_A.png.._D.png(originallyRefrence_Point_*.png), the four lettered RP markers.shells/- one icon perShellenum member inshells.py, named to match exactly (AP.png,HE.png, ...), safe to look up byShell.namedirectly. Source filenames for the ones without a game short-code baked in: MSTD <- "Mustard Gas_DemoBlocked.png", TEAR <- "Tear Gas.png", PRPG <- "Propaganda.png", PHGN <- "Phosgene.png", ATMC <- "Nuclear.png".nest/IronNest.png- the Iron Nest / FDC unit icon (originally "IronNest Unit Icon.png").misc/ScoutPlane.png- scout-flight icon (originally "Scout Plane B.png"), fits the app's scout flight planning feature.