[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
|
||||
Area Menu. Note: Using the C or V keys is no longer allowed for attacks.
|
||||
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
|
||||
----------
|
||||
|
||||
+8
-7
@@ -501,16 +501,17 @@ void Steps::SetMeter( int meter )
|
||||
|
||||
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;
|
||||
|
||||
/* TODO: Deal with DisplayBPM here...if possible?
|
||||
* Song's version may still be useful. */
|
||||
|
||||
else if( m_Timing.HasBpmChanges() || m_Timing.HasWarps() || m_Timing.HasSpeedChanges() )
|
||||
|
||||
if( m_Timing.HasBpmChanges() )
|
||||
{
|
||||
return true;
|
||||
// check to see if these changes are significant.
|
||||
if( (GetMaxBPM() - GetMinBPM()) > 3.000f )
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user