This commit is contained in:
Glenn Maynard
2006-10-07 04:13:43 +00:00
parent 064a411962
commit 8a4ddd1515
34 changed files with 84 additions and 84 deletions
+4 -4
View File
@@ -392,7 +392,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
m_textValue[ROW_STEPS_TYPE].SetText( GAMEMAN->StepsTypeToLocalizedString(GetSelectedStepsType()) );
{
Difficulty dcOld = DIFFICULTY_INVALID;
Difficulty dcOld = DIFFICULTY_Invalid;
if( !m_vpSteps.empty() )
dcOld = GetSelectedDifficulty();
@@ -506,7 +506,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
m_textValue[ROW_SOURCE_STEPS_TYPE].SetText( GAMEMAN->StepsTypeToLocalizedString(GetSelectedSourceStepsType()) );
m_vpSourceSteps.clear();
m_vpSourceSteps.push_back( StepsAndDifficulty(NULL,DIFFICULTY_INVALID) ); // "blank"
m_vpSourceSteps.push_back( StepsAndDifficulty(NULL,DIFFICULTY_Invalid) ); // "blank"
FOREACH_Difficulty( dc )
{
// fill in m_vpSourceSteps
@@ -534,14 +534,14 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
m_textValue[ROW_SOURCE_STEPS].SetHidden( GetSelectedSteps() ? true : false );
{
RString s;
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
if( GetSelectedSourceDifficulty() == DIFFICULTY_Invalid )
s = BLANK;
else
s = DifficultyToLocalizedString(GetSelectedSourceDifficulty());
m_textValue[ROW_SOURCE_STEPS].SetText( s );
}
bool bHideMeter = false;
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
if( GetSelectedSourceDifficulty() == DIFFICULTY_Invalid )
bHideMeter = true;
else if( GetSelectedSourceSteps() )
m_SourceMeter.SetFromSteps( GetSelectedSourceSteps() );