Clean up some sorts; use multiple stable_sorts for multi-level
sorts, instead of hardcoding the order in the compare functions. Don't consider challenge > hard for extra stages.
This commit is contained in:
@@ -91,6 +91,8 @@ protected:
|
||||
void DeAutogen();
|
||||
};
|
||||
|
||||
bool CompareNotesPointersByRadarValues(const Notes* pNotes1, const Notes* pNotes2);
|
||||
bool CompareNotesPointersByMeter(const Notes *pNotes1, const Notes* pNotes2);
|
||||
bool CompareNotesPointersByDifficulty(const Notes *pNotes1, const Notes *pNotes2);
|
||||
void SortNotesArrayByDifficulty( vector<Notes*> &arrayNotess );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user