Add the SurvivalModOverride metric.

This commit is contained in:
Jason Felds
2011-11-28 19:13:15 -05:00
parent 6a700d5cd8
commit 2d3c3628a1
4 changed files with 11 additions and 1 deletions
+7
View File
@@ -8,6 +8,13 @@ ________________________________________________________________________________
StepMania 5.0 $next | 20111xxx
--------------------------------------------------------------------------------
2011/11/28
----------
* [ScreenGameplay] Add the SurvivalModOverride metric. Let the themer decide
if mods should be overridden on survival or not. Funny enough, this used
to be true for the old Oni style mode, but...well, we'll cross that bridge
later. [Wolfman2000]
2011/11/27
----------
* [PlayerOptions] Pretty large changes here, namely a bunch of new bindings.
+1
View File
@@ -3075,6 +3075,7 @@ SecondsBetweenComments=10.0
ScoreKeeperClass=ScoreKeeperClass()
TickEarlySeconds=0
LightsMode="LightsMode_Gameplay"
SurvivalModOverride=true
#
PlayerType="Player"
# useful in some obscure situations where the theme resolution has been increased.
+2 -1
View File
@@ -70,6 +70,7 @@
static ThemeMetric<float> INITIAL_BACKGROUND_BRIGHTNESS ("ScreenGameplay","InitialBackgroundBrightness");
static ThemeMetric<float> SECONDS_BETWEEN_COMMENTS ("ScreenGameplay","SecondsBetweenComments");
static ThemeMetric<RString> SCORE_KEEPER_CLASS ("ScreenGameplay","ScoreKeeperClass");
static ThemeMetric<bool> SURVIVAL_MOD_OVERRIDE ("ScreenGameplay","SurvivalModOverride");
AutoScreenMessage( SM_PlayGo );
@@ -831,7 +832,7 @@ void ScreenGameplay::InitSongQueues()
}
// In a survival course, override stored mods
if( pCourse->GetCourseType() == COURSE_TYPE_SURVIVAL )
if( pCourse->GetCourseType() == COURSE_TYPE_SURVIVAL && SURVIVAL_MOD_OVERRIDE )
{
pi->GetPlayerState()->m_PlayerOptions.FromString( ModsLevel_Stage,
"clearall,"
+1
View File
@@ -197,6 +197,7 @@ protected:
ThemeMetric<bool> ALLOW_CENTER_1_PLAYER;
ThemeMetric<bool> UNPAUSE_WITH_START;
ThemeMetric<RString> SONG_NUMBER_FORMAT;
ThemeMetric<bool> SURVIVAL_MOD_OVERRIDE;
bool IsLastSong();
void SetupSong( int iSongIndex );