tweak ScoreDisplayRave frame

This commit is contained in:
Chris Danford
2003-11-27 06:50:16 +00:00
parent d68cb6eafc
commit 0c71022d84
6 changed files with 7 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

+5 -2
View File
@@ -28,6 +28,8 @@ ScoreDisplayRave::ScoreDisplayRave()
m_lastLevelSeen = ATTACK_LEVEL_1;
this->AddChild( &m_sprFrameBase );
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
{
m_sprMeter[i].Load( THEME->GetPathToG(ssprintf("ScoreDisplayRave stream level%d",i+1)) );
@@ -39,14 +41,15 @@ ScoreDisplayRave::ScoreDisplayRave()
m_textLevel.SetText( "1" );
this->AddChild( &m_textLevel );
this->AddChild( &m_sprFrame );
this->AddChild( &m_sprFrameOverlay );
}
void ScoreDisplayRave::Init( PlayerNumber pn )
{
ScoreDisplay::Init( pn );
m_sprFrame.Load( THEME->GetPathToG(ssprintf("ScoreDisplayRave frame p%d",pn+1)) );
m_sprFrameBase.Load( THEME->GetPathToG(ssprintf("ScoreDisplayRave frame base p%d",pn+1)) );
m_sprFrameOverlay.Load( THEME->GetPathToG(ssprintf("ScoreDisplayRave frame overlay p%d",pn+1)) );
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
{
+2 -1
View File
@@ -27,8 +27,9 @@ public:
virtual void Update( float fDelta );
protected:
Sprite m_sprFrameBase;
Sprite m_sprMeter[NUM_ATTACK_LEVELS];
Sprite m_sprFrame;
Sprite m_sprFrameOverlay;
BitmapText m_textLevel;
AttackLevel m_lastLevelSeen;