From 954a5d50725dafaac9015b39f254dcdac8c4a679 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 6 Oct 2011 12:39:32 -0500 Subject: [PATCH] update lua docs --- Docs/Luadoc/Lua.xml | 35 +++++++++--- Docs/Luadoc/LuaDocumentation.xml | 93 ++++++++++++++++++++++---------- 2 files changed, 93 insertions(+), 35 deletions(-) diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml index 79b0ddb7f9..2956478b72 100644 --- a/Docs/Luadoc/Lua.xml +++ b/Docs/Luadoc/Lua.xml @@ -119,6 +119,7 @@ + @@ -202,6 +203,7 @@ + @@ -216,7 +218,6 @@ - @@ -663,10 +664,15 @@ + + + + + @@ -698,9 +704,13 @@ + + + + @@ -720,6 +730,7 @@ + @@ -855,9 +866,12 @@ + + + @@ -871,6 +885,7 @@ + @@ -1572,10 +1587,10 @@ + - @@ -1585,6 +1600,10 @@ + + + + @@ -2177,16 +2196,16 @@ - + - + - + - + @@ -2198,6 +2217,6 @@ - StepMania v5.0 Preview 3 - 2011-08-27 + StepMania v5.0 Preview 4 + 2011-10-06 diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml index ba09931dfd..16edaced56 100644 --- a/Docs/Luadoc/LuaDocumentation.xml +++ b/Docs/Luadoc/LuaDocumentation.xml @@ -1580,7 +1580,7 @@ Gets the CourseEntry at iIndex from the Course. - Returns the Course's . (Returns CourseType in sm-ssc; integer in SM4) + Returns the Course's . (Returns CourseType in SM5; integer in SM4) Returns the description for this Course. @@ -1598,7 +1598,7 @@ Returns the Course's group name. - Returns the Course's . (Returns PlayMode in sm-ssc; integer in SM4) + Returns the Course's . (Returns PlayMode in SM5; integer in SM4) Returns the name of the person who scripted the Course. @@ -1807,6 +1807,15 @@ + + Adds another stage to the specifed player. + + + Applies the specified modifiers for the specified player's preferred modifier set. + + + Applies the specified modifiers for the specified player for the current stage. + Returns true if any player has performed a feat worthy of ranking. @@ -1817,6 +1826,9 @@ Removes any stage modifiers that are illegal for course play. + + Returns true if pn's options will disqualify them for ranking. + Returns true if enough credits have been inserted to join. @@ -1884,6 +1896,9 @@ Return a string representation of the default song options. + + Returns the value. + Return the easiest of the currently selected steps by all players. For example, if player 1 has @@ -1976,22 +1991,22 @@ Returns the smallest number of stages left for any human player. - [01 compat.lua] Returns the current beat of the song. + [01 alias.lua] Returns the current beat of the song. - [01 compat.lua] Returns the current beat of the song without an offset. + [01 alias.lua] Returns the current beat of the song without an offset. Returns the current visible beat of the song. - [01 compat.lua] Returns the song's current beats per second. + [01 alias.lua] Returns the song's current beats per second. - [01 compat.lua] Returns true if a delay is active in the song. + [01 alias.lua] Returns true if a delay is active in the song. - [01 compat.lua] Returns true if the song is currently in a freeze. + [01 alias.lua] Returns true if the song is currently in a freeze. Returns the song options for the specified ModsLevel as a string. @@ -2268,6 +2283,9 @@ + + Stops the MenuTimer by setting it to 99.99 and pausing. + Returns the current MenuTimer's value. @@ -2275,11 +2293,17 @@ Pauses the MenuTimer, stopping it from counting down. + Compatibility alias for SetSeconds. + + Sets the MenuTimer's value to fSeconds. Sets the MenuTimer's silent setting to bSilent. + + Starts up the timer. + Sets the MenuTimer's stealth setting to bStealth. If true, the timer will be invisible and silent. @@ -2301,6 +2325,9 @@ + + Returns the model's default animation. + Controls if the model should loop or not. @@ -2740,20 +2767,6 @@ Returns the number of judgments for a specified TapNoteScore. - Returns the max combo for this performance. @@ -3316,9 +3329,15 @@ Returns the path to the song's banner. + + Returns the path to the song's CD image. + Gets the path to the CDTitle. + + Returns the path to the song's disc image (different from CD, think Pump). + Returns the displayed artist of the song. @@ -3346,6 +3365,9 @@ Returns the group name that the song is in. + + Returns the path to the song's jacket image. + Returns the last beat of the song. @@ -3412,12 +3434,21 @@ Returns true if the song has BGChanges. + + Returns true if the song has a CD image. + Returns true if the song has a CDTitle. + + Returns true if the song has a Disc graphic. + Returns true if the song has edits. + + Returns true if the song has a jacket graphic. + Returns true if the song has lyrics. @@ -3425,10 +3456,10 @@ Returns true if the song has music. - Returns true if the song has significant elephants or bison. + Returns true if the song has significant BPM changes or stops. - - Returns true if the song has . + + Returns true if the song has the specified StepsType. Returns true if the song's DisplayBPM is constant. @@ -3814,13 +3845,13 @@ Returns true if the steps were automatically generated. - + Returns true if the DisplayBPM is constant. - + Returns true if the DisplayBPM is random. - + Returns true if the DisplayBPM is secret. @@ -4197,6 +4228,14 @@ Attempts to set the open section to sSection. + + + Returns the color of this wheel item. + + + Returns the text of this wheel item. + + Sets the WorkoutGraph from the current Workout.