Round 2...FIGHT!
This commit is contained in:
+6
-1
@@ -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:
|
||||
{
|
||||
|
||||
@@ -582,6 +582,7 @@ private:
|
||||
TimingData & GetAppropriateTiming() const;
|
||||
void SetBeat(float fBeat);
|
||||
float GetBeat();
|
||||
int GetRow();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user