mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Forgot V_6WIDTHSPACE in thin strings for Statistics + SECRET_ALTTITLE preview
This commit is contained in:
parent
88d41f6721
commit
eb15f3f428
1 changed files with 20 additions and 20 deletions
|
|
@ -4712,7 +4712,7 @@ static void M_DrawChallengePreview(INT32 x, INT32 y)
|
||||||
x = 8;
|
x = 8;
|
||||||
y = BASEVIDHEIGHT-16;
|
y = BASEVIDHEIGHT-16;
|
||||||
V_DrawGamemodeString(x, y - 32, V_ALLOWLOWERCASE, R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_PLAGUE, GTC_MENUCACHE), cv_alttitle.string);
|
V_DrawGamemodeString(x, y - 32, V_ALLOWLOWERCASE, R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_PLAGUE, GTC_MENUCACHE), cv_alttitle.string);
|
||||||
V_DrawThinString(x, y, V_ALLOWLOWERCASE|highlightflags, "Press (A) to toggle");
|
V_DrawThinString(x, y, V_6WIDTHSPACE|V_ALLOWLOWERCASE|highlightflags, "Press (A)");
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
|
@ -4971,8 +4971,8 @@ static void M_DrawStatsMaps(void)
|
||||||
}
|
}
|
||||||
else if (dotopname)
|
else if (dotopname)
|
||||||
{
|
{
|
||||||
V_DrawThinString(20, y, highlightflags, "LEVEL NAME");
|
V_DrawThinString(20, y, V_6WIDTHSPACE|highlightflags, "LEVEL NAME");
|
||||||
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, y, highlightflags, "MEDALS");
|
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, y, V_6WIDTHSPACE|highlightflags, "MEDALS");
|
||||||
y += STATSSTEP;
|
y += STATSSTEP;
|
||||||
dotopname = false;
|
dotopname = false;
|
||||||
}
|
}
|
||||||
|
|
@ -4982,7 +4982,7 @@ static void M_DrawStatsMaps(void)
|
||||||
|
|
||||||
{
|
{
|
||||||
char *title = G_BuildMapTitle(mnum);
|
char *title = G_BuildMapTitle(mnum);
|
||||||
V_DrawThinString(20, y, 0, title);
|
V_DrawThinString(20, y, V_6WIDTHSPACE, title);
|
||||||
Z_Free(title);
|
Z_Free(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4993,8 +4993,8 @@ static void M_DrawStatsMaps(void)
|
||||||
}
|
}
|
||||||
if (dotopname && !location)
|
if (dotopname && !location)
|
||||||
{
|
{
|
||||||
V_DrawString(20, y, highlightflags, "LEVEL NAME");
|
V_DrawString(20, y, V_6WIDTHSPACE|highlightflags, "LEVEL NAME");
|
||||||
V_DrawString(256, y, highlightflags, "MEDALS");
|
V_DrawString(256, y, V_6WIDTHSPACE|highlightflags, "MEDALS");
|
||||||
y += STATSSTEP;
|
y += STATSSTEP;
|
||||||
}
|
}
|
||||||
else if (location)
|
else if (location)
|
||||||
|
|
@ -5005,7 +5005,7 @@ static void M_DrawStatsMaps(void)
|
||||||
{
|
{
|
||||||
if (i == 1)
|
if (i == 1)
|
||||||
{
|
{
|
||||||
V_DrawThinString(20, y, highlightflags, "EXTRA MEDALS");
|
V_DrawThinString(20, y, V_6WIDTHSPACE|highlightflags, "EXTRA MEDALS");
|
||||||
if (location)
|
if (location)
|
||||||
{
|
{
|
||||||
y += STATSSTEP;
|
y += STATSSTEP;
|
||||||
|
|
@ -5045,15 +5045,15 @@ static void M_DrawStatsMaps(void)
|
||||||
UINT16 color = min(unlockables[i].color, numskincolors-1);
|
UINT16 color = min(unlockables[i].color, numskincolors-1);
|
||||||
if (!color)
|
if (!color)
|
||||||
color = SKINCOLOR_GOLD;
|
color = SKINCOLOR_GOLD;
|
||||||
V_DrawSmallMappedPatch(291, y+1, 0, W_CachePatchName("GOTITA", PU_CACHE),
|
V_DrawSmallMappedPatch(291, y+1, V_6WIDTHSPACE, W_CachePatchName("GOTITA", PU_CACHE),
|
||||||
R_GetTranslationColormap(TC_DEFAULT, color, GTC_MENUCACHE));
|
R_GetTranslationColormap(TC_DEFAULT, color, GTC_MENUCACHE));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
V_DrawSmallScaledPatch(291, y+1, 0, W_CachePatchName("NEEDIT", PU_CACHE));
|
V_DrawSmallScaledPatch(291, y+1, V_6WIDTHSPACE, W_CachePatchName("NEEDIT", PU_CACHE));
|
||||||
}
|
}
|
||||||
|
|
||||||
V_DrawThinString(20, y, 0, va("%s", unlockables[i].name));
|
V_DrawThinString(20, y, V_6WIDTHSPACE, va("%s", unlockables[i].name));
|
||||||
}
|
}
|
||||||
|
|
||||||
y += STATSSTEP;
|
y += STATSSTEP;
|
||||||
|
|
@ -5081,18 +5081,18 @@ void M_DrawStatistics(void)
|
||||||
V_DrawFixedPatch(0, 0, FRACUNIT, 0, bg, NULL);
|
V_DrawFixedPatch(0, 0, FRACUNIT, 0, bg, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
V_DrawThinString(20, 22, V_ALLOWLOWERCASE|highlightflags, "Total Play Time:");
|
V_DrawThinString(20, 22, V_6WIDTHSPACE|V_ALLOWLOWERCASE|highlightflags, "Total Play Time:");
|
||||||
V_DrawCenteredThinString(BASEVIDWIDTH/2, 32, 0,
|
V_DrawCenteredThinString(BASEVIDWIDTH/2, 32, V_6WIDTHSPACE,
|
||||||
va("%i hours, %i minutes, %i seconds",
|
va("%i hours, %i minutes, %i seconds",
|
||||||
G_TicsToHours(gamedata->totalplaytime),
|
G_TicsToHours(gamedata->totalplaytime),
|
||||||
G_TicsToMinutes(gamedata->totalplaytime, false),
|
G_TicsToMinutes(gamedata->totalplaytime, false),
|
||||||
G_TicsToSeconds(gamedata->totalplaytime)));
|
G_TicsToSeconds(gamedata->totalplaytime)));
|
||||||
V_DrawThinString(20, 42, V_ALLOWLOWERCASE|highlightflags, "Total Matches:");
|
V_DrawThinString(20, 42, V_6WIDTHSPACE|V_ALLOWLOWERCASE|highlightflags, "Total Matches:");
|
||||||
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 42, 0, va("%i played", gamedata->matchesplayed));
|
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 42, V_6WIDTHSPACE, va("%i played", gamedata->matchesplayed));
|
||||||
|
|
||||||
if (!statisticsmenu.maplist)
|
if (!statisticsmenu.maplist)
|
||||||
{
|
{
|
||||||
V_DrawCenteredThinString(BASEVIDWIDTH/2, 62, V_ALLOWLOWERCASE, "No maps!?");
|
V_DrawCenteredThinString(BASEVIDWIDTH/2, 62, V_6WIDTHSPACE|V_ALLOWLOWERCASE, "No maps!?");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5110,17 +5110,17 @@ void M_DrawStatistics(void)
|
||||||
besttime += mapheaderinfo[i]->mainrecord->time;
|
besttime += mapheaderinfo[i]->mainrecord->time;
|
||||||
}
|
}
|
||||||
|
|
||||||
V_DrawThinString(20, 60, V_ALLOWLOWERCASE, "Combined time records:");
|
V_DrawThinString(20, 60, V_6WIDTHSPACE|V_ALLOWLOWERCASE, "Combined time records:");
|
||||||
|
|
||||||
sprintf(beststr, "%i:%02i:%02i.%02i", G_TicsToHours(besttime), G_TicsToMinutes(besttime, false), G_TicsToSeconds(besttime), G_TicsToCentiseconds(besttime));
|
sprintf(beststr, "%i:%02i:%02i.%02i", G_TicsToHours(besttime), G_TicsToMinutes(besttime, false), G_TicsToSeconds(besttime), G_TicsToCentiseconds(besttime));
|
||||||
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 60, V_ALLOWLOWERCASE|(mapsunfinished ? V_REDMAP : 0), beststr);
|
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 60, V_6WIDTHSPACE|V_ALLOWLOWERCASE|(mapsunfinished ? V_REDMAP : 0), beststr);
|
||||||
|
|
||||||
if (mapsunfinished)
|
if (mapsunfinished)
|
||||||
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 70, V_ALLOWLOWERCASE|V_REDMAP, va("(%d unfinished)", mapsunfinished));
|
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 70, V_6WIDTHSPACE|V_ALLOWLOWERCASE|V_REDMAP, va("(%d unfinished)", mapsunfinished));
|
||||||
else
|
else
|
||||||
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 70, V_ALLOWLOWERCASE, "(complete)");
|
V_DrawRightAlignedThinString(BASEVIDWIDTH-20, 70, V_6WIDTHSPACE|V_ALLOWLOWERCASE, "(complete)");
|
||||||
|
|
||||||
V_DrawThinString(32, 70, 0, va("x %d/%d", M_CountMedals(false, false), M_CountMedals(true, false)));
|
V_DrawThinString(32, 70, V_6WIDTHSPACE, va("x %d/%d", M_CountMedals(false, false), M_CountMedals(true, false)));
|
||||||
V_DrawSmallMappedPatch(20, 70, 0, W_CachePatchName("GOTITA", PU_CACHE),
|
V_DrawSmallMappedPatch(20, 70, 0, W_CachePatchName("GOTITA", PU_CACHE),
|
||||||
R_GetTranslationColormap(TC_DEFAULT, SKINCOLOR_GOLD, GTC_MENUCACHE));
|
R_GetTranslationColormap(TC_DEFAULT, SKINCOLOR_GOLD, GTC_MENUCACHE));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue