Added HarshHotLifePenalty preference.
This commit is contained in:
@@ -4,6 +4,11 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
|||||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
2015/03/09
|
||||||
|
----------
|
||||||
|
* [Preference] HarshHotLifePenalty preference added, for toggling whether
|
||||||
|
LifeMeterBar takes away .1 life when it's full. [kyzentun]
|
||||||
|
|
||||||
2015/03/08
|
2015/03/08
|
||||||
----------
|
----------
|
||||||
* [EditMode] Clearing an area now prompts for confirmation if it contains
|
* [EditMode] Clearing an area now prompts for confirmation if it contains
|
||||||
|
|||||||
@@ -417,6 +417,7 @@ Game=Change the current game type with this option.
|
|||||||
GetRankingName=Determines if name entry should never be shown, always be shown, or shown when the course is listed on the high scores screen.
|
GetRankingName=Determines if name entry should never be shown, always be shown, or shown when the course is listed on the high scores screen.
|
||||||
Graphics/Sound Options=Change full screen, resolution, and sound options.
|
Graphics/Sound Options=Change full screen, resolution, and sound options.
|
||||||
Group=
|
Group=
|
||||||
|
HarshHotLifePenalty=If the life bar is full, and this is on, then a bad judgement means losing at least 10% of full life.
|
||||||
HiddenSongs=Some songs are only playable during Oni courses and with roulette. Leave this &oq;OFF&cq; to always display all songs.
|
HiddenSongs=Some songs are only playable during Oni courses and with roulette. Leave this &oq;OFF&cq; to always display all songs.
|
||||||
Hide=Hide
|
Hide=Hide
|
||||||
Holds=Holds
|
Holds=Holds
|
||||||
@@ -1018,6 +1019,7 @@ FastNoteRendering=Fast Note Rendering
|
|||||||
FailOffForFirstStageEasy=Fail Off First Easy
|
FailOffForFirstStageEasy=Fail Off First Easy
|
||||||
FailOffInBeginner=Fail Off Beginner
|
FailOffInBeginner=Fail Off Beginner
|
||||||
Genre=Genre
|
Genre=Genre
|
||||||
|
HarshHotLifePenalty=Harsh Hot Life Penalty
|
||||||
Practice Songs/Steps=Practice Songs/Steps
|
Practice Songs/Steps=Practice Songs/Steps
|
||||||
Edit Courses=Edit Courses
|
Edit Courses=Edit Courses
|
||||||
Edit BPM change=Edit BPM change
|
Edit BPM change=Edit BPM change
|
||||||
|
|||||||
@@ -3098,7 +3098,7 @@ Fallback="ScreenOptionsServiceChild"
|
|||||||
NextScreen="ScreenOptionsService"
|
NextScreen="ScreenOptionsService"
|
||||||
PrevScreen="ScreenOptionsService"
|
PrevScreen="ScreenOptionsService"
|
||||||
# stuff tied to arcade features
|
# stuff tied to arcade features
|
||||||
LineNames="1,2,3,4,5,6,7,8,9,10,11,12,13,14"
|
LineNames="1,2,3,4,5,6,7,8,9,HHLP,10,11,12,13,14"
|
||||||
Line1="conf,GetRankingName"
|
Line1="conf,GetRankingName"
|
||||||
Line2="conf,CoinMode"
|
Line2="conf,CoinMode"
|
||||||
Line3="conf,SongsPerPlay"
|
Line3="conf,SongsPerPlay"
|
||||||
@@ -3108,6 +3108,7 @@ Line6="conf,EventMode"
|
|||||||
Line7="conf,AllowMultipleHighScoreWithSameName"
|
Line7="conf,AllowMultipleHighScoreWithSameName"
|
||||||
Line8="conf,ComboContinuesBetweenSongs"
|
Line8="conf,ComboContinuesBetweenSongs"
|
||||||
Line9="conf,Disqualification"
|
Line9="conf,Disqualification"
|
||||||
|
LineHHLP="conf,HarshHotLifePenalty"
|
||||||
Line10="conf,FailOffForFirstStageEasy"
|
Line10="conf,FailOffForFirstStageEasy"
|
||||||
Line11="conf,FailOffInBeginner"
|
Line11="conf,FailOffInBeginner"
|
||||||
Line12="conf,LockCourseDifficulties"
|
Line12="conf,LockCourseDifficulties"
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ void LifeMeterBar::ChangeLife( TapNoteScore score )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// this was previously if( IsHot() && score < TNS_GOOD ) in 3.9... -freem
|
// this was previously if( IsHot() && score < TNS_GOOD ) in 3.9... -freem
|
||||||
if( IsHot() && fDeltaLife < 0 )
|
if(PREFSMAN->m_HarshHotLifePenalty && IsHot() && fDeltaLife < 0)
|
||||||
fDeltaLife = min( fDeltaLife, -0.10f ); // make it take a while to get back to "hot"
|
fDeltaLife = min( fDeltaLife, -0.10f ); // make it take a while to get back to "hot"
|
||||||
|
|
||||||
switch(m_pPlayerState->m_PlayerOptions.GetSong().m_DrainType)
|
switch(m_pPlayerState->m_PlayerOptions.GetSong().m_DrainType)
|
||||||
@@ -162,7 +162,7 @@ void LifeMeterBar::ChangeLife( HoldNoteScore score, TapNoteScore tscore )
|
|||||||
default:
|
default:
|
||||||
FAIL_M(ssprintf("Invalid HoldNoteScore: %i", score));
|
FAIL_M(ssprintf("Invalid HoldNoteScore: %i", score));
|
||||||
}
|
}
|
||||||
if( IsHot() && score == HNS_LetGo )
|
if(PREFSMAN->m_HarshHotLifePenalty && IsHot() && score == HNS_LetGo)
|
||||||
fDeltaLife = -0.10f; // make it take a while to get back to "hot"
|
fDeltaLife = -0.10f; // make it take a while to get back to "hot"
|
||||||
break;
|
break;
|
||||||
case DrainType_NoRecover:
|
case DrainType_NoRecover:
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ PrefsManager::PrefsManager() :
|
|||||||
|
|
||||||
m_iRegenComboAfterMiss ( "RegenComboAfterMiss", 5 ),
|
m_iRegenComboAfterMiss ( "RegenComboAfterMiss", 5 ),
|
||||||
m_bMercifulDrain ( "MercifulDrain", false ), // negative life deltas are scaled by the players life percentage
|
m_bMercifulDrain ( "MercifulDrain", false ), // negative life deltas are scaled by the players life percentage
|
||||||
|
m_HarshHotLifePenalty("HarshHotLifePenalty", true),
|
||||||
m_bMinimum1FullSongInCourses ( "Minimum1FullSongInCourses", false ), // FEoS for 1st song, FailImmediate thereafter
|
m_bMinimum1FullSongInCourses ( "Minimum1FullSongInCourses", false ), // FEoS for 1st song, FailImmediate thereafter
|
||||||
m_bFailOffInBeginner ( "FailOffInBeginner", false ),
|
m_bFailOffInBeginner ( "FailOffInBeginner", false ),
|
||||||
m_bFailOffForFirstStageEasy ( "FailOffForFirstStageEasy", false ),
|
m_bFailOffForFirstStageEasy ( "FailOffForFirstStageEasy", false ),
|
||||||
|
|||||||
@@ -194,6 +194,7 @@ public:
|
|||||||
// Whoever added these: Please add a comment saying what they do. -Chris
|
// Whoever added these: Please add a comment saying what they do. -Chris
|
||||||
Preference<int> m_iRegenComboAfterMiss;
|
Preference<int> m_iRegenComboAfterMiss;
|
||||||
Preference<bool> m_bMercifulDrain; // negative life deltas are scaled by the players life percentage
|
Preference<bool> m_bMercifulDrain; // negative life deltas are scaled by the players life percentage
|
||||||
|
Preference<bool> m_HarshHotLifePenalty; // See LifeMeterBar.cpp -Kyz
|
||||||
Preference<bool> m_bMinimum1FullSongInCourses; // FEoS for 1st song, FailImmediate thereafter
|
Preference<bool> m_bMinimum1FullSongInCourses; // FEoS for 1st song, FailImmediate thereafter
|
||||||
Preference<bool> m_bFailOffInBeginner;
|
Preference<bool> m_bFailOffInBeginner;
|
||||||
Preference<bool> m_bFailOffForFirstStageEasy;
|
Preference<bool> m_bFailOffForFirstStageEasy;
|
||||||
|
|||||||
@@ -786,6 +786,7 @@ static void InitializeConfOptions()
|
|||||||
ADD( ConfOption( "AllowMultipleHighScoreWithSameName", MovePref<bool>, "Off", "On" ) );
|
ADD( ConfOption( "AllowMultipleHighScoreWithSameName", MovePref<bool>, "Off", "On" ) );
|
||||||
ADD( ConfOption( "ComboContinuesBetweenSongs", MovePref<bool>, "Off", "On") );
|
ADD( ConfOption( "ComboContinuesBetweenSongs", MovePref<bool>, "Off", "On") );
|
||||||
ADD( ConfOption( "Disqualification", MovePref<bool>, "Off","On" ) );
|
ADD( ConfOption( "Disqualification", MovePref<bool>, "Off","On" ) );
|
||||||
|
ADD(ConfOption("HarshHotLifePenalty", MovePref<bool>, "Off", "On"));
|
||||||
ADD( ConfOption( "FailOffForFirstStageEasy", MovePref<bool>, "Off","On" ) );
|
ADD( ConfOption( "FailOffForFirstStageEasy", MovePref<bool>, "Off","On" ) );
|
||||||
ADD( ConfOption( "FailOffInBeginner", MovePref<bool>, "Off","On" ) );
|
ADD( ConfOption( "FailOffInBeginner", MovePref<bool>, "Off","On" ) );
|
||||||
ADD( ConfOption( "LockCourseDifficulties", MovePref<bool>, "Off", "On" ) );
|
ADD( ConfOption( "LockCourseDifficulties", MovePref<bool>, "Off", "On" ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user