docs(architecture): make section pages canonical
This commit is contained in:
1 parent
15cc6cbdd0
commit
98eae6f3e9
7 files changed
+39
-606
No files matched your search
@@ -57,26 +57,14 @@ void AGigLineHUD::DrawHUD()
|
||||
}
|
||||
UpdateFrameStats(GetWorld() ? GetWorld()->GetDeltaSeconds() : 0.0f);
|
||||
|
||||
if (!Canvas || AttributionLine.IsEmpty())
|
||||
if (!Canvas)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Bottom-left, above any letterbox: the standard place for map/data credits.
|
||||
const float LineHeight = Canvas->ClipY > 0 ? 22.0f * TextScale : 22.0f * TextScale;
|
||||
const float X = MarginPx;
|
||||
const float Y = Canvas->ClipY - MarginPx - LineHeight * 2.1f;
|
||||
|
||||
const FLinearColor Shadow(0.0f, 0.0f, 0.0f, 0.55f);
|
||||
const FLinearColor Ink(1.0f, 1.0f, 1.0f, 0.92f);
|
||||
|
||||
// Shadow pass for legibility over bright pavement and sky.
|
||||
DrawText(AttributionLine, Shadow, X + 1.0f, Y + 1.0f, nullptr, TextScale);
|
||||
DrawText(LicenceLine, Shadow, X + 1.0f, Y + LineHeight + 1.0f, nullptr, TextScale * 0.82f);
|
||||
|
||||
DrawText(AttributionLine, Ink, X, Y, nullptr, TextScale);
|
||||
DrawText(LicenceLine, Ink, X, Y + LineHeight, nullptr, TextScale * 0.82f);
|
||||
|
||||
// Control legend, bottom-right (0.1.0 release check: controls shown in-game).
|
||||
if (!ControlsLine.IsEmpty())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user