revert changes, swap mini<->tiny when loading as a temp solution.
This commit is contained in:
@@ -56,8 +56,8 @@ static ThemeMetric<float> DRUNK_OFFSET_FREQUENCY( "ArrowEffects", "DrunkOffsetFr
|
|||||||
static ThemeMetric<float> DRUNK_ARROW_MAGNITUDE( "ArrowEffects", "DrunkArrowMagnitude" );
|
static ThemeMetric<float> DRUNK_ARROW_MAGNITUDE( "ArrowEffects", "DrunkArrowMagnitude" );
|
||||||
static ThemeMetric<float> BEAT_OFFSET_HEIGHT( "ArrowEffects", "BeatOffsetHeight" );
|
static ThemeMetric<float> BEAT_OFFSET_HEIGHT( "ArrowEffects", "BeatOffsetHeight" );
|
||||||
static ThemeMetric<float> BEAT_PI_HEIGHT( "ArrowEffects", "BeatPIHeight" );
|
static ThemeMetric<float> BEAT_PI_HEIGHT( "ArrowEffects", "BeatPIHeight" );
|
||||||
static ThemeMetric<float> TINY_PERCENT_BASE( "ArrowEffects", "TinyPercentBase" );
|
static ThemeMetric<float> TINY_PERCENT_BASE( "ArrowEffects", "MiniPercentBase" );
|
||||||
static ThemeMetric<float> TINY_PERCENT_GATE( "ArrowEffects", "TinyPercentGate" );
|
static ThemeMetric<float> TINY_PERCENT_GATE( "ArrowEffects", "MiniPercentGate" );
|
||||||
static ThemeMetric<bool> DIZZY_HOLD_HEADS( "ArrowEffects", "DizzyHoldHeads" );
|
static ThemeMetric<bool> DIZZY_HOLD_HEADS( "ArrowEffects", "DizzyHoldHeads" );
|
||||||
|
|
||||||
float ArrowGetPercentVisible( const PlayerState* pPlayerState, float fYPosWithoutReverse );
|
float ArrowGetPercentVisible( const PlayerState* pPlayerState, float fYPosWithoutReverse );
|
||||||
@@ -489,12 +489,13 @@ float ArrowEffects::GetXPos( const PlayerState* pPlayerState, int iColNum, float
|
|||||||
|
|
||||||
fPixelOffsetFromCenter += pCols[iColNum].fXOffset;
|
fPixelOffsetFromCenter += pCols[iColNum].fXOffset;
|
||||||
|
|
||||||
if( fEffects[PlayerOptions::EFFECT_TINY] != 0 )
|
// XXX: Mini and tiny have names swapped! Fix this. -shakesoda
|
||||||
|
if( fEffects[PlayerOptions::EFFECT_MINI] != 0 )
|
||||||
{
|
{
|
||||||
// Allow Mini to pull tracks together, but not to push them apart.
|
// Allow Mini to pull tracks together, but not to push them apart.
|
||||||
float fTinyPercent = fEffects[PlayerOptions::EFFECT_TINY];
|
float fMiniPercent = fEffects[PlayerOptions::EFFECT_MINI];
|
||||||
fTinyPercent = min( powf(TINY_PERCENT_BASE, fTinyPercent), (float)TINY_PERCENT_GATE );
|
fMiniPercent = min( powf(TINY_PERCENT_BASE, fMiniPercent), (float)TINY_PERCENT_GATE );
|
||||||
fPixelOffsetFromCenter *= fTinyPercent;
|
fPixelOffsetFromCenter *= fMiniPercent;
|
||||||
}
|
}
|
||||||
|
|
||||||
return fPixelOffsetFromCenter;
|
return fPixelOffsetFromCenter;
|
||||||
|
|||||||
+1
-1
@@ -817,7 +817,7 @@ void NoteField::DrawPrimitives()
|
|||||||
|
|
||||||
float fDrawScale = 1;
|
float fDrawScale = 1;
|
||||||
fDrawScale *= 1 + 0.5f * fabsf( current_po.m_fPerspectiveTilt );
|
fDrawScale *= 1 + 0.5f * fabsf( current_po.m_fPerspectiveTilt );
|
||||||
fDrawScale *= 1 + fabsf( current_po.m_fEffects[PlayerOptions::EFFECT_MINI] );
|
fDrawScale *= 1 + fabsf( current_po.m_fEffects[PlayerOptions::EFFECT_TINY] );
|
||||||
|
|
||||||
iDrawDistanceAfterTargetsPixels = (int)(iDrawDistanceAfterTargetsPixels * fDrawScale);
|
iDrawDistanceAfterTargetsPixels = (int)(iDrawDistanceAfterTargetsPixels * fDrawScale);
|
||||||
iDrawDistanceBeforeTargetsPixels = (int)(iDrawDistanceBeforeTargetsPixels * fDrawScale);
|
iDrawDistanceBeforeTargetsPixels = (int)(iDrawDistanceBeforeTargetsPixels * fDrawScale);
|
||||||
|
|||||||
+2
-2
@@ -867,7 +867,7 @@ void Player::Update( float fDeltaTime )
|
|||||||
Actor::TweenState::MakeWeightedAverage( m_pActorWithComboPosition->DestTweenState(), ts1, ts2, fPercentCentered );
|
Actor::TweenState::MakeWeightedAverage( m_pActorWithComboPosition->DestTweenState(), ts1, ts2, fPercentCentered );
|
||||||
}
|
}
|
||||||
|
|
||||||
float fNoteFieldZoom = 1 - fMiniPercent*0.5f;
|
float fNoteFieldZoom = 1 - fTinyPercent*0.5f;
|
||||||
if( m_pNoteField )
|
if( m_pNoteField )
|
||||||
m_pNoteField->SetZoom( fNoteFieldZoom );
|
m_pNoteField->SetZoom( fNoteFieldZoom );
|
||||||
if( m_pActorWithJudgmentPosition != NULL )
|
if( m_pActorWithJudgmentPosition != NULL )
|
||||||
@@ -1488,7 +1488,7 @@ void Player::DrawPrimitives()
|
|||||||
|
|
||||||
float fTiltDegrees = SCALE(fTilt,-1.f,+1.f,+30,-30) * (bReverse?-1:1);
|
float fTiltDegrees = SCALE(fTilt,-1.f,+1.f,+30,-30) * (bReverse?-1:1);
|
||||||
|
|
||||||
float fZoom = SCALE( m_pPlayerState->m_PlayerOptions.GetCurrent().m_fEffects[PlayerOptions::EFFECT_MINI], 0.f, 1.f, 1.f, 0.5f );
|
float fZoom = SCALE( m_pPlayerState->m_PlayerOptions.GetCurrent().m_fEffects[PlayerOptions::EFFECT_TINY], 0.f, 1.f, 1.f, 0.5f );
|
||||||
if( fTilt > 0 )
|
if( fTilt > 0 )
|
||||||
fZoom *= SCALE( fTilt, 0.f, 1.f, 1.f, 0.9f );
|
fZoom *= SCALE( fTilt, 0.f, 1.f, 1.f, 0.9f );
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -155,8 +155,8 @@ void PlayerOptions::GetMods( vector<RString> &AddTo, bool bForceNoteSkin ) const
|
|||||||
AddPart( AddTo, m_fEffects[EFFECT_DRUNK], "Drunk" );
|
AddPart( AddTo, m_fEffects[EFFECT_DRUNK], "Drunk" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_DIZZY], "Dizzy" );
|
AddPart( AddTo, m_fEffects[EFFECT_DIZZY], "Dizzy" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_CONFUSION], "Confusion" );
|
AddPart( AddTo, m_fEffects[EFFECT_CONFUSION], "Confusion" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_MINI], "Mini" );
|
AddPart( AddTo, m_fEffects[EFFECT_MINI], "Tiny" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_TINY], "Tiny" );
|
AddPart( AddTo, m_fEffects[EFFECT_TINY], "Mini" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_FLIP], "Flip" );
|
AddPart( AddTo, m_fEffects[EFFECT_FLIP], "Flip" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_INVERT], "Invert" );
|
AddPart( AddTo, m_fEffects[EFFECT_INVERT], "Invert" );
|
||||||
AddPart( AddTo, m_fEffects[EFFECT_TORNADO], "Tornado" );
|
AddPart( AddTo, m_fEffects[EFFECT_TORNADO], "Tornado" );
|
||||||
|
|||||||
Reference in New Issue
Block a user