Add a new sort type (SORT_GROUP_NOHEADER) which is the default and is like all music but doesn't display section headers.

Make it the default for more arcade-like behavior.
This commit is contained in:
Chris Gomez
2003-02-03 04:50:37 +00:00
parent 81c04f883a
commit f34705a495
4 changed files with 22 additions and 8 deletions
+5 -2
View File
@@ -5,8 +5,9 @@
Desc: See Header.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
Chris Danford
Chris Gomez
-----------------------------------------------------------------------------
*/
@@ -61,7 +62,9 @@ void GameState::Reset()
m_sPreferredGroup = "";
for( p=0; p<NUM_PLAYERS; p++ )
m_PreferredDifficulty[p] = DIFFICULTY_INVALID;
m_SongSortOrder = SORT_GROUP;
if(PREFSMAN != NULL) // Reset() is called once before PREFSMAN is initialized, but is called again
// at least once before m_SongSortOrder is ever used
m_SongSortOrder = (PREFSMAN->m_bMusicWheelUsesSections ? SORT_GROUP_NOHEADER : SORT_GROUP);
m_PlayMode = PLAY_MODE_INVALID;
m_bEditing = false;
m_bDemonstration = false;