[SongManager] Make autogen courses have "Autogen" as the Scripter.
This commit is contained in:
@@ -14,6 +14,7 @@ StepMania 5.0 Preview 2 | 20110???
|
|||||||
* [ScreenDebugOverlay] Switch the R and T keys to be Volume Down and Up
|
* [ScreenDebugOverlay] Switch the R and T keys to be Volume Down and Up
|
||||||
respectively. I have to admit, it makes more sense to have volume up be
|
respectively. I have to admit, it makes more sense to have volume up be
|
||||||
on the right instead of the left. [Wolfman2000]
|
on the right instead of the left. [Wolfman2000]
|
||||||
|
* [SongManager] Make autogen courses have "Autogen" as the Scripter. [AJ]
|
||||||
|
|
||||||
2011/06/01
|
2011/06/01
|
||||||
----------
|
----------
|
||||||
|
|||||||
+4
-2
@@ -776,9 +776,7 @@ void SongManager::InitCoursesFromDisk( LoadingWindow *ld )
|
|||||||
|
|
||||||
void SongManager::InitAutogenCourses()
|
void SongManager::InitAutogenCourses()
|
||||||
{
|
{
|
||||||
//
|
|
||||||
// Create group courses for Endless and Nonstop
|
// Create group courses for Endless and Nonstop
|
||||||
//
|
|
||||||
vector<RString> saGroupNames;
|
vector<RString> saGroupNames;
|
||||||
this->GetSongGroupNames( saGroupNames );
|
this->GetSongGroupNames( saGroupNames );
|
||||||
Course* pCourse;
|
Course* pCourse;
|
||||||
@@ -789,10 +787,12 @@ void SongManager::InitAutogenCourses()
|
|||||||
// Generate random courses from each group.
|
// Generate random courses from each group.
|
||||||
pCourse = new Course;
|
pCourse = new Course;
|
||||||
CourseUtil::AutogenEndlessFromGroup( sGroupName, Difficulty_Medium, *pCourse );
|
CourseUtil::AutogenEndlessFromGroup( sGroupName, Difficulty_Medium, *pCourse );
|
||||||
|
pCourse->m_sScripter = "Autogen";
|
||||||
m_pCourses.push_back( pCourse );
|
m_pCourses.push_back( pCourse );
|
||||||
|
|
||||||
pCourse = new Course;
|
pCourse = new Course;
|
||||||
CourseUtil::AutogenNonstopFromGroup( sGroupName, Difficulty_Medium, *pCourse );
|
CourseUtil::AutogenNonstopFromGroup( sGroupName, Difficulty_Medium, *pCourse );
|
||||||
|
pCourse->m_sScripter = "Autogen";
|
||||||
m_pCourses.push_back( pCourse );
|
m_pCourses.push_back( pCourse );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -801,6 +801,7 @@ void SongManager::InitAutogenCourses()
|
|||||||
// Generate "All Songs" endless course.
|
// Generate "All Songs" endless course.
|
||||||
pCourse = new Course;
|
pCourse = new Course;
|
||||||
CourseUtil::AutogenEndlessFromGroup( "", Difficulty_Medium, *pCourse );
|
CourseUtil::AutogenEndlessFromGroup( "", Difficulty_Medium, *pCourse );
|
||||||
|
pCourse->m_sScripter = "Autogen";
|
||||||
m_pCourses.push_back( pCourse );
|
m_pCourses.push_back( pCourse );
|
||||||
|
|
||||||
/* Generate Oni courses from artists. Only create courses if we have at least
|
/* Generate Oni courses from artists. Only create courses if we have at least
|
||||||
@@ -836,6 +837,7 @@ void SongManager::InitAutogenCourses()
|
|||||||
{
|
{
|
||||||
pCourse = new Course;
|
pCourse = new Course;
|
||||||
CourseUtil::AutogenOniFromArtist( sCurArtist, sCurArtistTranslit, aSongs, Difficulty_Hard, *pCourse );
|
CourseUtil::AutogenOniFromArtist( sCurArtist, sCurArtistTranslit, aSongs, Difficulty_Hard, *pCourse );
|
||||||
|
pCourse->m_sScripter = "Autogen";
|
||||||
m_pCourses.push_back( pCourse );
|
m_pCourses.push_back( pCourse );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user