tweak
This commit is contained in:
@@ -1776,7 +1776,7 @@ void ScreenGameplay::Update( float fDeltaTime )
|
|||||||
float ScreenGameplay::GetHasteRate()
|
float ScreenGameplay::GetHasteRate()
|
||||||
{
|
{
|
||||||
if( GAMESTATE->m_fMusicSeconds < GAMESTATE->m_fLastHasteUpdateMusicSeconds || // new song
|
if( GAMESTATE->m_fMusicSeconds < GAMESTATE->m_fLastHasteUpdateMusicSeconds || // new song
|
||||||
GAMESTATE->m_fMusicSeconds > GAMESTATE->m_fLastHasteUpdateMusicSeconds + 4 )
|
GAMESTATE->m_fMusicSeconds > GAMESTATE->m_fLastHasteUpdateMusicSeconds + 6 )
|
||||||
{
|
{
|
||||||
bool bAnyPlayerHitAllNotes = false;
|
bool bAnyPlayerHitAllNotes = false;
|
||||||
FOREACH_EnabledPlayerInfo( m_vPlayerInfo, pi )
|
FOREACH_EnabledPlayerInfo( m_vPlayerInfo, pi )
|
||||||
@@ -1794,7 +1794,7 @@ float ScreenGameplay::GetHasteRate()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( bAnyPlayerHitAllNotes )
|
if( bAnyPlayerHitAllNotes )
|
||||||
GAMESTATE->m_fHasteRate += 0.05f;
|
GAMESTATE->m_fHasteRate += 0.075f;
|
||||||
CLAMP( GAMESTATE->m_fHasteRate, -1.0f, +1.0f );
|
CLAMP( GAMESTATE->m_fHasteRate, -1.0f, +1.0f );
|
||||||
|
|
||||||
GAMESTATE->m_fLastHasteUpdateMusicSeconds = GAMESTATE->m_fMusicSeconds;
|
GAMESTATE->m_fLastHasteUpdateMusicSeconds = GAMESTATE->m_fMusicSeconds;
|
||||||
@@ -1816,7 +1816,7 @@ float ScreenGameplay::GetHasteRate()
|
|||||||
if( GAMESTATE->m_fHasteRate < 0 )
|
if( GAMESTATE->m_fHasteRate < 0 )
|
||||||
fSpeed = SCALE( GAMESTATE->m_fHasteRate, -1.0f, 0.0f, 0.5f, 1.0f );
|
fSpeed = SCALE( GAMESTATE->m_fHasteRate, -1.0f, 0.0f, 0.5f, 1.0f );
|
||||||
else
|
else
|
||||||
fSpeed = SCALE( GAMESTATE->m_fHasteRate, 0.0f, 1.0f, 1.0f, 1.6f );
|
fSpeed = SCALE( GAMESTATE->m_fHasteRate, 0.0f, 1.0f, 1.0f, 1.5f );
|
||||||
fSpeed *= GAMESTATE->m_SongOptions.GetCurrent().m_fHaste;
|
fSpeed *= GAMESTATE->m_SongOptions.GetCurrent().m_fHaste;
|
||||||
|
|
||||||
if( GAMESTATE->m_fAccumulatedHasteSeconds <= 1 )
|
if( GAMESTATE->m_fAccumulatedHasteSeconds <= 1 )
|
||||||
|
|||||||
Reference in New Issue
Block a user