diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml index 6ac827b91f..f6cb37c039 100644 --- a/Docs/Luadoc/Lua.xml +++ b/Docs/Luadoc/Lua.xml @@ -7,6 +7,7 @@ + @@ -34,6 +35,7 @@ + @@ -54,6 +56,7 @@ + @@ -84,6 +87,7 @@ + @@ -184,6 +188,7 @@ + @@ -591,6 +596,7 @@ + @@ -820,6 +826,7 @@ + @@ -1097,6 +1104,7 @@ + @@ -1139,6 +1147,7 @@ + @@ -1165,6 +1174,8 @@ + + @@ -1418,6 +1429,7 @@ + @@ -1552,7 +1564,6 @@ - @@ -2341,5 +2352,5 @@ StepMania v5.0 alpha 2 - 2012-04-02 + 2012-06-08 diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml index 44188db9a2..b066d37d01 100644 --- a/Docs/Luadoc/LuaDocumentation.xml +++ b/Docs/Luadoc/LuaDocumentation.xml @@ -1272,7 +1272,7 @@ save yourself some time, copy this for undocumented things: [02 Actor.lua] A customized version of pulse that is more appealing for on-beat effects. - [02 Actor.lua] Sets the x and y location of the Actor in one command. + Sets the x and y location of the Actor in one command. @@ -1731,6 +1731,9 @@ save yourself some time, copy this for undocumented things: + + Returns true if all of the songs in the course have been defined (as opposed to random songs). + Returns a table of all the Trails in the Course. @@ -1981,12 +1984,9 @@ save yourself some time, copy this for undocumented things: Returns the name of any song group that may have been set. - + Returns the sort order, if the GameCommand has set one. - - Returns the StageResult for player pn. - Returns any stage modifiers that may have been set. @@ -2258,6 +2258,9 @@ save yourself some time, copy this for undocumented things: Returns the current SortOrder. + + Returns the StageResult for player pn. + Returns the current stage index. @@ -2407,11 +2410,8 @@ save yourself some time, copy this for undocumented things: Sets the GrooveRadar values for Player pn from RadarValues rv - - Tweens the GrooveRadar off screen. - - - Tweens the GrooveRadar on screen. + + Sets the GrooveRadar values for Player pn to the specified values in the table. @@ -3176,6 +3176,9 @@ save yourself some time, copy this for undocumented things: + + Fails the player. + Returns true if a full combo (TNS_W3 and up) was obtained. @@ -3371,6 +3374,12 @@ save yourself some time, copy this for undocumented things: Gets the profile's HighScoreList for a specified Song and Steps. (Alternate arguments for Courses: Course c, Trail t) + + Returns the last played Course for this profile. + + + Returns the last played Song for this profile. + Returns the last used high score name. @@ -4014,6 +4023,9 @@ save yourself some time, copy this for undocumented things: Returns true if the song meets the criteria for "Marathon" length. + + Returns true if the song and the specified steps have different timing. + Returns true if the song only has Beginner steps. diff --git a/src/PlayerStageStats.cpp b/src/PlayerStageStats.cpp index 0de3f0560d..7b7be7168b 100644 --- a/src/PlayerStageStats.cpp +++ b/src/PlayerStageStats.cpp @@ -761,11 +761,11 @@ public: return 0; } - static int FailPlayer( T* p, lua_State *L ) - { - p->m_bFailed = true; - return 0; - } + static int FailPlayer( T* p, lua_State *L ) + { + p->m_bFailed = true; + return 0; + } LunaPlayerStageStats() {