remove funky beginner hacks to judgment window
This commit is contained in:
@@ -52,18 +52,16 @@ RString ATTACK_DISPLAY_X_NAME( size_t p, size_t both_sides ){ return "AttackDisp
|
||||
static const float StepSearchDistance = 1.0f;
|
||||
static const float JUMP_WINDOW_SECONDS = 0.25f;
|
||||
|
||||
float AdjustedWindowSeconds( TimingWindow tw, bool bIsPlayingBeginner )
|
||||
float AdjustedWindowSeconds( TimingWindow tw )
|
||||
{
|
||||
float fSecs = PREFSMAN->m_fTimingWindowSeconds[tw];
|
||||
fSecs *= PREFSMAN->m_fTimingWindowScale;
|
||||
fSecs += PREFSMAN->m_fTimingWindowAdd;
|
||||
if( tw==TW_W5 && bIsPlayingBeginner && PREFSMAN->m_bMercifulBeginner )
|
||||
fSecs += 0.5f;
|
||||
return fSecs;
|
||||
}
|
||||
|
||||
|
||||
#define ADJUSTED_WINDOW_SECONDS( tw ) AdjustedWindowSeconds( tw, IsPlayingBeginner() )
|
||||
#define ADJUSTED_WINDOW_SECONDS( tw ) AdjustedWindowSeconds( tw )
|
||||
|
||||
|
||||
Player::Player( bool bShowNoteField, bool bShowJudgment )
|
||||
@@ -1246,14 +1244,6 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld )
|
||||
if( score == TNS_W1 && !GAMESTATE->ShowW1() )
|
||||
score = TNS_W2;
|
||||
|
||||
bool bSteppedEarly = -fNoteOffset < 0;
|
||||
if( IsPlayingBeginner() && PREFSMAN->m_bMercifulBeginner && score==TNS_W5 && bSteppedEarly )
|
||||
{
|
||||
if( m_pJudgment )
|
||||
m_pJudgment->SetJudgment( score, bSteppedEarly );
|
||||
}
|
||||
else
|
||||
{
|
||||
tn.result.tns = score;
|
||||
|
||||
if( score != TNS_None )
|
||||
@@ -1297,7 +1287,6 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld )
|
||||
|
||||
m_LastTapNoteScore = score;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user