mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:10:42 +00:00
65e99b25e7
Warships now render with a dedicated center accent band so their state reads at a glance: - Normal: center + outer ring share the territory color (2-color look), hull uses the border color. - Angry (attacking): outer ring and center turn red. - Retreating to repair: the center blinks black. The warship sprite center moved to its own gray value (100) in the unit atlas so the shader can drive it via a new fourth replacement band, with no per-unit-type branching — the missiles' shared 130 blend band is untouched. Warship repair-retreat (warshipState.state === "retreating") now feeds the existing UnitState.retreating boolean in UnitView, which UnitPass maps to a FLAG_RETREATING instance flag.