mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add encore_towhite
This commit is contained in:
parent
5da84b78a2
commit
71f35c7f5b
4 changed files with 5 additions and 1 deletions
|
|
@ -3319,6 +3319,8 @@ static void readwipes(MYFILE *f)
|
||||||
pword = word + 7;
|
pword = word + 7;
|
||||||
if (fastcmp(pword, "TOINVERT"))
|
if (fastcmp(pword, "TOINVERT"))
|
||||||
wipeoffset = wipe_encore_toinvert;
|
wipeoffset = wipe_encore_toinvert;
|
||||||
|
else if (fastcmp(pword, "TOWHITE"))
|
||||||
|
wipeoffset = wipe_encore_towhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wipeoffset < 0)
|
if (wipeoffset < 0)
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,7 @@ enum
|
||||||
|
|
||||||
// Specialized wipes
|
// Specialized wipes
|
||||||
wipe_encore_toinvert,
|
wipe_encore_toinvert,
|
||||||
|
wipe_encore_towhite,
|
||||||
|
|
||||||
// "From black" wipes
|
// "From black" wipes
|
||||||
wipe_level_final,
|
wipe_level_final,
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ UINT8 wipedefs[NUMWIPEDEFS] = {
|
||||||
99, // wipe_cutscene_toblack (hardcoded)
|
99, // wipe_cutscene_toblack (hardcoded)
|
||||||
|
|
||||||
72, // wipe_encore_toinvert
|
72, // wipe_encore_toinvert
|
||||||
|
99, // wipe_encore_towhite
|
||||||
|
|
||||||
UINT8_MAX, // wipe_level_final
|
UINT8_MAX, // wipe_level_final
|
||||||
0, // wipe_intermission_final
|
0, // wipe_intermission_final
|
||||||
|
|
|
||||||
|
|
@ -2889,7 +2889,7 @@ boolean P_SetupLevel(boolean skipprecip)
|
||||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 0);
|
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 0);
|
||||||
F_WipeEndScreen();
|
F_WipeEndScreen();
|
||||||
|
|
||||||
F_RunWipe(99, false, "FADEMAP1", false, true); // wiggle the screen during this!
|
F_RunWipe(wipedefs[wipe_encore_towhite], false, "FADEMAP1", false, true); // wiggle the screen during this!
|
||||||
|
|
||||||
// THEN fade to a black screen.
|
// THEN fade to a black screen.
|
||||||
F_WipeStartScreen();
|
F_WipeStartScreen();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue