mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Change y coordinate of Song Credit on intermission screen to be along bottom
This commit is contained in:
parent
0c63b76364
commit
d7e0df8bd8
1 changed files with 13 additions and 6 deletions
|
|
@ -2131,17 +2131,24 @@ static void HU_DrawDemoInfo(void)
|
||||||
//
|
//
|
||||||
void HU_DrawSongCredits(void)
|
void HU_DrawSongCredits(void)
|
||||||
{
|
{
|
||||||
fixed_t x;
|
|
||||||
fixed_t y = (r_splitscreen ? (BASEVIDHEIGHT/2)-4 : 32) * FRACUNIT;
|
|
||||||
INT32 bgt;
|
|
||||||
|
|
||||||
if (!cursongcredit.def || cursongcredit.trans >= NUMTRANSMAPS) // No def
|
if (!cursongcredit.def || cursongcredit.trans >= NUMTRANSMAPS) // No def
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bgt = (NUMTRANSMAPS/2) + (cursongcredit.trans / 2);
|
fixed_t x = R_InterpolateFixed(cursongcredit.old_x, cursongcredit.x);
|
||||||
x = R_InterpolateFixed(cursongcredit.old_x, cursongcredit.x);
|
fixed_t y;
|
||||||
|
|
||||||
|
if (gamestate == GS_INTERMISSION)
|
||||||
|
{
|
||||||
|
y = (BASEVIDHEIGHT - 13) * FRACUNIT;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
y = (r_splitscreen ? (BASEVIDHEIGHT/2)-4 : 32) * FRACUNIT;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT32 bgt = (NUMTRANSMAPS/2) + (cursongcredit.trans / 2);
|
||||||
|
|
||||||
if (bgt < NUMTRANSMAPS)
|
if (bgt < NUMTRANSMAPS)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue