[ScreenEvaluation] Added RollingNumbersClass metric, allowing for the ability to change which RollingNumbers class is loaded.
This commit is contained in:
@@ -17,6 +17,8 @@ sm-ssc v1.2.5 | 201104??
|
|||||||
--------
|
--------
|
||||||
* [ScreenSelectMusic] Changed "Percent Frame p1" to "PercentFrame P1" for consistency. [AJ]
|
* [ScreenSelectMusic] Changed "Percent Frame p1" to "PercentFrame P1" for consistency. [AJ]
|
||||||
* [LifeMeterBattery] Convert Frame to an AutoActor. [AJ]
|
* [LifeMeterBattery] Convert Frame to an AutoActor. [AJ]
|
||||||
|
* [ScreenEvaluation] Added RollingNumbersClass metric, allowing for the ability
|
||||||
|
to change which RollingNumbers class is loaded. [AJ]
|
||||||
|
|
||||||
20110420
|
20110420
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -3243,6 +3243,7 @@ PlayerOptionsHideFailType=false
|
|||||||
MaxComboNumDigits=4
|
MaxComboNumDigits=4
|
||||||
#
|
#
|
||||||
ShowBannerArea=true
|
ShowBannerArea=true
|
||||||
|
RollingNumbersClass="RollingNumbersEvaluation"
|
||||||
ShowSharedJudgmentLineLabels=false
|
ShowSharedJudgmentLineLabels=false
|
||||||
ShowJudgmentLineW1=false
|
ShowJudgmentLineW1=false
|
||||||
ShowJudgmentLineW2=false
|
ShowJudgmentLineW2=false
|
||||||
|
|||||||
@@ -452,6 +452,7 @@ void ScreenEvaluation::Init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// init judgment area
|
// init judgment area
|
||||||
|
ROLLING_NUMBERS_CLASS.Load( m_sName, "RollingNumbersClass" );
|
||||||
FOREACH_ENUM( JudgmentLine, l )
|
FOREACH_ENUM( JudgmentLine, l )
|
||||||
{
|
{
|
||||||
if( l == JudgmentLine_W1 && !GAMESTATE->ShowW1() )
|
if( l == JudgmentLine_W1 && !GAMESTATE->ShowW1() )
|
||||||
@@ -473,7 +474,7 @@ void ScreenEvaluation::Init()
|
|||||||
{
|
{
|
||||||
m_textJudgmentLineNumber[l][p].LoadFromFont( THEME->GetPathF(m_sName, "JudgmentLineNumber") );
|
m_textJudgmentLineNumber[l][p].LoadFromFont( THEME->GetPathF(m_sName, "JudgmentLineNumber") );
|
||||||
m_textJudgmentLineNumber[l][p].SetName( JudgmentLineToString(l)+ssprintf("NumberP%d",p+1) );
|
m_textJudgmentLineNumber[l][p].SetName( JudgmentLineToString(l)+ssprintf("NumberP%d",p+1) );
|
||||||
m_textJudgmentLineNumber[l][p].Load( "RollingNumbersJudgment" );
|
m_textJudgmentLineNumber[l][p].Load( ROLLING_NUMBERS_CLASS );
|
||||||
ActorUtil::LoadAllCommands( m_textJudgmentLineNumber[l][p], m_sName );
|
ActorUtil::LoadAllCommands( m_textJudgmentLineNumber[l][p], m_sName );
|
||||||
SET_XY( m_textJudgmentLineNumber[l][p] );
|
SET_XY( m_textJudgmentLineNumber[l][p] );
|
||||||
this->AddChild( &m_textJudgmentLineNumber[l][p] );
|
this->AddChild( &m_textJudgmentLineNumber[l][p] );
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ protected:
|
|||||||
RageSound m_soundStart; // sound played if the player passes or fails
|
RageSound m_soundStart; // sound played if the player passes or fails
|
||||||
|
|
||||||
ThemeMetric<bool> SUMMARY;
|
ThemeMetric<bool> SUMMARY;
|
||||||
|
ThemeMetric<RString> ROLLING_NUMBERS_CLASS;
|
||||||
/** @brief Did a player save a screenshot of their score? */
|
/** @brief Did a player save a screenshot of their score? */
|
||||||
bool m_bSavedScreenshot[NUM_PLAYERS];
|
bool m_bSavedScreenshot[NUM_PLAYERS];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user