add pref for showing autoplay status
This commit is contained in:
@@ -231,7 +231,6 @@ PrefsManager::PrefsManager() :
|
||||
m_fTimeMeterSecondsChange ( TimeMeterSecondsChangeInit, NUM_ScoreEvent ),
|
||||
|
||||
m_AutoPlay ( "AutoPlay", PC_HUMAN ),
|
||||
m_bShowAutoPlayStatus ( "ShowAutoPlayStatus", true ),
|
||||
m_bDelayedBack ( "DelayedBack", true ),
|
||||
m_bShowInstructions ( "ShowInstructions", true ),
|
||||
m_bShowSelectGroup ( "ShowSelectGroup", false ),
|
||||
|
||||
@@ -110,7 +110,6 @@ public:
|
||||
Preference1D<float> m_fTimeMeterSecondsChange;
|
||||
|
||||
Preference<PlayerController,int> m_AutoPlay;
|
||||
Preference<bool> m_bShowAutoPlayStatus;
|
||||
Preference<bool> m_bDelayedBack;
|
||||
Preference<bool> m_bShowInstructions;
|
||||
Preference<bool> m_bShowSelectGroup;
|
||||
|
||||
@@ -77,6 +77,8 @@ void ScreenSyncOverlay::Update( float fDeltaTime )
|
||||
UpdateText();
|
||||
}
|
||||
|
||||
static Preference<bool> g_bShowAutoPlayStatus( "ShowAutoPlayStatus", true );
|
||||
|
||||
static LocalizedString AUTO_PLAY ( "ScreenSyncOverlay", "AutoPlay" );
|
||||
static LocalizedString AUTO_PLAY_CPU ( "ScreenSyncOverlay", "AutoPlayCPU" );
|
||||
static LocalizedString AUTO_SYNC_SONG ( "ScreenSyncOverlay", "AutoSync Song" );
|
||||
@@ -85,7 +87,7 @@ void ScreenSyncOverlay::UpdateText()
|
||||
{
|
||||
vector<RString> vs;
|
||||
|
||||
if( PREFSMAN->m_bShowAutoPlayStatus )
|
||||
if( g_bShowAutoPlayStatus )
|
||||
{
|
||||
switch( PREFSMAN->m_AutoPlay )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user