SetGame lua docs

This commit is contained in:
sigatrev
2014-07-12 10:32:48 -05:00
parent 08f3864191
commit bc1cb0c0ae
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -723,6 +723,8 @@
<Function name='GetFirstStepsTypeForGame'/>
<Function name='IsGameEnabled'/>
<Function name='StepsTypeToLocalizedString'/>
<Function name='SetGame'/>
<Function name='GetEnabledGames'/>
</Class>
<Class name='GameSoundManager'>
<Function name='DimMusic'/>
+6
View File
@@ -2173,6 +2173,12 @@ save yourself some time, copy this for undocumented things:
<Function name='StepsTypeToLocalizedString' return='string' arguments='StepsType st'>
Return the localized string representation of <code>st</code>.
</Function>
<Function name='GetEnabledGames' return='{string}'>
Returns a table of all selectable games.
</Function>
<Function name='SetGame' return='void' arguments='string Game, string Theme' >
Sets the current game to <code>Game</code>. The second argument is optional, and if provided will determine which theme is loaded when the game changes. If Stepmania was run with a commandline argument setting the theme, that will override the second argument of this function.
</Function>
</Class>
<Class name='GameSoundManager'>
<Function name='DimMusic' return='void' arguments='float fVolume, float fDuration'>