Uncap FINISH marquee, level title, intermission scoreboard

This commit is contained in:
GenericHeroGuy committed 2024-03-18 00:09:43 +01:00
1 parent b64af70dc3
commit 15c6177df3
3 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -9852,7 +9852,7 @@ static void K_drawKartFinish(void)
x = ((vid.width<<FRACBITS)/vid.dupx);
xval = (SHORT(kp_racefinish[pnum]->width)<<FRACBITS);
x = ((TICRATE - stplyr->kartstuff[k_cardanimation])*(xval > x ? xval : x))/TICRATE;
x = (FixedMul(((TICRATE - stplyr->kartstuff[k_cardanimation])<<FRACBITS) - rendertimefrac, xval > x ? xval : x))/TICRATE;
if (splitscreen && stplyr == &players[displayplayers[1]])
x = -x;
+6 -1
View File
@@ -738,10 +738,15 @@ static void ST_drawLevelTitle(void)
if (timeinmap > 105)
{
INT32 count = (113 - (INT32)(timeinmap));
// uh... "fill in the bits" of sub, or something... no idea what I came up with
// VERY janky, but doesn't require m_easing
INT32 frac = (FixedMul(rendertimefrac, FixedDiv(dupcalc, BASEVIDWIDTH)) >> (count + 4))/13; // these two magic numbers seem to do the trick
sub = dupcalc;
while (count-- > 0)
sub >>= 1;
sub = -sub;
sub = -sub - frac;
}
{
+4 -6
View File
@@ -429,16 +429,15 @@ void Y_IntermissionDrawer(void)
else
hilicol = ((intertype == int_race) ? V_SKYMAP : V_REDMAP);
if (sorttic != -1 && intertic > sorttic && !demo.playback)
if (sorttic != -1 && intertic >= sorttic && !demo.playback)
{
INT32 count = (intertic - sorttic);
INT32 frac = rendertimefrac & FRACMASK;
if (count < 8)
x -= ((count * vid.width) / (8 * vid.dupx));
else if (count == 8)
goto dotimer;
x -= ((((count<<FRACBITS) + frac) * vid.width)>>FRACBITS) / (8 * vid.dupx);
else if (count < 16)
x += (((16 - count) * vid.width) / (8 * vid.dupx));
x += (((((16 - count)<<FRACBITS) - frac) * vid.width)>>FRACBITS) / (8 * vid.dupx);
}
// SRB2kart 290117 - compeltely replaced this block.
@@ -632,7 +631,6 @@ void Y_IntermissionDrawer(void)
}
}
dotimer:
if (timer)
{
char *string;