group "play"
This commit is contained in:
@@ -2619,6 +2619,24 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
|
|||||||
else
|
else
|
||||||
HandleMainMenuChoice( play_current_beat_to_end );
|
HandleMainMenuChoice( play_current_beat_to_end );
|
||||||
|
|
||||||
|
break;
|
||||||
|
case play_whole_song:
|
||||||
|
{
|
||||||
|
m_iStartPlayingAt = 0;
|
||||||
|
m_iStopPlayingAt = m_NoteDataEdit.GetLastRow();
|
||||||
|
m_iStopPlayingAt += BeatToNoteRow(4); // give a one measure lead out
|
||||||
|
|
||||||
|
TransitionEditState( STATE_PLAYING );
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case play_current_beat_to_end:
|
||||||
|
{
|
||||||
|
m_iStartPlayingAt = BeatToNoteRow(GAMESTATE->m_fSongBeat);
|
||||||
|
m_iStopPlayingAt = m_NoteDataEdit.GetLastRow();
|
||||||
|
m_iStopPlayingAt += BeatToNoteRow(4); // give a one measure lead out
|
||||||
|
|
||||||
|
TransitionEditState( STATE_PLAYING );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case set_selection_start:
|
case set_selection_start:
|
||||||
{
|
{
|
||||||
@@ -2679,24 +2697,6 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
|
|||||||
EditMiniMenu( &g_StepsInformation, SM_BackFromStepsInformation, SM_None );
|
EditMiniMenu( &g_StepsInformation, SM_BackFromStepsInformation, SM_None );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case play_whole_song:
|
|
||||||
{
|
|
||||||
m_iStartPlayingAt = 0;
|
|
||||||
m_iStopPlayingAt = m_NoteDataEdit.GetLastRow();
|
|
||||||
m_iStopPlayingAt += BeatToNoteRow(4); // give a one measure lead out
|
|
||||||
|
|
||||||
TransitionEditState( STATE_PLAYING );
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case play_current_beat_to_end:
|
|
||||||
{
|
|
||||||
m_iStartPlayingAt = BeatToNoteRow(GAMESTATE->m_fSongBeat);
|
|
||||||
m_iStopPlayingAt = m_NoteDataEdit.GetLastRow();
|
|
||||||
m_iStopPlayingAt += BeatToNoteRow(4); // give a one measure lead out
|
|
||||||
|
|
||||||
TransitionEditState( STATE_PLAYING );
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case save:
|
case save:
|
||||||
case save_on_exit:
|
case save_on_exit:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user