mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
F_WipeColorFill
This commit is contained in:
parent
cc5c70ce7b
commit
76488d835f
3 changed files with 5 additions and 9 deletions
|
@ -448,7 +448,7 @@ static void D_Display(void)
|
|||
framecount = 0;
|
||||
demostarttime = I_GetTime();
|
||||
}
|
||||
|
||||
|
||||
wipetypepost = -1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -166,12 +166,14 @@ extern wipestyleflags_t wipestyleflags;
|
|||
#define FADEGREENFACTOR 15
|
||||
#define FADEBLUEFACTOR 10
|
||||
|
||||
extern UINT8 wipecolorfill;
|
||||
|
||||
void F_WipeStartScreen(void);
|
||||
void F_WipeEndScreen(void);
|
||||
void F_RunWipe(UINT8 wipetype, boolean drawMenu);
|
||||
void F_WipeTicker(void);
|
||||
void F_WipeTitleCard(void);
|
||||
void F_WipeColorFill(UINT8 color);
|
||||
#define F_WipeColorFill(c) V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, (wipecolorfill = c))
|
||||
tic_t F_GetWipeLength(UINT8 wipetype);
|
||||
boolean F_WipeExists(UINT8 wipetype);
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ static fixed_t paldiv = 0;
|
|||
|
||||
static UINT8 curwipetype;
|
||||
static UINT8 curwipeframe;
|
||||
static UINT8 wipecolorfill = 31;
|
||||
UINT8 wipecolorfill = 31;
|
||||
|
||||
/** Create fademask_t from lump
|
||||
*
|
||||
|
@ -200,12 +200,6 @@ void F_WipeTitleCard(void)
|
|||
ST_drawLevelTitle(TICRATE);
|
||||
}
|
||||
|
||||
void F_WipeColorFill(UINT8 color)
|
||||
{
|
||||
wipecolorfill = color;
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, wipecolorfill);
|
||||
}
|
||||
|
||||
/** Wipe ticker
|
||||
*
|
||||
* \param fademask pixels to change
|
||||
|
|
Loading…
Reference in a new issue