Add MusicList (move column display out of ScreenSelectGroup). Doesn't

have a group limit (but ScreenSelectGroup still does)
This commit is contained in:
Glenn Maynard
2002-08-24 06:30:32 +00:00
parent 4e4be34e61
commit 1d2e3faefd
6 changed files with 175 additions and 96 deletions
+2 -5
View File
@@ -16,10 +16,10 @@
#include "Quad.h"
#include "MenuElements.h"
#include "FadingBanner.h"
#include "MusicList.h"
const int MAX_GROUPS = 15;
const int MAX_COLUMNS = 5;
class ScreenSelectGroup : public Screen
{
@@ -55,10 +55,7 @@ private:
Sprite m_sprButton[MAX_GROUPS];
BitmapText m_textLabel[MAX_GROUPS];
Sprite m_sprContents;
BitmapText m_textTitles[MAX_COLUMNS];
CString m_sContentsText[MAX_GROUPS][MAX_COLUMNS];
int m_iNumSongsInGroup[MAX_GROUPS];
MusicList m_MusicList;
RandomSample m_soundChange;
RandomSample m_soundSelect;