Skip to content

Commit

Permalink
MSD sort orders (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored and MinaciousGrace committed Nov 17, 2017
1 parent 26559ef commit e53de21
Show file tree
Hide file tree
Showing 19 changed files with 279 additions and 181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ local sortTable = {
SortOrder_ModeMenu = 'Mode Menu',
SortOrder_Length = 'Song Length',
SortOrder_Recent = 'Recently Played',
SortOrder_Favorites = 'Favorites'
SortOrder_Favorites = 'Favorites',
SortOrder_Overall = 'Overall',
SortOrder_Stream = 'Stream',
SortOrder_Jumpstream = 'Jumpstream',
SortOrder_Handstream = 'Handstream',
SortOrder_Stamina = 'Stamina',
SortOrder_JackSpeed = 'JackSpeed',
SortOrder_Chordjack = 'Chordjack',
SortOrder_Technical = 'Technical'
}

t[#t+1] = Def.Quad{
Expand Down
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Chordjack.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Favorites.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Handstream.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner JackSpeed.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Jumpstream.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Overall.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Stamina.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Stream.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
1 change: 1 addition & 0 deletions Themes/_fallback/Graphics/Banner Technical.redir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common fallback banner
8 changes: 8 additions & 0 deletions Themes/_fallback/Languages/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,14 @@ PreferredText=Preferred
TitleText=Title
RecentText=Recent
FavoritesText=Favorites
OverallText=Overall
StreamText=Stream
JumpstreamText=Jumpstream
HandstreamText=Handstream
StaminaText=Stamina
JackSpeedText=JackSpeed
ChordjackText=Chordjack
TechnicalText=Technical
TopGradesText=Top Grades
[NetworkSyncManager]
Expand Down
10 changes: 9 additions & 1 deletion Themes/_fallback/metrics.ini
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ RecentSongsToShow=30

UseEasyMarkerFlag=false

ModeMenuChoiceNames="Preferred,Group,Title,Bpm,Popularity,TopGrades,Artist,Genre,Recent,Favorites"
ModeMenuChoiceNames="Preferred,Group,Title,Bpm,Popularity,TopGrades,Artist,Genre,Recent,Favorites,Overall,Stream,Jumpstream,Handstream,Stamina,JackSpeed,Chordjack,Technical"
ChoicePreferred="sort,Preferred"
ChoiceGroup="sort,Group"
ChoiceTitle="sort,Title"
Expand All @@ -910,6 +910,14 @@ ChoiceArtist="sort,Artist"
ChoiceGenre="sort,Genre"
ChoiceRecent="sort,Recent"
ChoiceFavorites="sort,Favorites"
ChoiceOverall="sort,Overall"
ChoiceStream="sort,Stream"
ChoiceJumpstream="sort,Jumpstream"
ChoiceHandstream="sort,Handstream"
ChoiceStamina="sort,Stamina"
ChoiceJackSpeed="sort,JackSpeed"
ChoiceChordjack="sort,Chordjack"
ChoiceTechnical="sort,Technical"

CustomWheelItemNames=""

Expand Down
8 changes: 8 additions & 0 deletions src/GameConstantsAndTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ static const char *SortOrderNames[] = {
"ModeMenu",
"Recent",
"Favorites",
"Overall",
"Stream",
"Jumpstream",
"Handstream",
"Stamina",
"JackSpeed",
"Chordjack",
"Technical"
};
XToString( SortOrder );
StringToX( SortOrder );
Expand Down
8 changes: 8 additions & 0 deletions src/GameConstantsAndTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ enum SortOrder
SORT_MODE_MENU, /**< Have access to the menu for choosing the sort. */
SORT_RECENT,
SORT_FAVORITES,
SORT_Overall,
SORT_Stream,
SORT_Jumpstream,
SORT_Handstream,
SORT_Stamina,
SORT_JackSpeed,
SORT_Chordjack,
SORT_Technical,
NUM_SortOrder,
SortOrder_Invalid
};
Expand Down
Loading

0 comments on commit e53de21

Please sign in to comment.