Take the Player Options menu from ScreenNetSelectMusic, have it use Select instead of Up.
This commit is contained in:
@@ -45,6 +45,7 @@ AutoScreenMessage( SM_AllowOptionsMenuRepeat )
|
|||||||
AutoScreenMessage( SM_SongChanged )
|
AutoScreenMessage( SM_SongChanged )
|
||||||
AutoScreenMessage( SM_SortOrderChanging )
|
AutoScreenMessage( SM_SortOrderChanging )
|
||||||
AutoScreenMessage( SM_SortOrderChanged )
|
AutoScreenMessage( SM_SortOrderChanged )
|
||||||
|
AutoScreenMessage( SM_BackFromPlayerOptions )
|
||||||
|
|
||||||
static RString g_sCDTitlePath;
|
static RString g_sCDTitlePath;
|
||||||
static bool g_bWantFallbackCdTitle;
|
static bool g_bWantFallbackCdTitle;
|
||||||
@@ -75,6 +76,7 @@ void ScreenSelectMusic::Init()
|
|||||||
SELECT_MENU_AVAILABLE.Load( m_sName, "SelectMenuAvailable" );
|
SELECT_MENU_AVAILABLE.Load( m_sName, "SelectMenuAvailable" );
|
||||||
MODE_MENU_AVAILABLE.Load( m_sName, "ModeMenuAvailable" );
|
MODE_MENU_AVAILABLE.Load( m_sName, "ModeMenuAvailable" );
|
||||||
USE_OPTIONS_LIST.Load( m_sName, "UseOptionsList" );
|
USE_OPTIONS_LIST.Load( m_sName, "UseOptionsList" );
|
||||||
|
USE_PLAYER_SELECT_MENU.Load( m_sName, "UsePlayerSelectMenu" );
|
||||||
TWO_PART_SELECTION.Load( m_sName, "TwoPartSelection" );
|
TWO_PART_SELECTION.Load( m_sName, "TwoPartSelection" );
|
||||||
|
|
||||||
m_GameButtonPreviousSong = INPUTMAPPER->GetInputScheme()->ButtonNameToIndex( THEME->GetMetric(m_sName,"PreviousSongButton") );
|
m_GameButtonPreviousSong = INPUTMAPPER->GetInputScheme()->ButtonNameToIndex( THEME->GetMetric(m_sName,"PreviousSongButton") );
|
||||||
@@ -398,6 +400,14 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
m_bStepsChosen[input.pn] )
|
m_bStepsChosen[input.pn] )
|
||||||
return; // ignore
|
return; // ignore
|
||||||
|
|
||||||
|
if( USE_PLAYER_SELECT_MENU )
|
||||||
|
{
|
||||||
|
if( input.type == IET_RELEASE && input.MenuI == GAME_BUTTON_SELECT )
|
||||||
|
{
|
||||||
|
GAMESTATE->m_EditMode = EditMode_Full;
|
||||||
|
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromPlayerOptions );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// handle options list input
|
// handle options list input
|
||||||
if( USE_OPTIONS_LIST )
|
if( USE_OPTIONS_LIST )
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ protected:
|
|||||||
ThemeMetric<bool> SELECT_MENU_AVAILABLE;
|
ThemeMetric<bool> SELECT_MENU_AVAILABLE;
|
||||||
ThemeMetric<bool> MODE_MENU_AVAILABLE;
|
ThemeMetric<bool> MODE_MENU_AVAILABLE;
|
||||||
ThemeMetric<bool> USE_OPTIONS_LIST;
|
ThemeMetric<bool> USE_OPTIONS_LIST;
|
||||||
|
ThemeMetric<bool> USE_PLAYER_SELECT_MENU;
|
||||||
ThemeMetric<bool> TWO_PART_SELECTION;
|
ThemeMetric<bool> TWO_PART_SELECTION;
|
||||||
|
|
||||||
bool CanChangeSong() const { return m_SelectionState == SelectionState_SelectingSong; }
|
bool CanChangeSong() const { return m_SelectionState == SelectionState_SelectingSong; }
|
||||||
|
|||||||
Reference in New Issue
Block a user