HNS_Missed
Added an HNS type to handle holds which are never initialized due to missed taps. This fixes a long standing issue with iCurPossibleDancePoints and allows themes to decide how to handled this case.
This commit is contained in:
@@ -718,6 +718,7 @@ int ScoreKeeperNormal::HoldNoteScoreToDancePoints( HoldNoteScore hns, bool bBegi
|
||||
case HNS_None: iWeight = 0; break;
|
||||
case HNS_LetGo: iWeight = g_iPercentScoreWeight.GetValue(SE_LetGo); break;
|
||||
case HNS_Held: iWeight = g_iPercentScoreWeight.GetValue(SE_Held); break;
|
||||
case HNS_Missed: iWeight = g_iPercentScoreWeight.GetValue(SE_Missed); break;
|
||||
}
|
||||
if( bBeginner && PREFSMAN->m_bMercifulBeginner )
|
||||
iWeight = max( 0, iWeight );
|
||||
@@ -761,6 +762,7 @@ int ScoreKeeperNormal::HoldNoteScoreToGradePoints( HoldNoteScore hns, bool bBegi
|
||||
case HNS_None: iWeight = 0; break;
|
||||
case HNS_LetGo: iWeight = g_iGradeWeight.GetValue(SE_LetGo); break;
|
||||
case HNS_Held: iWeight = g_iGradeWeight.GetValue(SE_Held); break;
|
||||
case HNS_Missed: iWeight = g_iGradeWeight.GetValue(SE_Missed); break;
|
||||
}
|
||||
if( bBeginner && PREFSMAN->m_bMercifulBeginner )
|
||||
iWeight = max( 0, iWeight );
|
||||
|
||||
Reference in New Issue
Block a user