ScreenSelectMusic:HardCommentMeter metric added.
This commit is contained in:
@@ -4,6 +4,11 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||
________________________________________________________________________________
|
||||
|
||||
2015/01/16
|
||||
----------
|
||||
* [ScreenSelectMusic] HardCommentMeter metric added. Sets the meter that
|
||||
will trigger the "select music comment hard" announcer sound. [kyzentun]
|
||||
|
||||
2015/01/12
|
||||
----------
|
||||
* [ScreenOptions] GetNumRows function added. [kyzentun]
|
||||
|
||||
@@ -2085,6 +2085,7 @@ TimerSeconds=120
|
||||
DoRouletteOnMenuTimer=true
|
||||
RouletteTimerSeconds=15
|
||||
IdleCommentSeconds=20
|
||||
HardCommentMeter=10
|
||||
#
|
||||
DefaultSort=GAMESTATE:IsCourseMode() and "Group" or "AllCourses"
|
||||
#
|
||||
|
||||
@@ -43,6 +43,8 @@ const int NUM_SCORE_DIGITS = 9;
|
||||
|
||||
#define SHOW_OPTIONS_MESSAGE_SECONDS THEME->GetMetricF( m_sName, "ShowOptionsMessageSeconds" )
|
||||
|
||||
static const ThemeMetric<int> HARD_COMMENT_METER("ScreenSelectMusic", "HardCommentMeter");
|
||||
|
||||
AutoScreenMessage( SM_AllowOptionsMenuRepeat );
|
||||
AutoScreenMessage( SM_SongChanged );
|
||||
AutoScreenMessage( SM_SortOrderChanging );
|
||||
@@ -1211,7 +1213,7 @@ bool ScreenSelectMusic::MenuStart( const InputEventPlus &input )
|
||||
bool bIsHard = false;
|
||||
FOREACH_HumanPlayer( p )
|
||||
{
|
||||
if( GAMESTATE->m_pCurSteps[p] && GAMESTATE->m_pCurSteps[p]->GetMeter() >= 10 )
|
||||
if( GAMESTATE->m_pCurSteps[p] && GAMESTATE->m_pCurSteps[p]->GetMeter() >= HARD_COMMENT_METER )
|
||||
bIsHard = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user