Round 2...FIGHT!

This commit is contained in:
Jason Felds
2011-05-27 13:30:12 -04:00
parent 8782ac01bc
commit 34d4fee067
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -3213,6 +3213,11 @@ inline float ScreenEdit::GetBeat()
return GAMESTATE->m_pPlayerState[PLAYER_1]->m_Position.m_fSongBeat;
}
inline int ScreenEdit::GetRow()
{
return BeatToNoteRow(GetBeat());
}
void ScreenEdit::DisplayTimingMenu()
{
float fBeat = GetBeat();
@@ -3733,7 +3738,7 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, const vector<int> &iAns
GetAppropriateTiming().InsertRows( BeatToNoteRow( GetBeat() ), BeatToNoteRow(1) );
break;
case shift_pauses_backward:
GetAppropriateTiming().DeleteRows( BeatToNoteRow( GetBeat() + 1 ), BeatToNoteRow(1) );
GetAppropriateTiming().DeleteRows( GetRow() + 1, BeatToNoteRow(1) );
break;
case convert_to_pause:
{
+1
View File
@@ -582,6 +582,7 @@ private:
TimingData & GetAppropriateTiming() const;
void SetBeat(float fBeat);
float GetBeat();
int GetRow();
};