fix typo, add more global functions

This commit is contained in:
AJ Kelly
2007-12-01 02:33:53 +00:00
parent f18719812a
commit 07a5e1b456
+16 -1
View File
@@ -38,8 +38,14 @@
<Function name='FormatPercentScore' return='string' arguments='float fPercentDancePoints'>
Returns <code>fPercentDancePoints</code> formatted as a percentage.
</Function>
<Function name='GetGradeFromPercent' return='Grade' arguments='float fPercent, bool bMerciful'>
Returns a corresponding <Link class='ENUM' function='Grade' /> for the given percentage.
</Function>
<Function name='GetLifeDifficulty' return='int' arguments=''>
Returns the current Life Difficulty.
</Function>
<Function name='GetThemeAspectRatio' return='float' arguments=''>
Return's the theme's aspect ratio.
Returns the theme's aspect ratio.
</Function>
<Function name='Hour' return='int' arguments=''>
Returns the current hour.
@@ -47,6 +53,12 @@
<Function name='IsEventMode' return='bool' arguments=''>
Returns <code>true</code> if Event Mode is turned on.
</Function>
<Function name='IsNetConnected' return='bool' arguments=''>
Returns <code>true</code> if connected to the Internet.
</Function>
<Function name='IsNetSMOnline' return='bool' arguments=''>
Returns <code>true</code> if connected to StepMania Online.
</Function>
<Function name='LoadActor' return='ActorDef' arguments='string sPath, ...'>
Returns an Actor definition for the actor at <code>sPath</code>. If <code>sPath</code> points to a Lua file, any additional arguments will be passed to that script.
</Function>
@@ -68,6 +80,9 @@
<Function name='Warn' return='void' arguments='string sString'>
Alias for <Link function='lua.Warn' />.
</Function>
<Function name='Year' return='int' arguments=''>
Returns the current year.
</Function>
<Function name='lua.Trace' return='void' arguments='string sString'>
Writes <code>sString</code> to log.txt. Aliased by <Link function='Trace' />.
</Function>