[Steps] Modified HasSignificantTimingChanges; the following now disqualify when using a CMod: Stops, Delays, Warps, Speed Changes, Scroll Changes. Songs with a non-constant BPM will only disqualify if the High/Low difference is greater than 3.00.
This commit is contained in:
@@ -16,6 +16,10 @@ StepMania 5.0 ???? ?? | 20120???
|
|||||||
* [ScreenEdit] Allow a new way of creating and modifying attacks using the
|
* [ScreenEdit] Allow a new way of creating and modifying attacks using the
|
||||||
Area Menu. Note: Using the C or V keys is no longer allowed for attacks.
|
Area Menu. Note: Using the C or V keys is no longer allowed for attacks.
|
||||||
It will simplify things for later. [Wolfman2000]
|
It will simplify things for later. [Wolfman2000]
|
||||||
|
* [Steps] Modified HasSignificantTimingChanges; the following now disqualify
|
||||||
|
when using a CMod: Stops, Delays, Warps, Speed Changes, Scroll Changes.
|
||||||
|
Songs with a non-constant BPM will only disqualify if the High/Low difference
|
||||||
|
is greater than 3.00. [AJ]
|
||||||
|
|
||||||
2012/05/19
|
2012/05/19
|
||||||
----------
|
----------
|
||||||
|
|||||||
+6
-5
@@ -501,16 +501,17 @@ void Steps::SetMeter( int meter )
|
|||||||
|
|
||||||
bool Steps::HasSignificantTimingChanges() const
|
bool Steps::HasSignificantTimingChanges() const
|
||||||
{
|
{
|
||||||
if( m_Timing.HasStops() || m_Timing.HasDelays() )
|
if( m_Timing.HasStops() || m_Timing.HasDelays() || m_Timing.HasWarps() ||
|
||||||
|
m_Timing.HasSpeedChanges() || m_Timing.HasScrollChanges() )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* TODO: Deal with DisplayBPM here...if possible?
|
if( m_Timing.HasBpmChanges() )
|
||||||
* Song's version may still be useful. */
|
|
||||||
|
|
||||||
else if( m_Timing.HasBpmChanges() || m_Timing.HasWarps() || m_Timing.HasSpeedChanges() )
|
|
||||||
{
|
{
|
||||||
|
// check to see if these changes are significant.
|
||||||
|
if( (GetMaxBPM() - GetMinBPM()) > 3.000f )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user