Added wrapper states to actors. Wrapping an actor inside a frame when building a screen is now unnecessary.

This commit is contained in:
Kyzentun
2015-01-30 09:05:09 -07:00
parent 0a4902c648
commit 647b361284
6 changed files with 196 additions and 20 deletions
+6
View File
@@ -251,6 +251,12 @@ void ActorFrame::DrawPrimitives()
RageColor diffuse = m_pTempState->diffuse[0];
RageColor glow = m_pTempState->glow;
// Word of warning: Actor::Draw duplicates the structure of how an Actor
// is drawn inside of an ActorFrame for its wrapping feature. So if
// you're adding something new to ActorFrames that affects how Actors are
// drawn, make sure to also apply it in Actor::Draw's handling of the
// wrappers. -Kyz
// draw all sub-ActorFrames while we're in the ActorFrame's local coordinate space
if( m_bDrawByZPosition )
{