- cleanup of the 2D interface.
Lots of this was still laid out for DirectDraw. This removes most of Begin2D so that it can be done more cleanlz. Note that this commit renders weapon sprites and screen blends incorrectly. Those will be fixed in an upcoming commit.
This commit is contained in:
parent
1345c8e7b4
commit
67cb6e63b5
10 changed files with 42 additions and 89 deletions
|
|
@ -839,33 +839,6 @@ void DFrameBuffer::NewRefreshRate ()
|
|||
{
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// DFrameBuffer :: SetBlendingRect
|
||||
//
|
||||
// Defines the area of the screen containing the 3D view.
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void DFrameBuffer::SetBlendingRect (int x1, int y1, int x2, int y2)
|
||||
{
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// DFrameBuffer :: Begin2D
|
||||
//
|
||||
// Signal that 3D rendering is complete, and the rest of the operations on
|
||||
// the canvas until Unlock() will be 2D ones.
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void DFrameBuffer::Begin2D (bool copy3d)
|
||||
{
|
||||
isIn2D = true;
|
||||
ClearClipRect();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// DFrameBuffer :: WipeStartScreen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue