Added MinTNSToHideNotes preference.

This commit is contained in:
Kyzentun
2014-11-19 15:59:21 -07:00
parent 75fdf7c650
commit 040c0de509
8 changed files with 41 additions and 9 deletions
+2 -2
View File
@@ -2563,7 +2563,7 @@ void Player::StepStrumHopo( int col, int row, const RageTimer &tm, bool bHeld, b
const bool bBright = ( m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo > int(BRIGHT_GHOST_COMBO_THRESHOLD) ) || bBlind;
if( m_pNoteField )
m_pNoteField->DidTapNote( col, bBlind? TNS_W1:score, bBright );
if( score >= TNS_W3 || bBlind )
if( score >= PREFSMAN->m_MinTNSToHideNotes || bBlind )
HideNote( col, iRowOfOverlappingNoteOrRow );
}
}
@@ -2909,7 +2909,7 @@ void Player::FlashGhostRow( int iRow )
continue;
if( m_pNoteField )
m_pNoteField->DidTapNote( iTrack, lastTNS, bBright );
if( lastTNS >= TNS_W3 || bBlind )
if( lastTNS >= PREFSMAN->m_MinTNSToHideNotes || bBlind )
HideNote( iTrack, iRow );
}
}