Mini can be adjusted. Had to force a cast.
This commit is contained in:
@@ -161,6 +161,8 @@ DrunkOffsetFrequency=10
|
|||||||
DrunkArrowMagnitude=0.5
|
DrunkArrowMagnitude=0.5
|
||||||
BeatOffsetHeight=15
|
BeatOffsetHeight=15
|
||||||
BeatPIHeight=2
|
BeatPIHeight=2
|
||||||
|
MiniPercentBase=0.5
|
||||||
|
MiniPercentGate=1
|
||||||
QuantizeArrowYPosition=false
|
QuantizeArrowYPosition=false
|
||||||
|
|
||||||
[Background]
|
[Background]
|
||||||
|
|||||||
@@ -48,6 +48,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> MINI_PERCENT_BASE( "ArrowEffects", "MiniPercentBase" );
|
||||||
|
static ThemeMetric<float> MINI_PERCENT_GATE( "ArrowEffects", "MiniPercentGate" );
|
||||||
static ThemeMetric<bool> QUANTIZE_ARROW_Y( "ArrowEffects", "QuantizeArrowYPosition");
|
static ThemeMetric<bool> QUANTIZE_ARROW_Y( "ArrowEffects", "QuantizeArrowYPosition");
|
||||||
|
|
||||||
static float GetNoteFieldHeight( const PlayerState* pPlayerState )
|
static float GetNoteFieldHeight( const PlayerState* pPlayerState )
|
||||||
@@ -460,7 +462,7 @@ float ArrowEffects::GetXPos( const PlayerState* pPlayerState, int iColNum, float
|
|||||||
{
|
{
|
||||||
// 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 fMiniPercent = fEffects[PlayerOptions::EFFECT_MINI];
|
float fMiniPercent = fEffects[PlayerOptions::EFFECT_MINI];
|
||||||
fMiniPercent = min( powf(0.5f, fMiniPercent), 1.0f );
|
fMiniPercent = min( powf(MINI_PERCENT_BASE, fMiniPercent), (float)MINI_PERCENT_GATE );
|
||||||
fPixelOffsetFromCenter *= fMiniPercent;
|
fPixelOffsetFromCenter *= fMiniPercent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user