show OutOfRanking graphic on ScreenNameEntryTraditional if no high scores were made
This commit is contained in:
@@ -204,7 +204,14 @@ ScreenNameEntryTraditional::ScreenNameEntryTraditional( CString sClassName ) : S
|
||||
{
|
||||
// don't show keyboard if didn't make any high scores
|
||||
if( !m_bStillEnteringName[p] )
|
||||
{
|
||||
m_sprOutOfRanking[p].Load( THEME->GetPathG( "ScreenNameEntryTraditional",ssprintf("OutOfRankingP%i",p+1)) );
|
||||
m_sprOutOfRanking[p]->SetName( ssprintf("OutOfRankingP%i",p+1) );
|
||||
SET_XY_AND_ON_COMMAND( m_sprOutOfRanking[p] );
|
||||
this->AddChild( m_sprOutOfRanking[p] );
|
||||
|
||||
continue; // skip
|
||||
}
|
||||
|
||||
m_sprNameFrame[p].SetName( ssprintf("EntryFrameP%i",p+1) );
|
||||
m_sprNameFrame[p].Load( THEME->GetPathToG( ssprintf("ScreenNameEntryTraditional name frame p%i",p+1) ) );
|
||||
|
||||
@@ -77,6 +77,7 @@ private:
|
||||
vector<BitmapText*> m_textAlphabet[NUM_PLAYERS];
|
||||
vector<int> m_AlphabetLetter[NUM_PLAYERS];
|
||||
int m_SelectedChar[NUM_PLAYERS];
|
||||
AutoActor m_sprOutOfRanking[NUM_PLAYERS]; // shown if didn't make any high scores
|
||||
|
||||
/* Feat display: */
|
||||
struct FeatDisplay
|
||||
|
||||
Reference in New Issue
Block a user