Add metric for Combo Stopped message flexibility.

This commit is contained in:
Jason Felds
2011-01-15 14:17:52 -05:00
parent 0e8e48b1a9
commit bec941520a
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -138,6 +138,7 @@ ThemeMetric<bool> ROLL_BODY_INCREMENTS_COMBO ( "Player", "RollBodyIncrementsComb
ThemeMetric<bool> CHECKPOINTS_TAPS_SEPARATE_JUDGMENT ( "Player", "CheckpointsTapsSeparateJudgment" );
ThemeMetric<bool> SCORE_MISSED_HOLDS_AND_ROLLS ( "Player", "ScoreMissedHoldsAndRolls" ); // sm-ssc addition
ThemeMetric<float> PERCENT_UNTIL_COLOR_COMBO ( "Player", "PercentUntilColorCombo" );
ThemeMetric<int> COMBO_STOPPED_AT ( "Player", "ComboStoppedAt" );
float Player::GetWindowSeconds( TimingWindow tw )
{
@@ -581,7 +582,7 @@ void Player::Load()
void Player::SendComboMessages( int iOldCombo, int iOldMissCombo )
{
const int iCurCombo = m_pPlayerStageStats ? m_pPlayerStageStats->m_iCurCombo : 0;
if( iOldCombo > 50 && iCurCombo < 50 )
if( iOldCombo > COMBO_STOPPED_AT && iCurCombo < COMBO_STOPPED_AT )
{
SCREENMAN->PostMessageToTopScreen( SM_ComboStopped, 0 );
}