Added GetNumLockedSongs() Lua binding.

This gets the number of songs that are locked for any reason.

I wonder why the unlocked songs functions say that songs locked
by unlock entries are counted there, but fair enough.
This commit is contained in:
Jason Felds
2011-09-16 21:52:27 -04:00
parent 61a69fe457
commit 10f0fa54f2
5 changed files with 23 additions and 0 deletions
+4
View File
@@ -8,6 +8,10 @@ ________________________________________________________________________________
StepMania 5.0 $next | 2011????
--------------------------------------------------------------------------------
2011/09/16
----------
* [UnlockManager] Added GetNumLockedSongs() Lua binding. [Wolfman2000]
2011/09/12
----------
* [NotesLoaderSSC/WriterSSC] Allow all timing tags regardless of what timing
+1
View File
@@ -1330,6 +1330,7 @@
<Function name='GetNumAdditionalSongs'/>
<Function name='GetNumCourseGroups'/>
<Function name='GetNumCourses'/>
<Function name='GetNumLockedSongs'/>
<Function name='GetNumSelectableAndUnlockedSongs'/>
<Function name='GetNumSongGroups'/>
<Function name='GetNumSongs'/>
+3
View File
@@ -3513,6 +3513,9 @@
<Function name='GetNumSongs' return='int' arguments=''>
Returns the number of songs.
</Function>
<Function name='GetNumLockedSongs' return='int' arguments=''>
Returns the number of locked songs, regardless of reason for locking.
</Function>
<Function name='GetNumUnlockedSongs' return='int' arguments=''>
Returns the number of unlocked songs.
</Function>