From e8769ea8c334f09417fb1098b2a1d682802ed423 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 5 Jan 2008 19:04:08 +0000 Subject: [PATCH] Added some more functions for Actor, Course, GameState, LifeMeter, MenuTimer, Screen Added HighScore class and most functions --- stepmania/Docs/LuaDocumentation.xml | 101 +++++++++++++++++++++++++--- 1 file changed, 91 insertions(+), 10 deletions(-) diff --git a/stepmania/Docs/LuaDocumentation.xml b/stepmania/Docs/LuaDocumentation.xml index e2cd881b07..552e20455c 100644 --- a/stepmania/Docs/LuaDocumentation.xml +++ b/stepmania/Docs/LuaDocumentation.xml @@ -127,6 +127,9 @@ Sets whether or not the Actor should animate. + + Sets the Actor's base alpha to fAlpha, where fAlpha is in the range 0..1. + Sets the Actor to use the specified blend mode. @@ -145,8 +148,8 @@ Sets the Actor's cull mode to mode. - - Set's the Actor's alpha level to f, which should be a float in the range 0..1. + + Set's the Actor's alpha level to fAlpha, where fAlpha is in the range 0..1. Set's the Actor's draworder to iOrder, where larger values display first. @@ -154,6 +157,12 @@ Set the Actor's effect clock to s. + + Sets the first effect color to c. + + + Sets the second effect color to c. + Set the Actor's effect magnitude in each direction to the given values. @@ -181,6 +190,9 @@ Returns the Actor's current diffusealpha. + + Returns the number of states the Actor has. + Returns the Actor's current height. @@ -196,6 +208,15 @@ Set the horizontal alignment of the Actor according to align. See for fractional alignment. + + Plays a command named sCommandName. + + + Makes the Actor grow and shrink. Can use to define different pulsing behavior. + + + Queues a command named sCommandName to be played. + Set the Actor's rotation on the X axis to fAlign. @@ -205,6 +226,15 @@ Set the Actor's rotation on the Z axis to fAlign. + + Sets the Actor's shadow length to fLength. + + + Skews the Actor on the x axis by fAmount. + + + Tells the Actor to spin. Can use to define different spinning behavior. + Stops any effect the Actor has. @@ -279,7 +309,7 @@ Clear all attributes associated with the BitmapText. - Returns the text. + Returns the text that is currently set. If bJitter is true, move each character of the string around by a small random amount. @@ -305,22 +335,31 @@ - Returns the path to the course's banner. + Returns the path to the Course's banner. - Returns the course's . + Returns the Course's . - Returns the full display title of the course. + Returns the full display title of the Course. - Returns the course's group name. + Returns the Course's group name. + + + Returns the Course's . - Returns the full transliterated title of the course. + Returns the full transliterated title of the Course. + + + Returns true if the Course has modifiers. + + + Returns true if the Course has timed modifiers. - Returns true if the course was automatically generated. + Returns true if the Course was automatically generated. @@ -439,7 +478,7 @@ if it does not exist. - Return the current random seed for the game. + Return the random seed for the game. Return true if the gameplay lead in is enabled. If @@ -457,8 +496,40 @@ Returns the number of stages left for player pn. + + Return the random seed for the current stage. + + + Returns true if playing in a Course mode. + + + Returns true if in Demonstration mode. + + + Returns true if Event Mode is on, temporary or otherwise. + + + + + Returns the date and time the high score was achieved. + + + Returns the name associated with the high score. + + + Returns the percentage of dance points associated with the high score. + + + Returns the score associated with the high score. + + + Returns the number of seconds survived associated with the high score. + + + Returns the amount of life left in the LifeMeter as a float in the range 0..1. + Returns true if failing. @@ -481,6 +552,13 @@ Sets the MenuTimer's value to fSeconds. + + Sets the MenuTimer's silent setting to bSilent. + + + Sets the MenuTimer's stealth setting to bStealth. If + true, the timer will be invisible and silent. + Stops the MenuTimer by setting it to 0 and pausing. @@ -625,6 +703,9 @@ Locks input for f seconds. + + Posts a message with the text sScreenMsg to the Screen. +