[SongManager] Added GetCourseGroupNames Lua binding.
This commit is contained in:
@@ -19,7 +19,9 @@ sm-ssc v1.2.5 | 201104??
|
||||
probably others too. [AJ]
|
||||
* [ScreenGameplaySyncMachine] Fixed a crash when entering
|
||||
ScreenGameplaySyncMachine as Player 2. (Fixes issue 127) [AJ]
|
||||
* [ScreenOptionsEditCourse] Fixed a crash when going to the first row. (Fixes issue 235) [AJ]
|
||||
* [ScreenOptionsEditCourse] Fixed a crash when going to the first row.
|
||||
(Fixes issue 235) [AJ]
|
||||
* [SongManager] Added GetCourseGroupNames Lua binding. [AJ]
|
||||
|
||||
20110422
|
||||
--------
|
||||
|
||||
@@ -1890,6 +1890,14 @@ public:
|
||||
|
||||
DEFINE_METHOD( ShortenGroupName, ShortenGroupName( SArg(1) ) )
|
||||
|
||||
static int GetCourseGroupNames( T* p, lua_State *L )
|
||||
{
|
||||
vector<RString> v;
|
||||
p->GetCourseGroupNames( v );
|
||||
LuaHelpers::CreateTableFromArray<RString>( v, L );
|
||||
return 1;
|
||||
}
|
||||
|
||||
LunaSongManager()
|
||||
{
|
||||
ADD_METHOD( GetAllSongs );
|
||||
@@ -1898,6 +1906,7 @@ public:
|
||||
ADD_METHOD( FindCourse );
|
||||
ADD_METHOD( GetRandomSong );
|
||||
ADD_METHOD( GetRandomCourse );
|
||||
ADD_METHOD( GetCourseGroupNames );
|
||||
ADD_METHOD( GetNumSongs );
|
||||
ADD_METHOD( GetNumUnlockedSongs );
|
||||
ADD_METHOD( GetNumSelectableAndUnlockedSongs );
|
||||
|
||||
Reference in New Issue
Block a user