Add metric for Combo Stopped message flexibility.
This commit is contained in:
@@ -18,6 +18,8 @@ sm-ssc v1.2.1 | 2011011?
|
|||||||
* [ArrowEffects] Allow modifying modifier characteristics in the metrics.
|
* [ArrowEffects] Allow modifying modifier characteristics in the metrics.
|
||||||
At present, Blink, Boost, Brake, and Wave can have modifications.
|
At present, Blink, Boost, Brake, and Wave can have modifications.
|
||||||
[Wolfman2000]
|
[Wolfman2000]
|
||||||
|
* [Player] Allow Combo Stopped message to be flexible via metrics. The
|
||||||
|
default is 50, as it was before. [Wolfman2000]
|
||||||
|
|
||||||
20110112
|
20110112
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -938,6 +938,7 @@ MaxHoldLife=MaxHoldLife()
|
|||||||
RollBodyIncrementsCombo=GetGamePrefB("UserPrefComboOnRolls")
|
RollBodyIncrementsCombo=GetGamePrefB("UserPrefComboOnRolls")
|
||||||
ScoreMissedHoldsAndRolls=ScoreMissedHoldsAndRolls()
|
ScoreMissedHoldsAndRolls=ScoreMissedHoldsAndRolls()
|
||||||
PercentUntilColorCombo=0.25
|
PercentUntilColorCombo=0.25
|
||||||
|
ComboStoppedAt=50
|
||||||
|
|
||||||
[PlayerShared]
|
[PlayerShared]
|
||||||
Fallback="Player"
|
Fallback="Player"
|
||||||
|
|||||||
+2
-1
@@ -138,6 +138,7 @@ ThemeMetric<bool> ROLL_BODY_INCREMENTS_COMBO ( "Player", "RollBodyIncrementsComb
|
|||||||
ThemeMetric<bool> CHECKPOINTS_TAPS_SEPARATE_JUDGMENT ( "Player", "CheckpointsTapsSeparateJudgment" );
|
ThemeMetric<bool> CHECKPOINTS_TAPS_SEPARATE_JUDGMENT ( "Player", "CheckpointsTapsSeparateJudgment" );
|
||||||
ThemeMetric<bool> SCORE_MISSED_HOLDS_AND_ROLLS ( "Player", "ScoreMissedHoldsAndRolls" ); // sm-ssc addition
|
ThemeMetric<bool> SCORE_MISSED_HOLDS_AND_ROLLS ( "Player", "ScoreMissedHoldsAndRolls" ); // sm-ssc addition
|
||||||
ThemeMetric<float> PERCENT_UNTIL_COLOR_COMBO ( "Player", "PercentUntilColorCombo" );
|
ThemeMetric<float> PERCENT_UNTIL_COLOR_COMBO ( "Player", "PercentUntilColorCombo" );
|
||||||
|
ThemeMetric<int> COMBO_STOPPED_AT ( "Player", "ComboStoppedAt" );
|
||||||
|
|
||||||
float Player::GetWindowSeconds( TimingWindow tw )
|
float Player::GetWindowSeconds( TimingWindow tw )
|
||||||
{
|
{
|
||||||
@@ -581,7 +582,7 @@ void Player::Load()
|
|||||||
void Player::SendComboMessages( int iOldCombo, int iOldMissCombo )
|
void Player::SendComboMessages( int iOldCombo, int iOldMissCombo )
|
||||||
{
|
{
|
||||||
const int iCurCombo = m_pPlayerStageStats ? m_pPlayerStageStats->m_iCurCombo : 0;
|
const int iCurCombo = m_pPlayerStageStats ? m_pPlayerStageStats->m_iCurCombo : 0;
|
||||||
if( iOldCombo > 50 && iCurCombo < 50 )
|
if( iOldCombo > COMBO_STOPPED_AT && iCurCombo < COMBO_STOPPED_AT )
|
||||||
{
|
{
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_ComboStopped, 0 );
|
SCREENMAN->PostMessageToTopScreen( SM_ComboStopped, 0 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user