update luadoc
This commit is contained in:
+22
-10
@@ -10,6 +10,7 @@
|
||||
<Function name='Brightness'/>
|
||||
<Function name='Center1Player'/>
|
||||
<Function name='CheckpointsTapsSeparateJudgment'/>
|
||||
<Function name='CloseConnection'/>
|
||||
<Function name='Color'/>
|
||||
<Function name='ColorDarkTone'/>
|
||||
<Function name='ColorLightTone'/>
|
||||
@@ -47,6 +48,7 @@
|
||||
<Function name='GetCustomDifficulty'/>
|
||||
<Function name='GetDefaultArrowSpacing'/>
|
||||
<Function name='GetDefaultOptionLines'/>
|
||||
<Function name='GetDirectRadar'/>
|
||||
<Function name='GetEditModeSubScreens'/>
|
||||
<Function name='GetExtraColorThreshold'/>
|
||||
<Function name='GetGamePref'/>
|
||||
@@ -67,6 +69,7 @@
|
||||
<Function name='GetThemeAspectRatio'/>
|
||||
<Function name='GetThemePref'/>
|
||||
<Function name='GetTimingDifficulty'/>
|
||||
<Function name='GetTotalItems'/>
|
||||
<Function name='GetUnlockEntryIndexToCelebrate'/>
|
||||
<Function name='GetUserPref'/>
|
||||
<Function name='GetUserPrefB'/>
|
||||
@@ -94,6 +97,7 @@
|
||||
<Function name='IsRoutine'/>
|
||||
<Function name='IsSMOnlineLoggedIn'/>
|
||||
<Function name='IsUsingWideScreen'/>
|
||||
<Function name='IsW1Allowed'/>
|
||||
<Function name='JudgmentLineToColor'/>
|
||||
<Function name='JudgmentLineToLocalizedString'/>
|
||||
<Function name='JudgmentLineToStrokeColor'/>
|
||||
@@ -558,6 +562,7 @@
|
||||
<Function name='GetCharacterDir'/>
|
||||
<Function name='GetCharacterID'/>
|
||||
<Function name='GetDanceAnimationPath'/>
|
||||
<Function name='GetDisplayName'/>
|
||||
<Function name='GetIconPath'/>
|
||||
<Function name='GetModelPath'/>
|
||||
<Function name='GetRestAnimationPath'/>
|
||||
@@ -989,6 +994,7 @@
|
||||
<Function name='Open'/>
|
||||
<Function name='PutLine'/>
|
||||
<Function name='Read'/>
|
||||
<Function name='ReadBytes'/>
|
||||
<Function name='Seek'/>
|
||||
<Function name='Tell'/>
|
||||
<Function name='Write'/>
|
||||
@@ -1047,6 +1053,7 @@
|
||||
<Class name='ScreenManager'>
|
||||
<Function name='AddNewScreenToTop'/>
|
||||
<Function name='GetTopScreen'/>
|
||||
<Function name='ReloadOverlayScreens'/>
|
||||
<Function name='ScreenClassExists'/>
|
||||
<Function name='ScreenIsPrepped'/>
|
||||
<Function name='SetNewScreen'/>
|
||||
@@ -1094,6 +1101,9 @@
|
||||
<Function name='GetProfileIndex'/>
|
||||
<Function name='SetProfileIndex'/>
|
||||
</Class>
|
||||
<Class base='ScreenWithMenuElements' name='ScreenTextEntry'>
|
||||
<Function name='Load'/>
|
||||
</Class>
|
||||
<Class base='Screen' name='ScreenWithMenuElements'>
|
||||
<Function name='Cancel'/>
|
||||
</Class>
|
||||
@@ -1136,6 +1146,7 @@
|
||||
<Function name='HasStepsType'/>
|
||||
<Function name='HasStepsTypeAndDifficulty'/>
|
||||
<Function name='IsDisplayBpmConstant'/>
|
||||
<Function name='IsDisplayBpmRandom'/>
|
||||
<Function name='IsDisplayBpmSecret'/>
|
||||
<Function name='IsEasy'/>
|
||||
<Function name='IsEnabled'/>
|
||||
@@ -1848,10 +1859,11 @@
|
||||
<EnumValue name=''StepsType_Techno_Single8'' value='25'/>
|
||||
<EnumValue name=''StepsType_Techno_Double4'' value='26'/>
|
||||
<EnumValue name=''StepsType_Techno_Double5'' value='27'/>
|
||||
<EnumValue name=''StepsType_Pnm_Five'' value='28'/>
|
||||
<EnumValue name=''StepsType_Pnm_Nine'' value='29'/>
|
||||
<EnumValue name=''StepsType_Guitar_Five'' value='30'/>
|
||||
<EnumValue name=''StepsType_Lights_Cabinet'' value='31'/>
|
||||
<EnumValue name=''StepsType_Techno_Double8'' value='28'/>
|
||||
<EnumValue name=''StepsType_Pnm_Five'' value='29'/>
|
||||
<EnumValue name=''StepsType_Pnm_Nine'' value='30'/>
|
||||
<EnumValue name=''StepsType_Guitar_Five'' value='31'/>
|
||||
<EnumValue name=''StepsType_Lights_Cabinet'' value='32'/>
|
||||
</Enum>
|
||||
<Enum name='StyleType'>
|
||||
<EnumValue name=''StyleType_OnePlayerOneSide'' value='0'/>
|
||||
@@ -1920,16 +1932,16 @@
|
||||
</Enum>
|
||||
</Enums>
|
||||
<Constants>
|
||||
<Constant name='ASPECT_SCALE_FACTOR' value='854'/>
|
||||
<Constant name='ASPECT_SCALE_FACTOR' value='640'/>
|
||||
<Constant name='NUM_PLAYERS' value='2'/>
|
||||
<Constant name='SCREEN_BOTTOM' value='480'/>
|
||||
<Constant name='SCREEN_CENTER_X' value='427'/>
|
||||
<Constant name='SCREEN_CENTER_X' value='320'/>
|
||||
<Constant name='SCREEN_CENTER_Y' value='240'/>
|
||||
<Constant name='SCREEN_HEIGHT' value='480'/>
|
||||
<Constant name='SCREEN_LEFT' value='0'/>
|
||||
<Constant name='SCREEN_RIGHT' value='854'/>
|
||||
<Constant name='SCREEN_RIGHT' value='640'/>
|
||||
<Constant name='SCREEN_TOP' value='0'/>
|
||||
<Constant name='SCREEN_WIDTH' value='854'/>
|
||||
<Constant name='SCREEN_WIDTH' value='640'/>
|
||||
<Constant name='PLAYER_1' value=''PlayerNumber_P1''/>
|
||||
<Constant name='PLAYER_2' value=''PlayerNumber_P2''/>
|
||||
<Constant name='_VERSION' value=''Lua 5.1''/>
|
||||
@@ -1941,6 +1953,6 @@
|
||||
<Constant name='sGame' value=''dance''/>
|
||||
<Constant name='top' value=''VertAlign_Top''/>
|
||||
</Constants>
|
||||
<Version>sm-ssc v1.2</Version>
|
||||
<Date>2011-01-08</Date>
|
||||
<Version>sm-ssc v1.2.1</Version>
|
||||
<Date>2011-02-10</Date>
|
||||
</Lua>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
<Link class='ENUM' function='CoinMode' /> -> CoinMode
|
||||
-->
|
||||
|
||||
|
||||
<Documentation xmlns='http://www.stepmania.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.stepmania.com Lua.xsd'>
|
||||
<!-- Global functions -->
|
||||
<GlobalFunctions>
|
||||
@@ -48,6 +47,9 @@
|
||||
<Function name='clamp' return='float' arguments='float fValue, float fLow, float fHigh'>
|
||||
CLAMP is an all-female Japanese mangaka group that formed in the mid 1980s. Erm, I mean... Clamps <code>fValue</code> between <code>fLow</code> and <code>fHigh</code>.
|
||||
</Function>
|
||||
<Function name='CloseConnection' sm-ssc='true' return='void' arguments=''>
|
||||
Closes any connection to an online server.
|
||||
</Function>
|
||||
<Function name='collectgarbage' return='void' arguments='string opt, float arg'>
|
||||
A generic interface to Lua's garbage collector. Performs different functions based on the value of <code>opt</code>.
|
||||
</Function>
|
||||
@@ -618,7 +620,7 @@
|
||||
<Function name='effectperiod' return='void' arguments='float fTime'>
|
||||
Set the Actor's effect period to <code>fTime</code>.
|
||||
</Function>
|
||||
<Function name='effecttiming' return='void' arguments='float fRampUp, float fHoldAtHalf, float fRampDown, float fHoldAtZero'>
|
||||
<Function name='effecttiming' return='void' arguments='float fRampUp, float fAtHalf, float fRampDown, float fAtZero'>
|
||||
Set the Actor's effect timing.
|
||||
</Function>
|
||||
<Function name='fadebottom' return='void' arguments='float percent'>
|
||||
@@ -1253,6 +1255,9 @@
|
||||
<Function name='GetDanceAnimationPath' sm-ssc='true' return='string' arguments=''>
|
||||
Returns the path of the dancing animation of this character.
|
||||
</Function>
|
||||
<Function name='GetDisplayName' sm-ssc='true' return='string' arguments=''>
|
||||
Returns the character's display name.
|
||||
</Function>
|
||||
<Function name='GetIconPath' return='string' arguments=''>
|
||||
Returns the path to the character's icon.
|
||||
</Function>
|
||||
@@ -2413,6 +2418,9 @@
|
||||
<Function name='Read' return='string' arguments=''>
|
||||
Returns a string containing the entire contents of the file.
|
||||
</Function>
|
||||
<Function name='ReadBytes' sm-ssc='true' return='string' arguments='int length'>
|
||||
Returns <code>length</code> bytes from the RageFile's current position.
|
||||
</Function>
|
||||
<Function name='Seek' return='int' arguments=''>
|
||||
Seeks to a position in the file and returns the new position.
|
||||
</Function>
|
||||
@@ -2543,6 +2551,9 @@
|
||||
<Function name='GetTopScreen' return='Screen' arguments=''>
|
||||
Gets the screen at the top of the screen stack.
|
||||
</Function>
|
||||
<Function name='ReloadOverlayScreens' sm-ssc='true' return='void' arguments=''>
|
||||
Reloads any loaded overlay screens.
|
||||
</Function>
|
||||
<Function name='ScreenClassExists' return='bool' arguments='string s'>
|
||||
Returns <code>true</code> if screen class <code>s</code> exists.
|
||||
</Function>
|
||||
@@ -2649,6 +2660,14 @@
|
||||
Sets the profile index of Player <code>pn</code> to <code>iProfileIndex</code>.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenTextEntry'>
|
||||
<Description>
|
||||
See the Changelog for details on TextEntrySetting's format.
|
||||
</Description>
|
||||
<Function name='Load' sm-ssc='true' return='void' arguments='TextEntrySettings args'>
|
||||
Sets up a ScreenTextEntry's values.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenWithMenuElements'>
|
||||
<Function name='Cancel' return='void' arguments=''>
|
||||
Tells the screen to go to the previous screen.
|
||||
@@ -2748,8 +2767,8 @@
|
||||
<Function name='HasCDTitle' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song has a CDTitle.
|
||||
</Function>
|
||||
<Function name='HasEdits' sm-ssc='true' return='bool' arguments='StepsType st'>
|
||||
Returns <code>true</code> if the song has edits for the specified StepsType.
|
||||
<Function name='HasEdits' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song has edits.
|
||||
</Function>
|
||||
<Function name='HasLyrics' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song has lyrics.
|
||||
@@ -2766,6 +2785,9 @@
|
||||
<Function name='IsDisplayBpmConstant' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song's DisplayBPM is constant.
|
||||
</Function>
|
||||
<Function name='IsDisplayBpmRandom' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song's DisplayBPM is random.
|
||||
</Function>
|
||||
<Function name='IsDisplayBpmSecret' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song's DisplayBPM is secret.
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user