new profile/course screen polish

This commit is contained in:
Chris Danford
2005-08-05 10:07:49 +00:00
parent c885a38d9f
commit 1a9b738d8b
7 changed files with 90 additions and 19 deletions
+5
View File
@@ -20,6 +20,9 @@ struct lua_State;
#include "ThemeMetric.h"
#include "RageTexturePreloader.h"
const int MAX_EDIT_STEPS_PER_PROFILE = 200;
const int MAX_EDIT_COURSES_PER_PROFILE = 20;
class SongManager
{
public:
@@ -48,6 +51,7 @@ public:
void AddCourse( Course *pCourse ); // transfers ownership of pCourse
void DeleteCourse( Course *pCourse ); // transfers ownership of pCourse
void InitAll( LoadingWindow *ld ); // songs, courses, groups - everything.
void Reload( LoadingWindow *ld=NULL ); // songs, courses, groups - everything.
void PreloadSongImages();
@@ -83,6 +87,7 @@ public:
int GetNumSongGroups() const;
int GetNumCourses() const;
int GetNumCourseGroups() const;
int GetNumEditCourses( ProfileSlot slot ) const;
Song* GetRandomSong();
Course* GetRandomCourse();