mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Update the joyeaux anniversary text into our URL halfway through the text underneath being visible on the KartKrew splash
This commit is contained in:
parent
c317562bd5
commit
7df91d0cf7
1 changed files with 41 additions and 11 deletions
|
|
@ -300,7 +300,7 @@ static tic_t introscenetime[NUMINTROSCENES] =
|
||||||
{
|
{
|
||||||
2*TICRATE, // OUR SRB2 ASSOCIATES
|
2*TICRATE, // OUR SRB2 ASSOCIATES
|
||||||
9*TICRATE, // Disclaimer and Epilepsy Warning
|
9*TICRATE, // Disclaimer and Epilepsy Warning
|
||||||
(5*TICRATE)/2, // KKD
|
3*TICRATE, // KKD
|
||||||
(2*TICRATE)/3, // S&K
|
(2*TICRATE)/3, // S&K
|
||||||
TICRATE + (TICRATE/3), // Get ready !!
|
TICRATE + (TICRATE/3), // Get ready !!
|
||||||
};
|
};
|
||||||
|
|
@ -440,14 +440,6 @@ static void F_IntroDrawScene(void)
|
||||||
|
|
||||||
if (intro_scenenum == INTROSCENE_KREW)
|
if (intro_scenenum == INTROSCENE_KREW)
|
||||||
{
|
{
|
||||||
V_SetClipRect(
|
|
||||||
0,
|
|
||||||
144 * FRACUNIT,
|
|
||||||
BASEVIDWIDTH * FRACUNIT,
|
|
||||||
BASEVIDHEIGHT * FRACUNIT,
|
|
||||||
0
|
|
||||||
);
|
|
||||||
|
|
||||||
INT32 trans = 10;
|
INT32 trans = 10;
|
||||||
|
|
||||||
if (intro_curtime < TICRATE/3)
|
if (intro_curtime < TICRATE/3)
|
||||||
|
|
@ -460,6 +452,14 @@ static void F_IntroDrawScene(void)
|
||||||
if (trans < 5)
|
if (trans < 5)
|
||||||
trans = 5;
|
trans = 5;
|
||||||
|
|
||||||
|
V_SetClipRect(
|
||||||
|
0,
|
||||||
|
144 * FRACUNIT,
|
||||||
|
BASEVIDWIDTH * FRACUNIT,
|
||||||
|
BASEVIDHEIGHT * FRACUNIT,
|
||||||
|
0
|
||||||
|
);
|
||||||
|
|
||||||
V_DrawFixedPatch(
|
V_DrawFixedPatch(
|
||||||
cx,
|
cx,
|
||||||
cy - textoffs,
|
cy - textoffs,
|
||||||
|
|
@ -469,10 +469,40 @@ static void F_IntroDrawScene(void)
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
V_ClearClipRect();
|
||||||
|
|
||||||
if (trans < 10)
|
if (trans < 10)
|
||||||
|
{
|
||||||
|
V_SetClipRect(
|
||||||
|
0,
|
||||||
|
173 * FRACUNIT - textoffs,
|
||||||
|
BASEVIDWIDTH * FRACUNIT,
|
||||||
|
10 * FRACUNIT,
|
||||||
|
0
|
||||||
|
);
|
||||||
|
|
||||||
|
INT32 runningtally = (intro_curtime - (TICRATE + TICRATE/3));
|
||||||
|
|
||||||
|
if (runningtally > 0)
|
||||||
|
{
|
||||||
|
if (runningtally < 10)
|
||||||
|
{
|
||||||
|
textoffs += runningtally * FRACUNIT;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textoffs += 10 * FRACUNIT;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Joyeaux Anniversaire
|
||||||
V_DrawCenteredMenuString(BASEVIDWIDTH/2, 174 - (textoffs/FRACUNIT), (trans<<V_ALPHASHIFT)|V_SUBTRACT, "2013 - 11 years - 2024");
|
V_DrawCenteredMenuString(BASEVIDWIDTH/2, 174 - (textoffs/FRACUNIT), (trans<<V_ALPHASHIFT)|V_SUBTRACT, "2013 - 11 years - 2024");
|
||||||
|
|
||||||
V_ClearClipRect();
|
// Joyeaux Adressaire
|
||||||
|
V_DrawCenteredMenuString(BASEVIDWIDTH/2, 184 - (textoffs/FRACUNIT), (trans<<V_ALPHASHIFT)|V_SUBTRACT, "kartkrew.org");
|
||||||
|
|
||||||
|
V_ClearClipRect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//V_DrawString(cx, cy, 0, cutscene_disptext);
|
//V_DrawString(cx, cy, 0, cutscene_disptext);
|
||||||
|
|
@ -785,7 +815,7 @@ void F_IntroTicker(void)
|
||||||
(
|
(
|
||||||
skippableallowed
|
skippableallowed
|
||||||
&& keypressed
|
&& keypressed
|
||||||
&& (timetonext > 10)
|
&& (intro_curtime > TICRATE/2)
|
||||||
&& (
|
&& (
|
||||||
intro_scenenum >= INTROSCENE_KREW
|
intro_scenenum >= INTROSCENE_KREW
|
||||||
|| disclaimerskippable
|
|| disclaimerskippable
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue