use Get/SetTapNote
This commit is contained in:
@@ -195,12 +195,12 @@ bool DWILoader::LoadFromDWITokens(
|
|||||||
if( note1 != DANCE_NOTE_NONE )
|
if( note1 != DANCE_NOTE_NONE )
|
||||||
{
|
{
|
||||||
int iCol1 = mapDanceNoteToNoteDataColumn[note1];
|
int iCol1 = mapDanceNoteToNoteDataColumn[note1];
|
||||||
pNoteData->m_TapNotes[iCol1][iIndex] = '2';
|
pNoteData->SetTapNote(iCol1, iIndex, TAP_HOLD_HEAD);
|
||||||
}
|
}
|
||||||
if( note2 != DANCE_NOTE_NONE )
|
if( note2 != DANCE_NOTE_NONE )
|
||||||
{
|
{
|
||||||
int iCol2 = mapDanceNoteToNoteDataColumn[note2];
|
int iCol2 = mapDanceNoteToNoteDataColumn[note2];
|
||||||
pNoteData->m_TapNotes[iCol2][iIndex] = '2';
|
pNoteData->SetTapNote(iCol2, iIndex, TAP_HOLD_HEAD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -214,12 +214,12 @@ bool DWILoader::LoadFromDWITokens(
|
|||||||
if( note1 != DANCE_NOTE_NONE )
|
if( note1 != DANCE_NOTE_NONE )
|
||||||
{
|
{
|
||||||
int iCol1 = mapDanceNoteToNoteDataColumn[note1];
|
int iCol1 = mapDanceNoteToNoteDataColumn[note1];
|
||||||
pNoteData->m_TapNotes[iCol1][iIndex] = '1';
|
pNoteData->SetTapNote(iCol1, iIndex, TAP_TAP);
|
||||||
}
|
}
|
||||||
if( note2 != DANCE_NOTE_NONE )
|
if( note2 != DANCE_NOTE_NONE )
|
||||||
{
|
{
|
||||||
int iCol2 = mapDanceNoteToNoteDataColumn[note2];
|
int iCol2 = mapDanceNoteToNoteDataColumn[note2];
|
||||||
pNoteData->m_TapNotes[iCol2][iIndex] = '1';
|
pNoteData->SetTapNote(iCol2, iIndex, TAP_TAP);
|
||||||
}
|
}
|
||||||
|
|
||||||
fCurrentBeat += fCurrentIncrementer;
|
fCurrentBeat += fCurrentIncrementer;
|
||||||
|
|||||||
@@ -90,7 +90,9 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Notes &out )
|
|||||||
iHoldStartRow[t] = -1;
|
iHoldStartRow[t] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
notedata.m_TapNotes[t][row] = sRowString[t];
|
/* XXXXX: don't do this, translate explicitly, so the TAP_* constants
|
||||||
|
* can be changed */
|
||||||
|
notedata.SetTapNote(t, row, sRowString[t]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1213,7 +1213,7 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t
|
|||||||
if( iRow < 0 )
|
if( iRow < 0 )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
m_NoteFieldRecord.m_TapNotes[iCol][iRow] = '1';
|
m_NoteFieldRecord.SetTapNote(iCol, iRow, TAP_TAP);
|
||||||
m_GrayArrowRowRecord.Step( iCol );
|
m_GrayArrowRowRecord.Step( iCol );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user