Setting reorganization, some changed strings, soft drop shadows for text on game screen

This commit is contained in:
Henrik Rydgård committed 2026-10-31 01:22:27 +01:00
1 parent d5acc2bde1
commit f9baffccb6
58 files changed
+173 -152

No files matched your search

+2 -1
View File
@@ -23,12 +23,13 @@
// In UI units.
static constexpr float UI_SHADOW_RADIUS = 3.0f;
static constexpr float UI_SHADOW_INTENSITY = 0.66f;
static constexpr float UI_SHADOW_INTENSITY = 0.7f;
DropShadowParams UIDropShadowParams(float pixelsPerUnit) {
DropShadowParams params;
params.radius = std::max(1, (int)(UI_SHADOW_RADIUS * pixelsPerUnit));
params.intensity = UI_SHADOW_INTENSITY;
params.offsetY = 1.0f * pixelsPerUnit;
return params;
}