remove Actor::Fade*, remove unnessary virtuals in Actor

This commit is contained in:
Chris Danford
2004-02-14 03:38:34 +00:00
parent da28ed8217
commit 10a4580c12
16 changed files with 167 additions and 158 deletions
+5 -2
View File
@@ -365,11 +365,14 @@ void BitmapText::CropToWidth( int iMaxWidthInSourcePixels )
BuildChars();
}
bool BitmapText::EarlyAbortDraw()
{
return m_wTextLines.empty();
}
// draw text at x, y using colorTop blended down to colorBottom, with size multiplied by scale
void BitmapText::DrawPrimitives()
{
if( m_wTextLines.empty() )
return;
Actor::SetRenderStates(); // set Actor-specified render states
DISPLAY->SetTextureModeModulate();