[splittiming] Add sounds to recent actions.

This commit is contained in:
Jason Felds
2011-05-13 08:50:59 -04:00
parent 1c4b21b181
commit f694fe5955
4 changed files with 14 additions and 0 deletions
@@ -0,0 +1 @@
MusicWheel sort
@@ -0,0 +1 @@
MusicWheel sort
+4
View File
@@ -837,6 +837,8 @@ void ScreenEdit::Init()
m_soundMarker.Load( THEME->GetPathS("ScreenEdit","marker"), true );
m_soundValueIncrease.Load( THEME->GetPathS("ScreenEdit","value increase"), true );
m_soundValueDecrease.Load( THEME->GetPathS("ScreenEdit","value decrease"), true );
m_soundSwitchPlayer.Load( THEME->GetPathS("ScreenEdit","switch player"), true );
m_soundSwitchTiming.Load( THEME->GetPathS("ScreenEdit","switch timing"), true );
m_soundSwitchSteps.Load( THEME->GetPathS("ScreenEdit","switch steps") );
m_soundSave.Load( THEME->GetPathS("ScreenEdit","save") );
m_GameplayAssist.Init();
@@ -2124,11 +2126,13 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
enum_add( m_InputPlayerNumber, 1 );
if( m_InputPlayerNumber == NUM_PLAYERS )
m_InputPlayerNumber = PLAYER_1;
m_soundSwitchPlayer.Play();
}
break;
case EDIT_BUTTON_SWITCH_TIMINGS:
GAMESTATE->m_bIsEditorStepTiming = !GAMESTATE->m_bIsEditorStepTiming;
m_soundSwitchTiming.Play();
break;
}
}
+8
View File
@@ -281,14 +281,22 @@ protected:
/** @brief Has the NoteData been changed such that a user should be prompted to save? */
bool m_bDirty;
/** @brief The sound that is played when a note is added. */
RageSound m_soundAddNote;
/** @brief The sound that is played when a note is removed. */
RageSound m_soundRemoveNote;
RageSound m_soundChangeLine;
RageSound m_soundChangeSnap;
RageSound m_soundMarker;
RageSound m_soundValueIncrease;
RageSound m_soundValueDecrease;
/** @brief The sound that is played when switching players for Routine. */
RageSound m_soundSwitchPlayer;
/** @brief The sound that is played when switching song/step timing. */
RageSound m_soundSwitchTiming;
/** @brief The sound that is played when switching to a different chart. */
RageSound m_soundSwitchSteps;
/** @brief The sound that is played when the chart is saved. */
RageSound m_soundSave;
// used for reverting