add pref for showing autoplay status
This commit is contained in:
@@ -231,6 +231,7 @@ 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,6 +110,7 @@ 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;
|
||||
|
||||
@@ -85,12 +85,15 @@ void ScreenSyncOverlay::UpdateText()
|
||||
{
|
||||
vector<RString> vs;
|
||||
|
||||
switch( PREFSMAN->m_AutoPlay )
|
||||
if( PREFSMAN->m_bShowAutoPlayStatus )
|
||||
{
|
||||
case PC_HUMAN: break;
|
||||
case PC_AUTOPLAY: vs.push_back(AUTO_PLAY); break;
|
||||
case PC_CPU: vs.push_back(AUTO_PLAY_CPU); break;
|
||||
default: ASSERT(0);
|
||||
switch( PREFSMAN->m_AutoPlay )
|
||||
{
|
||||
case PC_HUMAN: break;
|
||||
case PC_AUTOPLAY: vs.push_back(AUTO_PLAY); break;
|
||||
case PC_CPU: vs.push_back(AUTO_PLAY_CPU); break;
|
||||
default: ASSERT(0);
|
||||
}
|
||||
}
|
||||
|
||||
switch( GAMESTATE->m_SongOptions.m_AutosyncType )
|
||||
|
||||
Reference in New Issue
Block a user