fix(combat): restore retail power bar layers

Preserve the authored gray track, trained-Recklessness range, live bright charge meter, and independent desired-power thumb while keeping Speed and Power over gray side regions. Correct retail text justification value 2 to left alignment and retain direct RenderSurface decoding in the texture inspection tool used to verify the assets.

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-12 21:14:14 +02:00
parent 0f2d98c501
commit 256c1930bd
18 changed files with 200 additions and 32 deletions

View file

@ -60,6 +60,20 @@ public sealed class UiPropertyBagTests
.Properties.Values[0x14u].UnsignedValue);
}
[Fact]
public void ElementMerge_RetailTextDefaultTwo_IsLeftJustified()
{
var info = new ElementInfo();
info.States[UiStateInfo.DirectStateId] = State(
UiStateInfo.DirectStateId,
"",
(0x14u, Enum(2u)));
var merged = ElementReader.Merge(new ElementInfo(), info);
Assert.Equal(HJustify.Left, merged.HJustify);
}
[Fact]
public void ConvertProperty_PreservesNestedRetailValues()
{