From 574da5c63b0820453ade2800a3f0b56d7362aa5a Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 22 Feb 2011 00:08:28 -0500 Subject: [PATCH] Display the Routine Player in the editor. Needless to say, this will only show up on Routine mode. --- Themes/_fallback/Languages/en.ini | 1 + src/ScreenEdit.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Themes/_fallback/Languages/en.ini b/Themes/_fallback/Languages/en.ini index 9c544d3862..d68bff46a5 100644 --- a/Themes/_fallback/Languages/en.ini +++ b/Themes/_fallback/Languages/en.ini @@ -1247,6 +1247,7 @@ Preview Start=Preview Start Preview Length=Preview Length Help=Help Info=Info +Routine Player=Player [ScreenEditMenu] HeaderText=Edit Song/Steps diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index a6678f4fb2..4f07d09cd0 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -1016,6 +1016,7 @@ static LocalizedString SNAP_TO("ScreenEdit", "Snap to"); static LocalizedString NOTES("ScreenEdit", "%s notes"); static LocalizedString SELECTION_BEAT("ScreenEdit", "Selection beat"); static LocalizedString DIFFICULTY("ScreenEdit", "Difficulty"); +static LocalizedString ROUTINE_PLAYER("ScreenEdit", "Routine Player"); static LocalizedString DESCRIPTION("ScreenEdit", "Description"); static LocalizedString CHART_STYLE("ScreenEdit", "Chart Style"); static LocalizedString MAIN_TITLE("ScreenEdit", "Main title"); @@ -1079,6 +1080,8 @@ void ScreenEdit::UpdateTextInfo() break; case EditMode_Full: sText += ssprintf( "%s:\n %s\n", DIFFICULTY.GetValue().c_str(), DifficultyToString( m_pSteps->GetDifficulty() ).c_str() ); + if ( m_InputPlayerNumber != PLAYER_INVALID ) + sText += ssprintf( "%s:\n %d\n", ROUTINE_PLAYER.GetValue().c_str(), m_InputPlayerNumber + 1 ); sText += ssprintf( "%s:\n %s\n", DESCRIPTION.GetValue().c_str(), m_pSteps->GetDescription().c_str() ); sText += ssprintf( "%s:\n %s\n", CHART_STYLE.GetValue().c_str(), m_pSteps->GetChartStyle().c_str() ); sText += ssprintf( "%s:\n %s\n", MAIN_TITLE.GetValue().c_str(), m_pSong->m_sMainTitle.c_str() );