- Added versions of Dim and Clear to D3DFB for use in 2D mode.

- Added a new color parameter to DCanvas::Clear() that specifies the
  ARGB value of the color. This is used if the old color parameter,
  which specifies a palette entry, is -1.


SVN r617 (trunk)
This commit is contained in:
Randy Heit 2007-12-22 04:52:51 +00:00
commit dddc781f18
18 changed files with 187 additions and 48 deletions

View file

@ -595,7 +595,7 @@ void D_Display (bool screenshot)
break;
}
}
//screen->Begin2D();
// draw pause pic
if (paused && menuactive == MENU_Off)
{
@ -820,7 +820,7 @@ void D_PageDrawer (void)
}
else
{
screen->Clear (0, 0, SCREENWIDTH, SCREENHEIGHT, 0);
screen->Clear (0, 0, SCREENWIDTH, SCREENHEIGHT, 0, 0);
if (!PageBlank)
{
screen->DrawText (CR_WHITE, 0, 0, "Page graphic goes here", TAG_DONE);