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
+1
View File
@@ -126,6 +126,7 @@ public:
* @brief Retrieve the number of songs in the game.
* @return the number of songs. */
int GetNumSongs() const;
int GetNumLockedSongs() const;
int GetNumUnlockedSongs() const;
int GetNumSelectableAndUnlockedSongs() const;
int GetNumAdditionalSongs() const;