Only slide duplicate difficulties when loading BMS files; in other cases,

just move the duplicates to EDIT.  This should fix the common glitch
of users with eg. two beginner steps for a song having all difficulties
bumped up; instead, just move the extra step to an edit.
This commit is contained in:
Glenn Maynard
2004-04-17 01:47:55 +00:00
parent 85688f9afc
commit e9070532fa
4 changed files with 82 additions and 30 deletions
+4 -1
View File
@@ -5,13 +5,16 @@
#include "Steps.h"
#include "NotesLoader.h"
class BMSLoader: public NotesLoader {
class BMSLoader: public NotesLoader
{
bool LoadFromBMSFile( const CString &sPath, Steps &out1 );
void mapBMSTrackToDanceNote( int iBMSTrack, int &iDanceColOut, char &cNoteCharOut );
void PushTrackNumForMagic( int iTrackNum );
StepsType CheckTracksMagic( void );
void ResetTracksMagic( void );
void SlideDuplicateDifficulties( Song &p );
public:
void GetApplicableFiles( CString sPath, CStringArray &out );
bool LoadFromDir( CString sDir, Song &out );