cache common metrics
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "Style.h"
|
||||
#include "PlayerState.h"
|
||||
#include "Command.h"
|
||||
#include "CommonMetrics.h"
|
||||
|
||||
const int NUM_SCORE_DIGITS = 9;
|
||||
|
||||
@@ -273,7 +274,7 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme
|
||||
m_textHighScore[p].SetName( ssprintf("ScoreP%d",p+1) );
|
||||
m_textHighScore[p].LoadFromFont( THEME->GetPathF(m_sName,"score") );
|
||||
m_textHighScore[p].SetShadowLength( 0 );
|
||||
m_textHighScore[p].SetDiffuse( PlayerToColor(p) );
|
||||
m_textHighScore[p].SetDiffuse( PLAYER_COLOR.GetValue(p) );
|
||||
SET_XY( m_textHighScore[p] );
|
||||
this->AddChild( &m_textHighScore[p] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user