mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Wordwrap the original composers field on the Stereo, so that nobody gets cut off
This commit is contained in:
parent
641e397625
commit
68ee118078
1 changed files with 10 additions and 1 deletions
|
|
@ -8833,7 +8833,16 @@ void M_DrawSoundTest(void)
|
||||||
if (soundtest.current->source)
|
if (soundtest.current->source)
|
||||||
V_DrawThinString(x+1, (y += 10), 0, soundtest.current->source);
|
V_DrawThinString(x+1, (y += 10), 0, soundtest.current->source);
|
||||||
if (soundtest.current->composers)
|
if (soundtest.current->composers)
|
||||||
V_DrawThinString(x+1, (y += 10), 0, soundtest.current->composers);
|
{
|
||||||
|
char *wrappedcomposers = V_ScaledWordWrap(
|
||||||
|
(BASEVIDWIDTH - ((x+1)*2)) << FRACBITS,
|
||||||
|
FRACUNIT, FRACUNIT, FRACUNIT,
|
||||||
|
0, TINY_FONT,
|
||||||
|
soundtest.current->composers
|
||||||
|
);
|
||||||
|
V_DrawThinString(x+1, (y += 10), 0, wrappedcomposers);
|
||||||
|
Z_Free(wrappedcomposers);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue