add AllowCenter1Player metric
This commit is contained in:
@@ -915,6 +915,7 @@ GivingUpGoesToNextScreen=0
|
||||
InitialBackgroundBrightness=1
|
||||
MusicFadeOutSeconds=0.5
|
||||
UseForcedModifiersInBeginner=0
|
||||
AllowCenter1Player=1
|
||||
ForcedModifiersInBeginner=
|
||||
SongBackgroundOnCommand=
|
||||
SongForegroundOnCommand=
|
||||
|
||||
@@ -368,6 +368,7 @@ void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
|
||||
GIVING_UP_GOES_TO_NEXT_SCREEN.Load( m_sName, "GivingUpGoesToNextScreen" );
|
||||
FAIL_AFTER_30_MISSES.Load( m_sName, "FailAfter30Misses" );
|
||||
USE_FORCED_MODIFIERS_IN_BEGINNER.Load( m_sName, "UseForcedModifiersInBeginner" );
|
||||
ALLOW_CENTER_1_PLAYER.Load( m_sName, "AllowCenter1Player" );
|
||||
FORCED_MODIFIERS_IN_BEGINNER.Load( m_sName, "ForcedModifiersInBeginner" );
|
||||
|
||||
if( bUseSongBackgroundAndForeground )
|
||||
@@ -492,6 +493,7 @@ void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
|
||||
* but for now just ignore Center1Player when it's Battle or Rave
|
||||
* Mode. This doesn't begin to address two-player solo (6 arrows) */
|
||||
if( g_bCenter1Player &&
|
||||
ALLOW_CENTER_1_PLAYER &&
|
||||
GAMESTATE->m_PlayMode != PLAY_MODE_BATTLE &&
|
||||
GAMESTATE->m_PlayMode != PLAY_MODE_RAVE &&
|
||||
GAMESTATE->GetCurrentStyle()->m_StyleType == ONE_PLAYER_ONE_SIDE )
|
||||
|
||||
@@ -127,6 +127,7 @@ protected:
|
||||
ThemeMetric<bool> GIVING_UP_GOES_TO_NEXT_SCREEN;
|
||||
ThemeMetric<bool> FAIL_AFTER_30_MISSES;
|
||||
ThemeMetric<bool> USE_FORCED_MODIFIERS_IN_BEGINNER;
|
||||
ThemeMetric<bool> ALLOW_CENTER_1_PLAYER;
|
||||
ThemeMetric<RString> FORCED_MODIFIERS_IN_BEGINNER;
|
||||
|
||||
void TweenOnScreen();
|
||||
|
||||
Reference in New Issue
Block a user