Unused.
This commit is contained in:
@@ -923,17 +923,6 @@ int Player::GetClosestNote( int col, int iNoteRow, int iMaxRowsAhead, int iMaxRo
|
|||||||
return iNextIndex;
|
return iNextIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Player::GetClosestNoteDistance( int col, int row ) const
|
|
||||||
{
|
|
||||||
const int iStepSearchRows = BeatToNoteRow( StepSearchDistance * GAMESTATE->m_fCurBPS * GAMESTATE->m_SongOptions.m_fMusicRate );
|
|
||||||
int iIndexOverlappingNote = GetClosestNote( col, row, iStepSearchRows, iStepSearchRows, false );
|
|
||||||
|
|
||||||
if( iIndexOverlappingNote <= 0 )
|
|
||||||
return iIndexOverlappingNote;
|
|
||||||
return abs( iIndexOverlappingNote - row );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void Player::Step( int col, const RageTimer &tm, bool bHeld )
|
void Player::Step( int col, const RageTimer &tm, bool bHeld )
|
||||||
{
|
{
|
||||||
bool bOniDead =
|
bool bOniDead =
|
||||||
|
|||||||
@@ -70,9 +70,6 @@ public:
|
|||||||
void SetPaused( bool bPaused ) { m_bPaused = bPaused; }
|
void SetPaused( bool bPaused ) { m_bPaused = bPaused; }
|
||||||
|
|
||||||
float GetMaxStepDistanceSeconds();
|
float GetMaxStepDistanceSeconds();
|
||||||
// Returns -1 if no notes are close, otherwise return the distance to a nongraded note.
|
|
||||||
int GetClosestNoteDistance( int col, int row ) const;
|
|
||||||
|
|
||||||
const NoteData &GetNoteData() const { return m_NoteData; }
|
const NoteData &GetNoteData() const { return m_NoteData; }
|
||||||
bool HasNoteField() { return m_pNoteField != NULL; }
|
bool HasNoteField() { return m_pNoteField != NULL; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user