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:
@@ -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
|
||||
----------
|
||||
|
||||
@@ -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'/>
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user