mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add "Technical Kart Racer" to goner title screen drawer
This commit is contained in:
parent
02c8ecbe0a
commit
6d9d9b2c2f
1 changed files with 45 additions and 4 deletions
|
|
@ -1795,12 +1795,53 @@ void F_TitleScreenDrawer(void)
|
|||
if (checkcount > 2*TICRATE)
|
||||
{
|
||||
trans = 10 - (checkcount - 2*TICRATE)/4;
|
||||
if (trans < 10)
|
||||
{
|
||||
|
||||
if (trans < 0)
|
||||
trans = 0;
|
||||
trans <<= V_ALPHASHIFT;
|
||||
V_DrawCenteredThinString(BASEVIDWIDTH/2, 80 + 32, V_AQUAMAP|trans, "Press any input to proceed.");
|
||||
|
||||
if (trans < 10)
|
||||
{
|
||||
V_DrawCenteredThinString(BASEVIDWIDTH/2, 80 + 32, V_AQUAMAP|(trans << V_ALPHASHIFT), "Press any input to proceed.");
|
||||
}
|
||||
|
||||
if (trans < 3)
|
||||
{
|
||||
// Secondary Megamix disclaimer. ~toast 060524
|
||||
|
||||
const char *sillystring = "Technical Kart Racer";
|
||||
const INT32 sillywidth = V_MenuStringWidth(sillystring, 0) + 12;
|
||||
INT32 sillyx = -((INT32)finalecount % sillywidth);
|
||||
|
||||
const INT32 subtextalpha = ((trans + (10 - 3)) << V_ALPHASHIFT);
|
||||
|
||||
V_SetClipRect(
|
||||
1,
|
||||
1,
|
||||
(BASEVIDWIDTH * FRACUNIT) - 1,
|
||||
(BASEVIDHEIGHT * FRACUNIT) - 1,
|
||||
0
|
||||
);
|
||||
|
||||
while (sillyx < BASEVIDWIDTH)
|
||||
{
|
||||
V_DrawMenuString(
|
||||
sillyx,
|
||||
80 - (8 + 8),
|
||||
subtextalpha,
|
||||
sillystring
|
||||
);
|
||||
|
||||
sillyx += sillywidth;
|
||||
|
||||
V_DrawMenuString(
|
||||
BASEVIDWIDTH - sillyx,
|
||||
120 + (8 + 1),
|
||||
subtextalpha,
|
||||
sillystring
|
||||
);
|
||||
}
|
||||
|
||||
V_ClearClipRect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue