New metric, MModHighCap. Can fix Tsuhsuixamush.
Set to 0 or less to remove the cap.
This commit is contained in:
@@ -8,6 +8,13 @@ ________________________________________________________________________________
|
||||
StepMania 5.0 Preview 2 | 201107??
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2011/07/03
|
||||
----------
|
||||
* [Player] Bring mMods from OpenITG over. Also, a metric was added,
|
||||
"MModHighCap", to cap the speed mod if required for playing songs like
|
||||
Tsuhsuixamush. Set the metric to 0 or less to remove the cap. [AJ, sharksoda,
|
||||
Wolfman2000]
|
||||
|
||||
2011/07/02
|
||||
----------
|
||||
* [ScreenEdit] Fixed a crash when hitting Enter in the F1 help menu. [AJ]
|
||||
|
||||
@@ -1101,6 +1101,7 @@ ComboStoppedAt=50
|
||||
AttackRunTimeRandom=6
|
||||
AttackRunTimeMine=7
|
||||
BattleRaveMirror=true
|
||||
MModHighCap=600
|
||||
|
||||
[PlayerOptions]
|
||||
RandomSpeedChance=0.2
|
||||
|
||||
+9
-1
@@ -201,6 +201,12 @@ ThemeMetric<int> COMBO_STOPPED_AT ( "Player", "ComboStoppedAt" );
|
||||
ThemeMetric<float> ATTACK_RUN_TIME_RANDOM ( "Player", "AttackRunTimeRandom" );
|
||||
ThemeMetric<float> ATTACK_RUN_TIME_MINE ( "Player", "AttackRunTimeMine" );
|
||||
|
||||
/**
|
||||
* @brief What is our highest cap for mMods?
|
||||
*
|
||||
* If set to 0 or less, assume the song takes over. */
|
||||
ThemeMetric<float> M_MOD_HIGH_CAP("Player", "MModHighCap");
|
||||
|
||||
/** @brief Will battle modes have their steps mirrored or kept the same? */
|
||||
ThemeMetric<bool> BATTLE_RAVE_MIRROR ( "Player", "BattleRaveMirror" );
|
||||
|
||||
@@ -432,7 +438,9 @@ void Player::Init(
|
||||
// if the BPMs are < 0, reset and get the actual values.
|
||||
if( !bpms.IsSecret() )
|
||||
{
|
||||
fMaxBPM = bpms.GetMaxWithin(600);
|
||||
fMaxBPM = (M_MOD_HIGH_CAP > 0 ?
|
||||
bpms.GetMaxWithin(M_MOD_HIGH_CAP) :
|
||||
bpms.GetMax());
|
||||
fMaxBPM = max( 0, fMaxBPM );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user