mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Character Select menu: Put B, D on the right side of the PLAYER/profile name text, to avoid overlapping the player's eyes
This commit is contained in:
parent
ddf55d4040
commit
03f9ff0847
1 changed files with 8 additions and 8 deletions
|
|
@ -1633,17 +1633,17 @@ static void M_DrawCharSelectPreview(UINT8 num)
|
||||||
|
|
||||||
if (p->showextra == false)
|
if (p->showextra == false)
|
||||||
{
|
{
|
||||||
V_DrawScaledPatch(x+9, y+2, 0, W_CachePatchName("FILEBACK", PU_CACHE));
|
INT32 backx = x + ((num & 1) ? -1 : 11);
|
||||||
V_DrawScaledPatch(x, y+2, 0, W_CachePatchName(va("CHARSEL%c", letter), PU_CACHE));
|
V_DrawScaledPatch(backx, y+2, 0, W_CachePatchName("FILEBACK", PU_CACHE));
|
||||||
|
|
||||||
|
V_DrawScaledPatch(x + ((num & 1) ? 44 : 0), y+2, 0, W_CachePatchName(va("CHARSEL%c", letter), PU_CACHE));
|
||||||
|
|
||||||
|
profile_t *pr = NULL;
|
||||||
if (p->mdepth > CSSTEP_PROFILE)
|
if (p->mdepth > CSSTEP_PROFILE)
|
||||||
{
|
{
|
||||||
profile_t *pr = PR_GetProfile(p->profilen);
|
pr = PR_GetProfile(p->profilen);
|
||||||
V_DrawCenteredFileString(x+16+18, y+2, 0, pr->profilename);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
V_DrawFileString(x+16, y+2, 0, "PLAYER");
|
|
||||||
}
|
}
|
||||||
|
V_DrawCenteredFileString(backx+26, y+2, 0, pr ? pr->profilename : "PLAYER");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p->mdepth >= CSSTEP_FOLLOWER)
|
if (p->mdepth >= CSSTEP_FOLLOWER)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue