F_WipeColorFill
This commit is contained in:
parent
cc5c70ce7b
commit
76488d835f
|
@ -166,12 +166,14 @@ extern wipestyleflags_t wipestyleflags;
|
||||||
#define FADEGREENFACTOR 15
|
#define FADEGREENFACTOR 15
|
||||||
#define FADEBLUEFACTOR 10
|
#define FADEBLUEFACTOR 10
|
||||||
|
|
||||||
|
extern UINT8 wipecolorfill;
|
||||||
|
|
||||||
void F_WipeStartScreen(void);
|
void F_WipeStartScreen(void);
|
||||||
void F_WipeEndScreen(void);
|
void F_WipeEndScreen(void);
|
||||||
void F_RunWipe(UINT8 wipetype, boolean drawMenu);
|
void F_RunWipe(UINT8 wipetype, boolean drawMenu);
|
||||||
void F_WipeTicker(void);
|
void F_WipeTicker(void);
|
||||||
void F_WipeTitleCard(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);
|
tic_t F_GetWipeLength(UINT8 wipetype);
|
||||||
boolean F_WipeExists(UINT8 wipetype);
|
boolean F_WipeExists(UINT8 wipetype);
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ static fixed_t paldiv = 0;
|
||||||
|
|
||||||
static UINT8 curwipetype;
|
static UINT8 curwipetype;
|
||||||
static UINT8 curwipeframe;
|
static UINT8 curwipeframe;
|
||||||
static UINT8 wipecolorfill = 31;
|
UINT8 wipecolorfill = 31;
|
||||||
|
|
||||||
/** Create fademask_t from lump
|
/** Create fademask_t from lump
|
||||||
*
|
*
|
||||||
|
@ -200,12 +200,6 @@ void F_WipeTitleCard(void)
|
||||||
ST_drawLevelTitle(TICRATE);
|
ST_drawLevelTitle(TICRATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void F_WipeColorFill(UINT8 color)
|
|
||||||
{
|
|
||||||
wipecolorfill = color;
|
|
||||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, wipecolorfill);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Wipe ticker
|
/** Wipe ticker
|
||||||
*
|
*
|
||||||
* \param fademask pixels to change
|
* \param fademask pixels to change
|
||||||
|
|
Loading…
Reference in New Issue