separate Z-write and Z-test flags

This commit is contained in:
Glenn Maynard
2003-11-18 20:33:18 +00:00
parent 18ec02efab
commit e21f149d3b
10 changed files with 81 additions and 28 deletions
+12 -3
View File
@@ -87,13 +87,22 @@ void ActorFrame::SetDiffuse( RageColor c )
m_SubActors[i]->SetDiffuse(c );
}
void ActorFrame::SetUseZBuffer( bool b )
void ActorFrame::SetZTest( bool b )
{
Actor::SetUseZBuffer( b );
Actor::SetZTest( b );
// set all sub-Actors
for( unsigned i=0; i<m_SubActors.size(); i++ )
m_SubActors[i]->SetUseZBuffer( b );
m_SubActors[i]->SetZTest( b );
}
void ActorFrame::SetZWrite( bool b )
{
Actor::SetZWrite( b );
// set all sub-Actors
for( unsigned i=0; i<m_SubActors.size(); i++ )
m_SubActors[i]->SetZWrite( b );
}
void ActorFrame::FinishTweening()