remove old comments
This commit is contained in:
@@ -329,11 +329,6 @@ float FindLastDisplayedBeat( PlayerNumber pn, int iLastPixelToDraw )
|
|||||||
float fSearchDistance = 10;
|
float fSearchDistance = 10;
|
||||||
float fLastBeatToDraw = GAMESTATE->m_fSongBeat+fSearchDistance;
|
float fLastBeatToDraw = GAMESTATE->m_fSongBeat+fSearchDistance;
|
||||||
|
|
||||||
/* With a song that starts with a negative offset, fSearchDistance here can put
|
|
||||||
* the result out of range. XXX: 0 does, too; try setting an #OFFSET to -100. */
|
|
||||||
// if( GAMESTATE->m_fSongBeat < 0 )
|
|
||||||
// fLastBeatToDraw = 0; //fSearchDistance;
|
|
||||||
|
|
||||||
const int NUM_ITERATIONS = 20;
|
const int NUM_ITERATIONS = 20;
|
||||||
|
|
||||||
for( int i=0; i<NUM_ITERATIONS; i++ )
|
for( int i=0; i<NUM_ITERATIONS; i++ )
|
||||||
@@ -345,8 +340,6 @@ float FindLastDisplayedBeat( PlayerNumber pn, int iLastPixelToDraw )
|
|||||||
else // on screen
|
else // on screen
|
||||||
fLastBeatToDraw += fSearchDistance;
|
fLastBeatToDraw += fSearchDistance;
|
||||||
|
|
||||||
// float fOffBy = fYPosWOReverse - iLastPixelToDraw;
|
|
||||||
|
|
||||||
fSearchDistance /= 2;
|
fSearchDistance /= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -297,10 +297,6 @@ void PlayerOptions::FromString( CString sOptions )
|
|||||||
m_sNoteSkin = sBit;
|
m_sNoteSkin = sBit;
|
||||||
else if( sBit == "noteskin" && !on ) /* "no noteskin" */
|
else if( sBit == "noteskin" && !on ) /* "no noteskin" */
|
||||||
m_sNoteSkin = "default";
|
m_sNoteSkin = "default";
|
||||||
|
|
||||||
// XXX: this warns about song options
|
|
||||||
//else
|
|
||||||
// LOG->Warn( "Modifier '%s' not recognized.", sBit.c_str() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -631,7 +631,6 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
|
|||||||
if( iCol >= m_NoteFieldEdit.GetNumTracks() ) // this button is not in the range of columns for this StyleDef
|
if( iCol >= m_NoteFieldEdit.GetNumTracks() ) // this button is not in the range of columns for this StyleDef
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* XXX: easier to do with 4s */
|
|
||||||
// check for to see if the user intended to remove a HoldNote
|
// check for to see if the user intended to remove a HoldNote
|
||||||
bool bRemovedAHoldNote = false;
|
bool bRemovedAHoldNote = false;
|
||||||
for( int i=0; i<m_NoteFieldEdit.GetNumHoldNotes(); i++ ) // for each HoldNote
|
for( int i=0; i<m_NoteFieldEdit.GetNumHoldNotes(); i++ ) // for each HoldNote
|
||||||
|
|||||||
@@ -936,9 +936,7 @@ void Song::ReCalculateRadarValuesAndLastBeat()
|
|||||||
// calculate first/last beat
|
// calculate first/last beat
|
||||||
//
|
//
|
||||||
/* Many songs have stray, empty song patterns. Ignore them, so
|
/* Many songs have stray, empty song patterns. Ignore them, so
|
||||||
* they don't force the first beat of the whole song to 0. XXX Should
|
* they don't force the first beat of the whole song to 0. */
|
||||||
* we just delete them, now that new patterns can be created quickly
|
|
||||||
* in the editor? */
|
|
||||||
|
|
||||||
if(tempNoteData.GetLastRow() == 0)
|
if(tempNoteData.GetLastRow() == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user