add ShowJudgmentLabels, ShowStatsLabels
This commit is contained in:
@@ -1205,12 +1205,14 @@ PlayerOptionsSeparator=,
|
|||||||
MaxComboNumDigits=4
|
MaxComboNumDigits=4
|
||||||
StyleIcon=1
|
StyleIcon=1
|
||||||
ShowBannerArea=1
|
ShowBannerArea=1
|
||||||
|
ShowJudgmentLabels=1
|
||||||
ShowMarvelous=1
|
ShowMarvelous=1
|
||||||
ShowPerfect=1
|
ShowPerfect=1
|
||||||
ShowGreat=1
|
ShowGreat=1
|
||||||
ShowGood=1
|
ShowGood=1
|
||||||
ShowBoo=1
|
ShowBoo=1
|
||||||
ShowMiss=1
|
ShowMiss=1
|
||||||
|
ShowStatsLabels=1
|
||||||
ShowOK=1
|
ShowOK=1
|
||||||
ShowTotalError=0
|
ShowTotalError=0
|
||||||
ShowJumps=0
|
ShowJumps=0
|
||||||
|
|||||||
@@ -59,7 +59,10 @@ const char* STATS_STRING[NUM_STATS_LINES] =
|
|||||||
#define SHOW_BONUS_AREA THEME->GetMetricB(m_sName,"ShowBonusArea")
|
#define SHOW_BONUS_AREA THEME->GetMetricB(m_sName,"ShowBonusArea")
|
||||||
#define SHOW_SURVIVED_AREA THEME->GetMetricB(m_sName,"ShowSurvivedArea")
|
#define SHOW_SURVIVED_AREA THEME->GetMetricB(m_sName,"ShowSurvivedArea")
|
||||||
#define SHOW_WIN_AREA THEME->GetMetricB(m_sName,"ShowWinArea")
|
#define SHOW_WIN_AREA THEME->GetMetricB(m_sName,"ShowWinArea")
|
||||||
|
#define SHOW_JUDGMENT_LABELS THEME->GetMetricB(m_sName,"ShowJudgmentLabels")
|
||||||
#define SHOW_JUDGMENT( l ) THEME->GetMetricB(m_sName,ssprintf("Show%s",JUDGE_STRING[l]))
|
#define SHOW_JUDGMENT( l ) THEME->GetMetricB(m_sName,ssprintf("Show%s",JUDGE_STRING[l]))
|
||||||
|
#define SHOW_STATS_LABELS THEME->GetMetricB(m_sName,"ShowStatsLabels")
|
||||||
|
|
||||||
#define SHOW_STAT( s ) THEME->GetMetricB(m_sName,ssprintf("Show%s",STATS_STRING[l]))
|
#define SHOW_STAT( s ) THEME->GetMetricB(m_sName,ssprintf("Show%s",STATS_STRING[l]))
|
||||||
#define SHOW_SCORE_AREA THEME->GetMetricB(m_sName,"ShowScoreArea")
|
#define SHOW_SCORE_AREA THEME->GetMetricB(m_sName,"ShowScoreArea")
|
||||||
#define SHOW_TOTAL_SCORE_AREA THEME->GetMetricB(m_sName,"ShowTotalScoreArea")
|
#define SHOW_TOTAL_SCORE_AREA THEME->GetMetricB(m_sName,"ShowTotalScoreArea")
|
||||||
@@ -523,6 +526,8 @@ void ScreenEvaluation::Init()
|
|||||||
continue; // skip
|
continue; // skip
|
||||||
|
|
||||||
if( SHOW_JUDGMENT(l) )
|
if( SHOW_JUDGMENT(l) )
|
||||||
|
{
|
||||||
|
if( SHOW_JUDGMENT_LABELS )
|
||||||
{
|
{
|
||||||
m_sprJudgeLabels[l].Load( THEME->GetPathG(m_sName,"judge labels") );
|
m_sprJudgeLabels[l].Load( THEME->GetPathG(m_sName,"judge labels") );
|
||||||
m_sprJudgeLabels[l].StopAnimating();
|
m_sprJudgeLabels[l].StopAnimating();
|
||||||
@@ -530,6 +535,7 @@ void ScreenEvaluation::Init()
|
|||||||
m_sprJudgeLabels[l].SetName( ssprintf("%sLabel",JUDGE_STRING[l]) );
|
m_sprJudgeLabels[l].SetName( ssprintf("%sLabel",JUDGE_STRING[l]) );
|
||||||
SET_XY_AND_ON_COMMAND( m_sprJudgeLabels[l] );
|
SET_XY_AND_ON_COMMAND( m_sprJudgeLabels[l] );
|
||||||
this->AddChild( &m_sprJudgeLabels[l] );
|
this->AddChild( &m_sprJudgeLabels[l] );
|
||||||
|
}
|
||||||
|
|
||||||
FOREACH_EnabledPlayer( p )
|
FOREACH_EnabledPlayer( p )
|
||||||
{
|
{
|
||||||
@@ -567,11 +573,14 @@ void ScreenEvaluation::Init()
|
|||||||
if( !SHOW_STAT(l) )
|
if( !SHOW_STAT(l) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if( SHOW_STATS_LABELS )
|
||||||
|
{
|
||||||
m_sprStatsLabel[l].Load( THEME->GetPathG(m_sName,ssprintf("label %s", STATS_STRING[l])) );
|
m_sprStatsLabel[l].Load( THEME->GetPathG(m_sName,ssprintf("label %s", STATS_STRING[l])) );
|
||||||
m_sprStatsLabel[l]->StopAnimating();
|
m_sprStatsLabel[l]->StopAnimating();
|
||||||
m_sprStatsLabel[l]->SetName( ssprintf("%sLabel",STATS_STRING[l]) );
|
m_sprStatsLabel[l]->SetName( ssprintf("%sLabel",STATS_STRING[l]) );
|
||||||
SET_XY_AND_ON_COMMAND( m_sprStatsLabel[l] );
|
SET_XY_AND_ON_COMMAND( m_sprStatsLabel[l] );
|
||||||
this->AddChild( m_sprStatsLabel[l] );
|
this->AddChild( m_sprStatsLabel[l] );
|
||||||
|
}
|
||||||
|
|
||||||
FOREACH_EnabledPlayer( p )
|
FOREACH_EnabledPlayer( p )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user