[sm130labels] Force starting label, display all.

Now to fix the keyboard command...
This commit is contained in:
Jason Felds
2011-04-05 01:04:19 -04:00
parent a6b5187856
commit 9e6ea7b3a6
2 changed files with 22 additions and 7 deletions
+13
View File
@@ -862,6 +862,19 @@ void NoteField::DrawPrimitives()
DrawComboText( fBeat, tComboSegments[i].m_iCombo );
}
}
// Label text
const vector<LabelSegment> &lLabelSegments = GAMESTATE->m_pCurSong->m_Timing.m_LabelSegments;
for( unsigned i=0; i<lLabelSegments.size(); i++ )
{
if( lLabelSegments[i].m_iStartRow >= iFirstRowToDraw &&
lLabelSegments[i].m_iStartRow <= iLastRowToDraw)
{
float fBeat = NoteRowToBeat(lLabelSegments[i].m_iStartRow);
if( IS_ON_SCREEN(fBeat) )
DrawLabelText( fBeat, lLabelSegments[i].m_sLabel );
}
}
// Course mods text
const Course *pCourse = GAMESTATE->m_pCurCourse;