ScreenSelectMusic:HardCommentMeter metric added.

This commit is contained in:
Kyzentun
2015-01-16 10:23:26 -07:00
parent 6b41f568bf
commit 2d26c8133a
3 changed files with 9 additions and 1 deletions
+5
View File
@@ -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]
+1
View File
@@ -2085,6 +2085,7 @@ TimerSeconds=120
DoRouletteOnMenuTimer=true
RouletteTimerSeconds=15
IdleCommentSeconds=20
HardCommentMeter=10
#
DefaultSort=GAMESTATE:IsCourseMode() and "Group" or "AllCourses"
#
+3 -1
View File
@@ -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;
}