mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-05 22:42:54 +00:00
Server splash: display server name in medium font
This commit is contained in:
parent
3876f16c0d
commit
fb9f4a68b9
1 changed files with 12 additions and 3 deletions
|
|
@ -1459,10 +1459,19 @@ void ST_DrawServerSplash(boolean timelimited)
|
|||
|
||||
fixed_t textX = (BASEVIDWIDTH - 16 - 36) * FRACUNIT;
|
||||
fixed_t textY = (24 - 8) * FRACUNIT;
|
||||
|
||||
V_DrawRightAlignedStringAtFixed(
|
||||
textX, textY,
|
||||
fixed_t textW = V_StringScaledWidth(
|
||||
FRACUNIT, FRACUNIT, FRACUNIT,
|
||||
(V_SNAPTORIGHT|V_SNAPTOTOP) | opacityFlag,
|
||||
MED_FONT,
|
||||
connectedservername
|
||||
);
|
||||
|
||||
V_DrawStringScaled(
|
||||
textX - textW, textY,
|
||||
FRACUNIT, FRACUNIT, FRACUNIT,
|
||||
(V_SNAPTORIGHT|V_SNAPTOTOP) | opacityFlag,
|
||||
NULL,
|
||||
MED_FONT,
|
||||
connectedservername
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue