- added a software scene drawer to the GL renderer.
It still looks like shit and only works on the modern render path but at least the basics are working.
This commit is contained in:
parent
d474b849a5
commit
b34d7f9e08
32 changed files with 564 additions and 297 deletions
|
|
@ -794,23 +794,11 @@ void D_Display ()
|
|||
break;
|
||||
}
|
||||
|
||||
if (StatusBar != NULL)
|
||||
{
|
||||
float blend[4] = { 0, 0, 0, 0 };
|
||||
StatusBar->BlendView (blend);
|
||||
}
|
||||
screen->SetBlendingRect(viewwindowx, viewwindowy,
|
||||
viewwindowx + viewwidth, viewwindowy + viewheight);
|
||||
|
||||
// [ZZ] execute event hook that we just started the frame
|
||||
//E_RenderFrame();
|
||||
//
|
||||
screen->RenderView(&players[consoleplayer]);
|
||||
|
||||
screen->Begin2D(viewactive);
|
||||
// todo: These need to go into RenderView.
|
||||
//Renderer->DrawRemainingPlayerSprites();
|
||||
//screen->DrawBlendingRect();
|
||||
// returns with 2S mode set.
|
||||
if (automapactive)
|
||||
{
|
||||
AM_Drawer (hud_althud? viewheight : StatusBar->GetTopOfStatusbar());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue