update lua documentation

This commit is contained in:
AJ Kelly
2012-07-09 19:25:57 -05:00
parent 105c1b74d6
commit 26890e5612
4 changed files with 7206 additions and 7186 deletions
+4 -1
View File
@@ -1135,6 +1135,8 @@
<Function name='GetRadarActual'/>
<Function name='GetRadarPossible'/>
<Function name='GetScore'/>
<Function name='GetSongsPassed'/>
<Function name='GetSongsPlayed'/>
<Function name='GetStageAward'/>
<Function name='GetSurvivalSeconds'/>
<Function name='GetTapNoteScores'/>
@@ -1217,6 +1219,7 @@
<Function name='GetLocalProfileIndexFromID'/>
<Function name='GetMachineProfile'/>
<Function name='GetNumLocalProfiles'/>
<Function name='GetPlayerName'/>
<Function name='GetProfile'/>
<Function name='GetProfileDir'/>
<Function name='IsPersistentProfile'/>
@@ -2352,5 +2355,5 @@
<Constant name='top' value='&apos;VertAlign_Top&apos;'/>
</Constants>
<Version>StepMania v5.0 alpha 2</Version>
<Date>2012-06-08</Date>
<Date>2012-07-09</Date>
</Lua>
+1
View File
@@ -90,6 +90,7 @@
<!-- HTML elements we want to let through. -->
<xs:element name="code" />
<xs:element name="br" />
<xs:element name="del" />
</xs:choice>
</xs:sequence>
</xs:group>
+7
View File
@@ -671,5 +671,12 @@
</code>
</xsl:template>
<xsl:template match="sm:br"><br /></xsl:template>
<xsl:template match="sm:del">
<del>
<xsl:apply-templates>
<xsl:with-param name="curclass" select="$curclass" />
</xsl:apply-templates>
</del>
</xsl:template>
</xsl:stylesheet>
<!-- vim: set tw=0: -->
+12 -3
View File
@@ -1271,7 +1271,7 @@ save yourself some time, copy this for undocumented things:
<Function name='thump' theme='_fallback' return='void' arguments='float fEffectPeriod'>
[02 Actor.lua] A customized version of pulse that is more appealing for on-beat effects.
</Function>
<Function name='xy' theme='_fallback' return='void' arguments='float actorX, float actorY'>
<Function name='xy' return='void' arguments='float actorX, float actorY'>
Sets the x and y location of the Actor in one command.
</Function>
</Class>
@@ -2410,8 +2410,8 @@ save yourself some time, copy this for undocumented things:
<Function name='SetFromRadarValues' return='void' arguments='PlayerNumber pn, RadarValues rv'>
Sets the GrooveRadar values for Player <code>pn</code> from RadarValues <code>rv</code>
</Function>
<Function name='SetFromValues' return='void' arguments='PlayerNumber pn, {float vals}'>
Sets the GrooveRadar values for Player <code>pn</code> to the specified values in the table.
<Function name='SetFromValues' return='void' arguments='PlayerNumber pn, table vals'>
Sets the GrooveRadar values for Player <code>pn</code> to the specified (floating point) values in the table.
</Function>
</Class>
<Class name='HelpDisplay'>
@@ -3269,6 +3269,12 @@ save yourself some time, copy this for undocumented things:
<Function name='GetScore' return='int' arguments=''>
Returns the score.
</Function>
<Function name='GetSongsPassed' return='int' arguments=''>
Returns the number of songs passed.
</Function>
<Function name='GetSongsPlayed' return='int' arguments=''>
Returns the number of songs played.
</Function>
<Function name='GetStageAward' return='StageAward' arguments=''>
Returns the stage award for this performance.
</Function>
@@ -3494,6 +3500,9 @@ save yourself some time, copy this for undocumented things:
<Function name='GetNumLocalProfiles' return='int' arguments=''>
Retuns the amount of local profiles.
</Function>
<Function name='GetPlayerName' return='string' arguments='PlayerNumber pn'>
Returns the player name for player <code>pn</code>.
</Function>
<Function name='GetProfile' return='Profile' arguments='PlayerNumber pn'>
Returns the profile for player <code>pn</code>.
</Function>