New lua function CHARMAN:GetCharacterCount.

How the Characters mod won't display by default if
there are no characters to play with at all.
This commit is contained in:
Jason Felds
2011-07-05 19:10:07 -04:00
parent d3c8abed4a
commit e281ca418b
5 changed files with 32 additions and 10 deletions
+3
View File
@@ -14,6 +14,9 @@ StepMania 5.0 ????????? | 20110???
Saving should still work, but this was never tested yet. [Wolfman2000]
* [ScreenOptions] Mini is now ITG Mini, and Tiny is now Pump Pro Mini.
This will prevent many prior courses from breaking. [sharksoda, Wolfman2000]
* [CharacterManager] Add a lua function to check how many characters you have.
For an example of how this is used, check the default theme's scripts
folder, specifically 03 ThemePrefs.lua. [Wolfman2000]
2011/07/04
----------
+1
View File
@@ -580,6 +580,7 @@
<Function name='GetAllCharacters'/>
<Function name='GetCharacter'/>
<Function name='GetRandomCharacter'/>
<Function name='GetCharacterCount'/>
</Class>
<Class base='ActorFrame' name='ComboGraph'>
<Function name='Load'/>
+3
View File
@@ -1540,6 +1540,9 @@
<Function name='GetRandomCharacter' return='Character' arguments=''>
Returns a random character.
</Function>
<Function name='GetCharacterCount' return='int' arguments=''>
Returns the number of characters available.
</Function>
</Class>
<Class name='ComboGraph'>
<Function name='Load' return='void' arguments='string sMetricsGroup'>