Add the cockpit glass-sizing declarations missed by the last commit

L4VB16.h carries GlassSize and CockpitGlassSizes, which L4VB16.cpp uses
in both the constructor and LayoutCockpit - 8dc6605 left it behind (the
add named the path in the wrong case), so that commit does not build on
its own.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-25 14:05:24 -05:00
co-authored by Claude Fable 5
parent 8dc6605a07
commit ea9491d2d5
+20
View File
@@ -308,6 +308,26 @@ private:
SplitViewCount
};
public:
//------------------------------------------------------------------
// Glass size of one secondary display, in whatever units the caller
// asked for (canvas units while clamping, device pixels on return).
//------------------------------------------------------------------
struct GlassSize
{
int w, h;
};
protected:
//------------------------------------------------------------------
// The six displays sized for a given canvas scale, honouring the
// player's per-display scaling and clamped to keep the pod
// arrangement legal. Every layout goes through here, first and
// resized alike, so the two can never disagree.
//------------------------------------------------------------------
static void
CockpitGlassSizes(int scale, GlassSize sizes[SplitViewCount]);
void
FillSplitMFD(
SplitViewID view,