adding CustomDifficulty stuff (themable difficulty /StepsType combinations). Doesn't compile - fixing

This commit is contained in:
Chris Danford
2008-11-28 22:02:28 +00:00
parent 261df9636e
commit f18ba1614d
12 changed files with 66 additions and 111 deletions
+2 -4
View File
@@ -476,8 +476,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
// fall through
case ROW_STEPS:
{
DifficultyDisplayType ddt = MakeDifficultyDisplayType( GetSelectedDifficulty(), GameManager::GetStepsTypeInfo(GetSelectedStepsType()).m_StepsTypeCategory );
RString s = DifficultyDisplayTypeToLocalizedString( ddt );
RString s = GetLocalizedCustomDifficulty( GetSelectedDifficulty(), GameManager::GetStepsTypeInfo(GetSelectedStepsType()).m_StepsTypeCategory );
m_textValue[ROW_STEPS].SetText( s );
}
@@ -526,8 +525,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
}
else
{
DifficultyDisplayType ddt = MakeDifficultyDisplayType( GetSelectedSourceDifficulty(), GameManager::GetStepsTypeInfo(GetSelectedSourceStepsType()).m_StepsTypeCategory );
s = DifficultyDisplayTypeToLocalizedString( ddt );
s = GetLocalizedCustomDifficulty( GetSelectedSourceDifficulty(), GameManager::GetStepsTypeInfo(GetSelectedSourceStepsType()).m_StepsTypeCategory );
}
m_textValue[ROW_SOURCE_STEPS].SetText( s );
}