Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.

This commit is contained in:
Kyzentun
2015-02-28 06:25:02 -07:00
parent d35933f1e5
commit b293a8c073
38 changed files with 165 additions and 131 deletions
+4 -4
View File
@@ -316,7 +316,7 @@ void EditMenu::Up()
} while (!RowIsSelectable(dest));
ASSERT( dest >= 0 );
ChangeToRow( dest );
m_soundChangeRow.Play();
m_soundChangeRow.Play(true);
}
void EditMenu::Down()
@@ -328,7 +328,7 @@ void EditMenu::Down()
} while (!RowIsSelectable(dest));
ASSERT( dest < NUM_EditMenuRow );
ChangeToRow( dest );
m_soundChangeRow.Play();
m_soundChangeRow.Play(true);
}
void EditMenu::Left()
@@ -338,7 +338,7 @@ void EditMenu::Left()
m_iSelection[m_SelectedRow]--;
wrap( m_iSelection[m_SelectedRow], GetRowSize(m_SelectedRow) );
OnRowValueChanged( m_SelectedRow );
m_soundChangeValue.Play();
m_soundChangeValue.Play(true);
}
}
@@ -349,7 +349,7 @@ void EditMenu::Right()
m_iSelection[m_SelectedRow]++;
wrap( m_iSelection[m_SelectedRow], GetRowSize(m_SelectedRow) );
OnRowValueChanged( m_SelectedRow );
m_soundChangeValue.Play();
m_soundChangeValue.Play(true);
}
}