half-finished codes, options icons, and two new modifiers.
This commit is contained in:
@@ -50,12 +50,12 @@ void TransitionFadeWipe::DrawPrimitives()
|
||||
float fDarkOutsideX = bLeftEdgeIsDarker ? fDarkEdgeX - SCREEN_WIDTH*2 : fDarkEdgeX + SCREEN_WIDTH*2;
|
||||
|
||||
|
||||
m_rectBlack.SetDiffuseColor( D3DXCOLOR(0,0,0,1) );
|
||||
m_rectBlack.SetDiffuse( D3DXCOLOR(0,0,0,1) );
|
||||
m_rectBlack.StretchTo( CRect((int)fDarkOutsideX, 0, (int)fDarkEdgeX, (int)SCREEN_HEIGHT) );
|
||||
m_rectBlack.Draw();
|
||||
|
||||
m_rectGradient.SetDiffuseColorLeftEdge( D3DXCOLOR(0,0,0,1) );
|
||||
m_rectGradient.SetDiffuseColorRightEdge( D3DXCOLOR(0,0,0,0) );
|
||||
m_rectGradient.SetDiffuseLeftEdge( D3DXCOLOR(0,0,0,1) );
|
||||
m_rectGradient.SetDiffuseRightEdge( D3DXCOLOR(0,0,0,0) );
|
||||
m_rectGradient.StretchTo( CRect((int)fDarkEdgeX, 0, (int)fLightEdgeX, (int)SCREEN_HEIGHT) );
|
||||
m_rectGradient.Draw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user