mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 13:51:43 +00:00
levelwipe p_setup code downscale
This commit is contained in:
parent
14e695537a
commit
f1108b438b
1 changed files with 14 additions and 21 deletions
|
@ -2602,30 +2602,23 @@ boolean P_SetupLevel(boolean skipprecip)
|
|||
// But only if we didn't do the special stage wipe
|
||||
if (rendermode != render_none && !ranspecialwipe)
|
||||
{
|
||||
// miru: we could add the option to render different wipes here
|
||||
|
||||
// if the map header doesn't even call the option
|
||||
// then don't bother turning off
|
||||
if (!mapheaderinfo[gamemap-1]->levelwipe)
|
||||
// miru: we could add the option to render different wipes here
|
||||
if (mapheaderinfo[gamemap-1]->levelwipe && mapheaderinfo[gamemap-1]->levelwipe < 100)
|
||||
{
|
||||
F_WipeStartScreen();
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
F_WipeStartScreen();
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, mapheaderinfo[gamemap-1]->wipecolor);
|
||||
|
||||
F_WipeEndScreen();
|
||||
F_RunWipe(wipedefs[wipe_level_toblack], false);
|
||||
F_WipeEndScreen();
|
||||
F_RunWipe(mapheaderinfo[gamemap-1]->levelwipe, false);
|
||||
}
|
||||
// if it does then we can load custom fades from the fadingmask
|
||||
else
|
||||
{
|
||||
if (mapheaderinfo[gamemap-1]->levelwipe < 100)
|
||||
{
|
||||
F_WipeStartScreen();
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, mapheaderinfo[gamemap-1]->wipecolor);
|
||||
{
|
||||
F_WipeStartScreen();
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
|
||||
F_WipeEndScreen();
|
||||
F_RunWipe(mapheaderinfo[gamemap-1]->levelwipe, false);
|
||||
}
|
||||
}
|
||||
F_WipeEndScreen();
|
||||
F_RunWipe(wipedefs[wipe_level_toblack], false);
|
||||
}
|
||||
}
|
||||
|
||||
// Print "SPEEDING OFF TO [ZONE] [ACT 1]..."
|
||||
|
|
Loading…
Reference in a new issue