Files
itgmania212121/stepmania/src/ActorFrame.h
T
Chris Danford 54bedc3eba clean up RageDisplay methods, add ability to mask song banner
The masking uses the Z-buffer under the assumption that some cards don't have a stencil.  Should we be using the stencil instead?  It doesn't really matter because we never need both the Z buffer and stencil buffer simultaneously.
2003-05-15 06:09:19 +00:00

40 lines
905 B
C++

#ifndef ACTORFRAME_H
#define ACTORFRAME_H
/*
-----------------------------------------------------------------------------
Class: ActorFrame
Desc: A container for other actors.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Actor.h"
class ActorFrame : public Actor
{
public:
virtual void AddChild( Actor* pActor );
virtual void MoveToTail( Actor* pActor );
virtual void MoveToHead( Actor* pActor );
virtual ~ActorFrame() { }
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void SetDiffuse( RageColor c );
virtual void SetUseZBuffer( bool b );
/* Amount of time until all tweens (and all children's tweens) have stopped: */
virtual float GetTweenTimeLeft() const;
protected:
vector<Actor*> m_SubActors;
};
#endif