mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
HUD: 4P viewpoint text in bottom corners
This commit is contained in:
parent
a7ca3c1768
commit
0e7b4c0987
1 changed files with 7 additions and 1 deletions
|
|
@ -1320,7 +1320,13 @@ static void ST_overlayDrawer(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
V_DrawCenteredThinString((vid.width/vid.dupx)/4, BASEVIDHEIGHT/2 - 12, V_HUDTRANSHALF|V_SNAPTOBOTTOM|V_SNAPTOLEFT|V_SPLITSCREEN, player_names[stplyr-players]);
|
||||
INT32 y = BASEVIDHEIGHT/2 - 12;
|
||||
INT32 f = V_HUDTRANSHALF|V_SNAPTOBOTTOM|V_SPLITSCREEN;
|
||||
const char *s = player_names[stplyr-players];
|
||||
if (viewnum & 1)
|
||||
V_DrawThinString(12, y, f|V_SNAPTOLEFT, s);
|
||||
else
|
||||
V_DrawRightAlignedThinString(BASEVIDWIDTH/2 - 12, y, f|V_SNAPTORIGHT, s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue