BT410 Phase 5.3.29: the panel titles -- 94.8% identical to the shipped cockpit
Reading the art settled where the titles live: qsensors/qmyomers/qermlas/ qppc/qstrk6.pcc are 299x26 TITLE BANNERS, while the qblh0..7.pcc strings the cfg hands vehicleSubSystems are 77x120 MECH ICONS (already lit by the 5.3.28 placement fix). So the authored auxScreenLabel IS the panel title -- it just belongs on the MFD panel, not only the ENG page. SubsystemCluster now builds a titleBanner child from the cached label. Placement was MEASURED against the shipped framebuffer through the A/B rig (BackgroundBitmap places by left/BOTTOM): a bring-up BT_TITLE_DY knob, then a green-pixel correlation over the title band, then baked at x+0x09, y+0xb3 from the panel origin. "SENSOR CLUSTER", "MYOMERS", "TYPE II 65 TONS" and both "ERMED LASER RANGE 500M" banners now render where the shipped binary puts them. Score progression vs the shipped cockpit on identical GAUGE content: 5.3.26 birth 90.1% identical / 82% coverage 5.3.28 authored screens 93.2% / 85% 5.3.29 titles tuned 94.8% / 91% Also: grab.ps1 now focuses the target window before capturing -- the screen-copy grabbed whatever was in front, which cost two junk captures (a white frame and an unrelated 3-D app window). Gauge fight 11/11 rounds and smoke both clean, zero faults. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1927,6 +1927,34 @@ SubsystemCluster::SubsystemCluster(
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// The PANEL TITLE BANNER (299x26): the authored auxScreenLabel .pcc --
|
||||
// "SENSOR CLUSTER" / "MYOMERS" / "ERMED LASER RANGE 500M" / the weapon
|
||||
// names. Cached on PoweredSubsystem at ctor time (its resource dies
|
||||
// with the Mech ctor's stream buffer). The banner sits at the TOP of
|
||||
// the quadrant; BackgroundBitmap places by (left, BOTTOM), so the row
|
||||
// is the panel origin plus the quadrant height less the banner.
|
||||
//
|
||||
titleBanner = NULL;
|
||||
if (subsystem_in != NULL
|
||||
&& subsystem_in->IsDerivedFrom(PoweredSubsystem::ClassDerivations))
|
||||
{
|
||||
const char *title =
|
||||
((PoweredSubsystem *)subsystem_in)->GetAuxScreenLabel();
|
||||
if (title != NULL && *title != ' | ||||