Introduce the MissComboIsPerRow metric.

Read the changelog for more details.
This commit is contained in:
Jason Felds
2011-05-26 22:22:55 -04:00
parent f01763598d
commit 78951b7f05
3 changed files with 11 additions and 2 deletions
+3 -2
View File
@@ -81,6 +81,7 @@ void ScoreKeeperNormal::Load(
// True if a jump is one to combo, false if combo is purely based on tap count.
m_ComboIsPerRow.Load( "Gameplay", "ComboIsPerRow" );
m_MissComboIsPerRow.Load( "Gameplay", "MissComboIsPerRow" );
m_MinScoreToContinueCombo.Load( "Gameplay", "MinScoreToContinueCombo" );
m_MinScoreToMaintainCombo.Load( "Gameplay", "MinScoreToMaintainCombo" );
m_MaxScoreToIncrementMissCombo.Load( "Gameplay", "MaxScoreToIncrementMissCombo" );
@@ -450,7 +451,7 @@ void ScoreKeeperNormal::HandleComboInternal( int iNumHitContinueCombo, int iNumH
else
{
m_pPlayerStageStats->m_iCurCombo = 0;
m_pPlayerStageStats->m_iCurMissCombo += iNumBreakCombo;
m_pPlayerStageStats->m_iCurMissCombo += ( m_MissComboIsPerRow ? 1 : iNumBreakCombo );
}
}
@@ -472,7 +473,7 @@ void ScoreKeeperNormal::HandleRowComboInternal( TapNoteScore tns, int iNumTapsIn
m_pPlayerStageStats->m_iCurCombo = 0;
if( tns <= m_MaxScoreToIncrementMissCombo )
m_pPlayerStageStats->m_iCurMissCombo += iNumTapsInRow;
m_pPlayerStageStats->m_iCurMissCombo += ( m_MissComboIsPerRow ? 1 : iNumTapsInRow );
}
}
+1
View File
@@ -34,6 +34,7 @@ class ScoreKeeperNormal: public ScoreKeeper
int m_iNumNotesHitThisRow; // Used by Custom Scoring only
ThemeMetric<bool> m_ComboIsPerRow;
ThemeMetric<bool> m_MissComboIsPerRow;
ThemeMetric<TapNoteScore> m_MinScoreToContinueCombo;
ThemeMetric<TapNoteScore> m_MinScoreToMaintainCombo;
ThemeMetric<TapNoteScore> m_MaxScoreToIncrementMissCombo;