add BLEND_WEIGHTED_MULTIPLY and BLEND_INVERT_DEST blend modes

This commit is contained in:
Glenn Maynard
2006-07-27 01:34:57 +00:00
parent 79ebe8805d
commit 9ed6603349
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -1175,6 +1175,8 @@ void Actor::SetBlendModeString( const RString &s )
{
if (s.EqualsNoCase("normal")) this->SetBlendMode( BLEND_NORMAL );
else if(s.EqualsNoCase("add")) this->SetBlendMode( BLEND_ADD );
else if(s.EqualsNoCase("weightedmultiply")) this->SetBlendMode( BLEND_WEIGHTED_MULTIPLY );
else if(s.EqualsNoCase("invertdest")) this->SetBlendMode( BLEND_INVERT_DEST );
else if(s.EqualsNoCase("noeffect")) this->SetBlendMode( BLEND_NO_EFFECT );
else ASSERT(0);
}