store course group names

show courses on wheel with a group color
This commit is contained in:
Chris Danford
2005-06-03 01:57:10 +00:00
parent 6cdd8afefd
commit 91d375d31a
9 changed files with 374 additions and 322 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ bool Song::LoadFromSongDir( CString sDir )
// save group name
CStringArray sDirectoryParts;
split( m_sSongDir, "/", sDirectoryParts, false );
ASSERT( sDirectoryParts.size() >= 4 ); /* Songs/Slow/Taps/ */
ASSERT( sDirectoryParts.size() >= 4 ); /* e.g. "/Songs/Slow/Taps/" */
m_sGroupName = sDirectoryParts[sDirectoryParts.size()-3]; // second from last item
ASSERT( m_sGroupName != "" );