Add Top Grades sort per profile. This allows each player to see their top grades based on the currently used profile.

The present implementation adds 2 new sorts for this, TOP_P1_Grades and TOP_P2_GRADES following the naming convention of TOP_GRADES which returns the machine grades.

I named the sort TopP1Grades rather than TopGradesP1 to prevent the "conflicting" banner error.

Eventually, I'd like to condense this to be 1 sort fed a playernumber or profile parameter in the future.

(cherry picked from commit 731ae501d8a14a196984bf7578afaa9351c22c5c)
This commit is contained in:
Crash Cringle
2024-02-25 09:36:11 -08:00
committed by teejusb
parent ec33a08ca5
commit 24876804ef
9 changed files with 89 additions and 3 deletions
+2
View File
@@ -166,6 +166,8 @@ static const char *SortOrderNames[] = {
"BPM",
"Popularity",
"TopGrades",
"TopP1Grades",
"TopP2Grades",
"Artist",
"Genre",
"BeginnerMeter",