remove unused "BeginnerLabel"
This commit is contained in:
@@ -22,9 +22,9 @@ Judgment::Judgment()
|
|||||||
m_mpToTrack = MultiPlayer_INVALID;
|
m_mpToTrack = MultiPlayer_INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Judgment::LoadNormal( bool bBeginner )
|
void Judgment::LoadNormal()
|
||||||
{
|
{
|
||||||
m_sprJudgment.Load( THEME->GetPathG("Judgment",bBeginner?"BeginnerLabel":"label") );
|
m_sprJudgment.Load( THEME->GetPathG("Judgment","label") );
|
||||||
ASSERT( m_sprJudgment.GetNumStates() == 6 || m_sprJudgment.GetNumStates() == 12 );
|
ASSERT( m_sprJudgment.GetNumStates() == 6 || m_sprJudgment.GetNumStates() == 12 );
|
||||||
m_sprJudgment.StopAnimating();
|
m_sprJudgment.StopAnimating();
|
||||||
Reset();
|
Reset();
|
||||||
@@ -83,7 +83,7 @@ void Judgment::SetJudgment( TapNoteScore score, bool bEarly )
|
|||||||
|
|
||||||
void Judgment::LoadFromMultiPlayer( MultiPlayer mp )
|
void Judgment::LoadFromMultiPlayer( MultiPlayer mp )
|
||||||
{
|
{
|
||||||
LoadNormal( false );
|
LoadNormal();
|
||||||
ASSERT( m_mpToTrack == MultiPlayer_INVALID ); // assert only load once
|
ASSERT( m_mpToTrack == MultiPlayer_INVALID ); // assert only load once
|
||||||
m_mpToTrack = mp;
|
m_mpToTrack = mp;
|
||||||
this->SubscribeToMessage( enum_add2(Message_ShowJudgmentMuliPlayerP1,m_mpToTrack) );
|
this->SubscribeToMessage( enum_add2(Message_ShowJudgmentMuliPlayerP1,m_mpToTrack) );
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class Judgment : public ActorFrame
|
|||||||
public:
|
public:
|
||||||
Judgment();
|
Judgment();
|
||||||
virtual Actor *Copy() const;
|
virtual Actor *Copy() const;
|
||||||
void LoadNormal( bool bAlternateLabel );
|
void LoadNormal();
|
||||||
void LoadFromMultiPlayer( MultiPlayer mp );
|
void LoadFromMultiPlayer( MultiPlayer mp );
|
||||||
void Reset();
|
void Reset();
|
||||||
void SetJudgment( TapNoteScore score, bool bEarly );
|
void SetJudgment( TapNoteScore score, bool bEarly );
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ void Player::Init(
|
|||||||
if( m_pJudgment )
|
if( m_pJudgment )
|
||||||
{
|
{
|
||||||
m_pJudgment->SetName( "Judgment" );
|
m_pJudgment->SetName( "Judgment" );
|
||||||
m_pJudgment->LoadNormal( IsPlayingBeginner() );
|
m_pJudgment->LoadNormal();
|
||||||
ActorUtil::OnCommand( m_pJudgment, sType );
|
ActorUtil::OnCommand( m_pJudgment, sType );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user