mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Add new STARTUP lump, for the splash screen
This commit is contained in:
parent
6a37f39ca8
commit
2f06ff44cc
2 changed files with 7 additions and 3 deletions
|
|
@ -1677,8 +1677,12 @@ static void CON_DrawBackpic(void)
|
||||||
lumpnum_t piclump;
|
lumpnum_t piclump;
|
||||||
int x, w, h;
|
int x, w, h;
|
||||||
|
|
||||||
// Get the lumpnum for CONSBACK, or fallback into MISSING.
|
// Get the lumpnum for CONSBACK, STARTUP (Only during game startup) or fallback into MISSING.
|
||||||
piclump = W_CheckNumForName("CONSBACK");
|
if (con_startup)
|
||||||
|
piclump = W_CheckNumForName("STARTUP");
|
||||||
|
else
|
||||||
|
piclump = W_CheckNumForName("CONSBACK");
|
||||||
|
|
||||||
if (piclump == LUMPERROR)
|
if (piclump == LUMPERROR)
|
||||||
piclump = W_GetNumForName("MISSING");
|
piclump = W_GetNumForName("MISSING");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -768,7 +768,7 @@ void D_SRB2Loop(void)
|
||||||
*/
|
*/
|
||||||
/* Smells like a hack... Don't fade Sonic's ass into the title screen. */
|
/* Smells like a hack... Don't fade Sonic's ass into the title screen. */
|
||||||
if (gamestate != GS_TITLESCREEN)
|
if (gamestate != GS_TITLESCREEN)
|
||||||
V_DrawScaledPatch(0, 0, 0, W_CachePatchNum(W_GetNumForName("CONSBACK"), PU_PATCH));
|
V_DrawScaledPatch(0, 0, 0, W_CachePatchNum(W_GetNumForName("STARTUP"), PU_PATCH));
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue