move Song/Steps sorting into Song/StepsUtil.h/cpp

This commit is contained in:
Chris Danford
2004-04-18 07:34:37 +00:00
parent ad9e710766
commit 1920634135
21 changed files with 119 additions and 480 deletions
+2 -1
View File
@@ -27,6 +27,7 @@
#include "RageTextureManager.h"
#include "AnnouncerManager.h"
#include "MenuTimer.h"
#include "StepsUtil.h"
#define SCROLLING_LIST_X THEME->GetMetricF("ScreenEz2SelectMusic","ScrollingListX")
#define SCROLLING_LIST_Y THEME->GetMetricF("ScreenEz2SelectMusic","ScrollingListY")
@@ -654,7 +655,7 @@ void ScreenEz2SelectMusic::MusicChanged()
for( pn = 0; pn < NUM_PLAYERS; ++pn)
{
pSong->GetSteps( m_arrayNotes[pn], GAMESTATE->GetCurrentStyleDef()->m_StepsType );
SortNotesArrayByDifficulty( m_arrayNotes[pn] );
StepsUtil::SortNotesArrayByDifficulty( m_arrayNotes[pn] );
}
for( pn=0; pn<NUM_PLAYERS; pn++ )