some cleanup
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
ScoreDisplayRave::ScoreDisplayRave()
|
||||
{
|
||||
LOG->Trace( "ScoreDisplayRave::ScoreDisplayRave()" );
|
||||
|
||||
|
||||
m_lastLevelSeen = ATTACK_LEVEL_1;
|
||||
|
||||
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
|
||||
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
|
||||
{
|
||||
m_sprMeter[i].Load( THEME->GetPathG("ScoreDisplayRave",ssprintf("stream level%d",i+1)) );
|
||||
m_sprMeter[i].Load( THEME->GetPathG("ScoreDisplayRave",ssprintf("stream level%d",i+1)) );
|
||||
m_sprMeter[i].SetCropRight( 1.f );
|
||||
}
|
||||
|
||||
@@ -32,14 +32,14 @@ void ScoreDisplayRave::Init( const PlayerState* pPlayerState, const PlayerStageS
|
||||
m_sprFrameBase.Load( THEME->GetPathG("ScoreDisplayRave",ssprintf("frame base p%d",pn+1)) );
|
||||
this->AddChild( m_sprFrameBase );
|
||||
|
||||
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
|
||||
for( int i=0; i<NUM_ATTACK_LEVELS; i++ )
|
||||
{
|
||||
m_sprMeter[i].SetName( ssprintf("MeterP%d",pn+1) );
|
||||
LOAD_ALL_COMMANDS( m_sprMeter[i] );
|
||||
ON_COMMAND( m_sprMeter[i] );
|
||||
this->AddChild( &m_sprMeter[i] );
|
||||
}
|
||||
|
||||
|
||||
m_textLevel.SetName( ssprintf("LevelP%d",pn+1) );
|
||||
LOAD_ALL_COMMANDS( m_textLevel );
|
||||
ON_COMMAND( m_textLevel );
|
||||
@@ -70,7 +70,7 @@ void ScoreDisplayRave::Update( float fDelta )
|
||||
/*
|
||||
* (c) 2003 Chris Danford
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
@@ -80,7 +80,7 @@ void ScoreDisplayRave::Update( float fDelta )
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
|
||||
Reference in New Issue
Block a user