fixes for BMS loader, along with commented-out items for other Beatmania modes

This commit is contained in:
Matt Denham
2003-10-28 06:36:11 +00:00
parent 755bab92e5
commit 664524a4e9
6 changed files with 220 additions and 20 deletions
+7 -1
View File
@@ -52,6 +52,12 @@ enum
TRACK_11,
TRACK_12,
TRACK_13, // BMS reader needs 13 tracks
// MD 10/26/03 - BMS reader needs a whole lot more than 13 tracks - more like 16
// because we have 11-16, 18, 19, 21-26, 28, 29 for IIDX double (bm-double7)
TRACK_14,
TRACK_15,
TRACK_16,
// MD 10/26/03 end
MAX_NOTE_TRACKS // leave this at the end
};
@@ -88,7 +94,7 @@ struct HoldNote
};
inline int BeatToNoteRow( float fBeatNum ) { return (int) roundf( fBeatNum * ROWS_PER_BEAT); };
inline int BeatToNoteRow( float fBeatNum ) { return int( fBeatNum * ROWS_PER_BEAT + 0.5f); }; // round
inline int BeatToNoteRowNotRounded( float fBeatNum ) { return (int)( fBeatNum * ROWS_PER_BEAT ); };
inline float NoteRowToBeat( float fNoteIndex ) { return fNoteIndex / (float)ROWS_PER_BEAT; };
inline float NoteRowToBeat( int iNoteIndex ) { return NoteRowToBeat( (float)iNoteIndex ); };