update Lua documentation
This commit is contained in:
+59
-32
@@ -42,6 +42,7 @@
|
||||
<Function name='GetEditModeSubScreens'/>
|
||||
<Function name='GetGradeFromPercent'/>
|
||||
<Function name='GetLifeDifficulty'/>
|
||||
<Function name='GetOSName'/>
|
||||
<Function name='GetProTiming'/>
|
||||
<Function name='GetRandomSongBackground'/>
|
||||
<Function name='GetScreenAspectRatio'/>
|
||||
@@ -120,6 +121,7 @@
|
||||
<Function name='SecondsToMSS'/>
|
||||
<Function name='SecondsToMSSMsMs'/>
|
||||
<Function name='SelectMusicOrCourse'/>
|
||||
<Function name='SelectProfileKeys'/>
|
||||
<Function name='Serialize'/>
|
||||
<Function name='SetUserPref'/>
|
||||
<Function name='ShowStandardDecoration'/>
|
||||
@@ -215,6 +217,7 @@
|
||||
<Function name='GetDiffuse'/>
|
||||
<Function name='GetDiffuseAlpha'/>
|
||||
<Function name='GetEffectDelta'/>
|
||||
<Function name='GetHAlign'/>
|
||||
<Function name='GetHeight'/>
|
||||
<Function name='GetName'/>
|
||||
<Function name='GetNumStates'/>
|
||||
@@ -224,6 +227,7 @@
|
||||
<Function name='GetRotationZ'/>
|
||||
<Function name='GetSecsIntoEffect'/>
|
||||
<Function name='GetTweenTimeLeft'/>
|
||||
<Function name='GetVAlign'/>
|
||||
<Function name='GetVisible'/>
|
||||
<Function name='GetWidth'/>
|
||||
<Function name='GetX'/>
|
||||
@@ -240,6 +244,7 @@
|
||||
<Function name='MaskSource'/>
|
||||
<Function name='RunCommandsRecursively'/>
|
||||
<Function name='SetHeight'/>
|
||||
<Function name='SetSize'/>
|
||||
<Function name='SetTextureFiltering'/>
|
||||
<Function name='SetWidth'/>
|
||||
<Function name='accelerate'/>
|
||||
@@ -453,6 +458,12 @@
|
||||
<Function name='playforplayer'/>
|
||||
<Function name='stop'/>
|
||||
</Class>
|
||||
<Class name='AnnouncerManager'>
|
||||
<Function name='DoesAnnouncerExist'/>
|
||||
<Function name='GetAnnouncerNames'/>
|
||||
<Function name='GetCurrentAnnouncer'/>
|
||||
<Function name='SetCurrentAnnouncer'/>
|
||||
</Class>
|
||||
<Class base='BitmapText' name='BPMDisplay'>
|
||||
<Function name='GetText'/>
|
||||
<Function name='SetFromGameState'/>
|
||||
@@ -728,11 +739,17 @@
|
||||
<Function name='IsHot'/>
|
||||
<Function name='IsInDanger'/>
|
||||
</Class>
|
||||
<Class base='LifeMeter' name='LifeMeterBattery'>
|
||||
<Function name='GetLivesLeft'/>
|
||||
</Class>
|
||||
<Class name='MemoryCardManager'>
|
||||
<Function name='GetCardLocked'/>
|
||||
<Function name='GetCardState'/>
|
||||
<Function name='GetName'/>
|
||||
<Function name='IsNameAvailable'/>
|
||||
</Class>
|
||||
<Class base='ActorFrame' name='MenuTimer'>
|
||||
<Function name='GetSeconds'/>
|
||||
<Function name='pause'/>
|
||||
<Function name='setseconds'/>
|
||||
<Function name='silent'/>
|
||||
@@ -810,6 +827,8 @@
|
||||
<Function name='GetPlayedSteps'/>
|
||||
<Function name='GetPossibleDancePoints'/>
|
||||
<Function name='GetPossibleSteps'/>
|
||||
<Function name='GetRadarActual'/>
|
||||
<Function name='GetRadarPossible'/>
|
||||
<Function name='GetScore'/>
|
||||
<Function name='GetStageAward'/>
|
||||
<Function name='GetSurvivalSeconds'/>
|
||||
@@ -887,6 +906,8 @@
|
||||
<Function name='GetProfileDir'/>
|
||||
<Function name='IsPersistentProfile'/>
|
||||
<Function name='IsSongNew'/>
|
||||
<Function name='LastLoadWasFromLastGood'/>
|
||||
<Function name='LastLoadWasTamperedOrCorrupt'/>
|
||||
<Function name='SaveMachineProfile'/>
|
||||
</Class>
|
||||
<Class name='RadarValues'>
|
||||
@@ -1015,6 +1036,7 @@
|
||||
<Function name='GetBannerPath'/>
|
||||
<Function name='GetCDTitlePath'/>
|
||||
<Function name='GetDisplayArtist'/>
|
||||
<Function name='GetDisplayBpms'/>
|
||||
<Function name='GetDisplayFullTitle'/>
|
||||
<Function name='GetDisplayMainTitle'/>
|
||||
<Function name='GetDisplaySubTitle'/>
|
||||
@@ -1045,6 +1067,8 @@
|
||||
<Function name='HasSignificantBPMChangesOrStops'/>
|
||||
<Function name='HasStepsType'/>
|
||||
<Function name='HasStepsTypeAndDifficulty'/>
|
||||
<Function name='IsDisplayBpmConstant'/>
|
||||
<Function name='IsDisplayBpmSecret'/>
|
||||
<Function name='IsEasy'/>
|
||||
<Function name='IsEnabled'/>
|
||||
<Function name='IsLong'/>
|
||||
@@ -1183,6 +1207,7 @@
|
||||
<Function name='GetElapsedTimeFromBeat'/>
|
||||
<Function name='GetStops'/>
|
||||
<Function name='HasBPMChanges'/>
|
||||
<Function name='HasNegativeBPMs'/>
|
||||
<Function name='HasStops'/>
|
||||
</Class>
|
||||
<Class name='Trail'>
|
||||
@@ -1269,6 +1294,7 @@
|
||||
</Namespace>
|
||||
</Namespaces>
|
||||
<Singletons>
|
||||
<Singleton class='AnnouncerManager' name='ANNOUNCER'/>
|
||||
<Singleton class='RageFileManager' name='FILEMAN'/>
|
||||
<Singleton class='GameManager' name='GAMEMAN'/>
|
||||
<Singleton class='GameState' name='GAMESTATE'/>
|
||||
@@ -1706,34 +1732,35 @@
|
||||
<EnumValue name=''StepsType_Dance_Double'' value='1'/>
|
||||
<EnumValue name=''StepsType_Dance_Couple'' value='2'/>
|
||||
<EnumValue name=''StepsType_Dance_Solo'' value='3'/>
|
||||
<EnumValue name=''StepsType_Dance_Routine'' value='4'/>
|
||||
<EnumValue name=''StepsType_Pump_Single'' value='5'/>
|
||||
<EnumValue name=''StepsType_Pump_Halfdouble'' value='6'/>
|
||||
<EnumValue name=''StepsType_Pump_Double'' value='7'/>
|
||||
<EnumValue name=''StepsType_Pump_Couple'' value='8'/>
|
||||
<EnumValue name=''StepsType_Pump_Routine'' value='9'/>
|
||||
<EnumValue name=''StepsType_Kb7_Single'' value='10'/>
|
||||
<EnumValue name=''StepsType_Ez2_Single'' value='11'/>
|
||||
<EnumValue name=''StepsType_Ez2_Double'' value='12'/>
|
||||
<EnumValue name=''StepsType_Ez2_Real'' value='13'/>
|
||||
<EnumValue name=''StepsType_Para_Single'' value='14'/>
|
||||
<EnumValue name=''StepsType_Ds3ddx_Single'' value='15'/>
|
||||
<EnumValue name=''StepsType_Bm_Single5'' value='16'/>
|
||||
<EnumValue name=''StepsType_Bm_Double5'' value='17'/>
|
||||
<EnumValue name=''StepsType_Bm_Single7'' value='18'/>
|
||||
<EnumValue name=''StepsType_Bm_Double7'' value='19'/>
|
||||
<EnumValue name=''StepsType_Maniax_Single'' value='20'/>
|
||||
<EnumValue name=''StepsType_Maniax_Double'' value='21'/>
|
||||
<EnumValue name=''StepsType_Techno_Single4'' value='22'/>
|
||||
<EnumValue name=''StepsType_Techno_Single5'' value='23'/>
|
||||
<EnumValue name=''StepsType_Techno_Single8'' value='24'/>
|
||||
<EnumValue name=''StepsType_Techno_Double4'' value='25'/>
|
||||
<EnumValue name=''StepsType_Techno_Double5'' value='26'/>
|
||||
<EnumValue name=''StepsType_Pnm_Five'' value='27'/>
|
||||
<EnumValue name=''StepsType_Pnm_Nine'' value='28'/>
|
||||
<EnumValue name=''StepsType_Guitar_Five'' value='29'/>
|
||||
<EnumValue name=''StepsType_Karaoke'' value='30'/>
|
||||
<EnumValue name=''StepsType_Lights_Cabinet'' value='31'/>
|
||||
<EnumValue name=''StepsType_Dance_Threepanel'' value='4'/>
|
||||
<EnumValue name=''StepsType_Dance_Routine'' value='5'/>
|
||||
<EnumValue name=''StepsType_Pump_Single'' value='6'/>
|
||||
<EnumValue name=''StepsType_Pump_Halfdouble'' value='7'/>
|
||||
<EnumValue name=''StepsType_Pump_Double'' value='8'/>
|
||||
<EnumValue name=''StepsType_Pump_Couple'' value='9'/>
|
||||
<EnumValue name=''StepsType_Pump_Routine'' value='10'/>
|
||||
<EnumValue name=''StepsType_Kb7_Single'' value='11'/>
|
||||
<EnumValue name=''StepsType_Ez2_Single'' value='12'/>
|
||||
<EnumValue name=''StepsType_Ez2_Double'' value='13'/>
|
||||
<EnumValue name=''StepsType_Ez2_Real'' value='14'/>
|
||||
<EnumValue name=''StepsType_Para_Single'' value='15'/>
|
||||
<EnumValue name=''StepsType_Ds3ddx_Single'' value='16'/>
|
||||
<EnumValue name=''StepsType_Bm_Single5'' value='17'/>
|
||||
<EnumValue name=''StepsType_Bm_Double5'' value='18'/>
|
||||
<EnumValue name=''StepsType_Bm_Single7'' value='19'/>
|
||||
<EnumValue name=''StepsType_Bm_Double7'' value='20'/>
|
||||
<EnumValue name=''StepsType_Maniax_Single'' value='21'/>
|
||||
<EnumValue name=''StepsType_Maniax_Double'' value='22'/>
|
||||
<EnumValue name=''StepsType_Techno_Single4'' value='23'/>
|
||||
<EnumValue name=''StepsType_Techno_Single5'' value='24'/>
|
||||
<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_Karaoke'' value='31'/>
|
||||
<EnumValue name=''StepsType_Lights_Cabinet'' value='32'/>
|
||||
</Enum>
|
||||
<Enum name='StyleType'>
|
||||
<EnumValue name=''StyleType_OnePlayerOneSide'' value='0'/>
|
||||
@@ -1805,13 +1832,13 @@
|
||||
<Constant name='ASPECT_SCALE_FACTOR' value='1'/>
|
||||
<Constant name='NUM_PLAYERS' value='2'/>
|
||||
<Constant name='SCREEN_BOTTOM' value='480'/>
|
||||
<Constant name='SCREEN_CENTER_X' value='384'/>
|
||||
<Constant name='SCREEN_CENTER_X' value='427'/>
|
||||
<Constant name='SCREEN_CENTER_Y' value='240'/>
|
||||
<Constant name='SCREEN_HEIGHT' value='480'/>
|
||||
<Constant name='SCREEN_LEFT' value='0'/>
|
||||
<Constant name='SCREEN_RIGHT' value='768'/>
|
||||
<Constant name='SCREEN_RIGHT' value='854'/>
|
||||
<Constant name='SCREEN_TOP' value='0'/>
|
||||
<Constant name='SCREEN_WIDTH' value='768'/>
|
||||
<Constant name='SCREEN_WIDTH' value='854'/>
|
||||
<Constant name='PLAYER_1' value=''PlayerNumber_P1''/>
|
||||
<Constant name='PLAYER_2' value=''PlayerNumber_P2''/>
|
||||
<Constant name='_VERSION' value=''Lua 5.1''/>
|
||||
@@ -1824,5 +1851,5 @@
|
||||
<Constant name='top' value=''VertAlign_Top''/>
|
||||
</Constants>
|
||||
<Version>sm-ssc v1.0 beta 3</Version>
|
||||
<Date>2010-04-30</Date>
|
||||
<Date>2010-05-18</Date>
|
||||
</Lua>
|
||||
|
||||
+1
-1
@@ -244,7 +244,7 @@
|
||||
<legend>Function Colors</legend>
|
||||
<div class="descriptionCell">Available in SM4 baseline and sm-ssc</div>
|
||||
<div class="renamed">Renamed or otherwise modified in sm-ssc</div>
|
||||
<div class="sm-ssc">Available in sm-ssc only (for the time being)</div>
|
||||
<div class="sm-ssc">Available in sm-ssc only (compared to StepMania 4 alpha 5)</div>
|
||||
<div class="_fallbackTheme">Defined in sm-ssc's _fallback theme</div>
|
||||
<div class="defaultTheme">Defined in sm-ssc's default theme</div>
|
||||
</fieldset>
|
||||
|
||||
@@ -24,9 +24,24 @@
|
||||
<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>
|
||||
<Function name='AreStagePlayerModsForced' theme='_fallback' return='bool' arguments=''>
|
||||
[02 StageMods.lua]
|
||||
</Function>
|
||||
<Function name='AreStageSongModsForced' theme='_fallback' return='bool' arguments=''>
|
||||
[02 StageMods.lua]
|
||||
</Function>
|
||||
<Function name='Basename' return='string' arguments='string path'>
|
||||
Returns the base name of file path.
|
||||
</Function>
|
||||
<Function name='BoostColor' theme='_fallback' return='color' arguments='color c, float fBoost'>
|
||||
[02 Colors.lua]
|
||||
</Function>
|
||||
<Function name='Brightness' theme='_fallback' return='color' arguments='color c, float percent'>
|
||||
[03 HSV.lua]
|
||||
</Function>
|
||||
<Function name='CheckpointsTapsSeparateJudgment' theme='_fallback' return='bool' arguments=''>
|
||||
[03 Gameplay.lua]
|
||||
</Function>
|
||||
<Function name='color' return='color' arguments='string color'>
|
||||
Returns a color from a string. <code>color</code> can be in
|
||||
hex (<code>"#FFFFFFFF"</code>) or 0..1 values (<code>"1.0,1.0,1.0,1.0"</code>),
|
||||
@@ -476,6 +491,9 @@
|
||||
<!-- XXX: What is aux? -->
|
||||
Returns the Actor's aux value.
|
||||
</Function>
|
||||
<Function name='GetBaseZoomX' return='float' arguments=''>
|
||||
Returns the Actor's base X zoom value.
|
||||
</Function>
|
||||
<Function name='GetCommand' return='bool' arguments='string sCmdName'>
|
||||
Returns <code>true</code> if the Actor has a command named <code>sCmdName</code>.
|
||||
</Function>
|
||||
@@ -485,6 +503,9 @@
|
||||
<Function name='GetDiffuseAlpha' return='float' arguments=''>
|
||||
Returns the Actor's current diffusealpha.
|
||||
</Function>
|
||||
<Function name='GetHAlign' sm-ssc='true' return='float' arguments=''>
|
||||
Returns the Actor's horizontal alignment as a number in the range 0..1.
|
||||
</Function>
|
||||
<Function name='GetName' return='string' arguments=''>
|
||||
Returns the Actor's name.
|
||||
</Function>
|
||||
@@ -503,6 +524,9 @@
|
||||
<Function name='GetRotationZ' sm-ssc='true' return='float' arguments=''>
|
||||
Returns the Actor's current Z rotation.
|
||||
</Function>
|
||||
<Function name='GetVAlign' sm-ssc='true' return='float' arguments=''>
|
||||
Returns the Actor's vertical alignment as a number in the range 0..1.
|
||||
</Function>
|
||||
<Function name='GetWidth' return='float' arguments=''>
|
||||
Returns the Actor's current width.
|
||||
</Function>
|
||||
@@ -536,12 +560,18 @@
|
||||
<Function name='linear' return='void' arguments='float fRate'>
|
||||
Plays the commands that follow at a normal rate, where <code>fRate</code> is in seconds.
|
||||
</Function>
|
||||
<Function name='LyricCommand' theme='_fallback' return='void' arguments='string side'>
|
||||
[02 Lyrics.lua] Plays the lyric command for the specified <code>side</code> (<code>"Back"</code> or <code>"Front"</code>).
|
||||
</Function>
|
||||
<Function name='name' return='void' arguments='string sName'>
|
||||
Sets the Actor's name to <code>sName</code>.
|
||||
</Function>
|
||||
<Function name='playcommand' return='void' arguments='string sCommandName'>
|
||||
Plays a command named <code>sCommandName</code>.
|
||||
</Function>
|
||||
<Function name='player' theme='_fallback' return='void' arguments='PlayerNumber p'>
|
||||
[02 Actor.lua] Sets the visibility of the Actor based on <code>p</code> being a human player.
|
||||
</Function>
|
||||
<Function name='pulse' return='void' arguments=''>
|
||||
Makes the Actor grow and shrink. Can use <Link function='effectmagnitude' /> to define different pulsing behavior.
|
||||
</Function>
|
||||
@@ -572,6 +602,12 @@
|
||||
<Function name='scaletofit' return='void' arguments='float fLeft, float fTop, float fRight, float fBottom'>
|
||||
Scales the Actor to fit inside a rectangle defined by the four float arguments.
|
||||
</Function>
|
||||
<Function name='setsize' return='void' arguments='float width, float height'>
|
||||
Sets the size of the Actor.
|
||||
</Function>
|
||||
<Function name='SetSize' theme='_fallback' return='void' arguments='float width, float height'>
|
||||
[01 alias.lua] Alias for setsize.
|
||||
</Function>
|
||||
<Function name='setstate' return='void' arguments='int iNewState'>
|
||||
Sets a multi-framed Actor's state to <code>iNewState</code>.
|
||||
</Function>
|
||||
@@ -866,6 +902,20 @@
|
||||
Stops the sound.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='AnnouncerManager'>
|
||||
<Function name='DoesAnnouncerExist' sm-ssc='true' return='bool' arguments='string sAnnonucer'>
|
||||
Returns true if Announcer <code>sAnnouncer</code> exists.
|
||||
</Function>
|
||||
<Function name='GetAnnouncerNames' sm-ssc='true' return='{string}' arguments=''>
|
||||
Returns a table of installed announcers.
|
||||
</Function>
|
||||
<Function name='GetCurrentAnnouncer' sm-ssc='true' return='string' arguments=''>
|
||||
Returns the current announcer's name.
|
||||
</Function>
|
||||
<Function name='SetCurrentAnnouncer' sm-ssc='true' return='void' arguments='string sNewAnnouncer'>
|
||||
Sets the announcer to <code>sNewAnnouncer</code>.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='Banner'>
|
||||
<Function name='LoadBackgroundFromUnlockEntry' return='void' arguments='UnlockEntry pUE'>
|
||||
Loads the background from an UnlockEntry.
|
||||
@@ -1574,6 +1624,11 @@
|
||||
Returns a table of the high scores.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='HoldJudgment'>
|
||||
<Function name='LoadFromMultiPlayer' return='void' arguments='MultiPlayer mp'>
|
||||
Loads the HoldJudgment for the specified MultiPlayer.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='LifeMeter'>
|
||||
<Function name='GetLife' return='float' arguments=''>
|
||||
Returns the amount of life left in the LifeMeter as a float in the range 0..1.
|
||||
@@ -1588,15 +1643,29 @@
|
||||
Returns <code>true</code> if in danger.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='LifeMeterBattery'>
|
||||
<Function name='GetLivesLeft' sm-ssc='true' return='int' arguments=''>
|
||||
Returns the number of lives remaining.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='MemoryCardManager'>
|
||||
<Function name='GetCardLocked' sm-ssc='true' return='bool' arguments='PlayerNumber pn'>
|
||||
Returns <code>true</code> if player <code>pn</code>'s card is locked.
|
||||
</Function>
|
||||
<Function name='GetCardState' return='MemoryCardState' arguments='PlayerNumber pn'>
|
||||
Return the state for player <code>pn</code>.
|
||||
</Function>
|
||||
<Function name='GetName' sm-ssc='true' return='string' arguments='PlayerNumber pn'>
|
||||
Returns the name of the storage device.
|
||||
</Function>
|
||||
<Function name='IsNameAvailable' sm-ssc='true' return='bool' arguments='PlayerNumber pn'>
|
||||
Returns <code>true</code> if player <code>pn</code>'s name is available.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='MenuTimer'>
|
||||
<Function name='GetSeconds' sm-ssc='true' return='float' arguments=''>
|
||||
Returns the current MenuTimer's value.
|
||||
</Function>
|
||||
<Function name='pause' return='void' arguments=''>
|
||||
Pauses the MenuTimer, stopping it from counting down.
|
||||
</Function>
|
||||
@@ -1621,6 +1690,11 @@
|
||||
set to <code>nil</code>.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='MeterDisplay'>
|
||||
<Function name='SetStreamWidth' return='void' arguments='float fWidth'>
|
||||
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='Model'>
|
||||
<Function name='loop' return='void' arguments='bool bLoop'>
|
||||
Controls if the model should loop or not.
|
||||
@@ -1703,9 +1777,13 @@
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='PlayerInfo'>
|
||||
<Description>(PlayerInfo is a part of ScreenGameplay.)</Description>
|
||||
<Function name='GetLifeMeter' return='LifeMeter' arguments='PlayerNumber pn'>
|
||||
Returns the <Link class='LifeMeter' /> of player <code>pn</code>.
|
||||
</Function>
|
||||
<Function name='GetStepsQueueWrapped' return='Steps' arguments='int index'>
|
||||
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='PlayerStageStats'>
|
||||
<Function name='FullCombo' return='bool' arguments=''>
|
||||
@@ -1777,6 +1855,12 @@
|
||||
<Function name='GetPossibleSteps' return='{Steps}' arguments=''>
|
||||
Returns a table of possible steps.
|
||||
</Function>
|
||||
<Function name='GetRadarActual' sm-ssc='true' return='RadarValues' arguments=''>
|
||||
Returns a RadarValues object representing the player's actual performance.
|
||||
</Function>
|
||||
<Function name='GetRadarPossible' sm-ssc='true' return='RadarValues' arguments=''>
|
||||
Returns a RadarValues object representing the total values for the song.
|
||||
</Function>
|
||||
<Function name='GetScore' return='int' arguments=''>
|
||||
Returns the score.
|
||||
</Function>
|
||||
@@ -1985,6 +2069,12 @@
|
||||
<Function name='IsSongNew' sm-ssc="true" return='bool' arguments='Song s'>
|
||||
Returns <code>true</code> if Song <code>s</code> has never been played before (according to the machine profile).
|
||||
</Function>
|
||||
<Function name='LastLoadWasFromLastGood' sm-ssc='true' return='bool' arguments='PlayerNumber pn'>
|
||||
Returns <code>true</code> if the last load of player <code>pn</code>'s profile was a LastGood copy of the profile.
|
||||
</Function>
|
||||
<Function name='LastLoadWasTamperedOrCorrupt' sm-ssc='true' return='bool' arguments='PlayerNumber pn'>
|
||||
Returns <code>true</code> if the last load of player <code>pn</code>'s profile resulted in a tampered or corrupt profile.
|
||||
</Function>
|
||||
<Function name='SaveMachineProfile' return='void' arguments=''>
|
||||
Saves the machine profile.
|
||||
</Function>
|
||||
@@ -2115,16 +2205,27 @@
|
||||
Posts a message with the text <code>sScreenMsg</code> to the Screen.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenEvaluation'>
|
||||
<Function name='GetStageStats' return='StageStats' arguments=''>
|
||||
Returns the current StageStats.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenGameplay'>
|
||||
<Function name='Center1Player' return='bool' arguments=''>
|
||||
Returns <code>true</code> if a single <Link class='Player' /> has its NoteField centered.
|
||||
</Function>
|
||||
<Function name='GetDummyPlayerInfo' return='PlayerInfo' arguments='int index'>
|
||||
Returns a dummy PlayerInfo for the specified index.
|
||||
</Function>
|
||||
<Function name='GetLifeMeter' return='LifeMeter' arguments='PlayerNumber pn'>
|
||||
Returns the <Link class='LifeMeter' /> for the specified <Link class='ENUM' function='PlayerNumber' /> <code>pn</code>.
|
||||
</Function>
|
||||
<Function name='GetNextCourseSong' return='Song' arguments=''>
|
||||
Returns the next <Link class='Song' /> in the current <Link class='Course' />.
|
||||
</Function>
|
||||
<Function name='GetPlayerInfo' return='PlayerInfo' arguments='PlayerNumber pn'>
|
||||
Returns the PlayerInfo for player <code>pn</code>.
|
||||
</Function>
|
||||
<Function name='SetNewScreen' return='void' arguments='string s'>
|
||||
Sets the next Screen to be loaded.
|
||||
</Function>
|
||||
@@ -2224,6 +2325,17 @@
|
||||
Returns player <code>pn</code>'s current selected item as an integer.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenSelectMusic'>
|
||||
<Function name='GetGoToOptions' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the player is going to the options screen.
|
||||
</Function>
|
||||
<Function name='setupcoursestagemods' theme='_fallback' return='void' arguments=''>
|
||||
[02 StageMods.lua] Sets up modifiers for course modes.
|
||||
</Function>
|
||||
<Function name='setupmusicstagemods' theme='_fallback' return='void' arguments=''>
|
||||
[02 StageMods.lua] Sets up modifiers for non-course modes.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='ScreenSelectProfile'>
|
||||
<Function name='Cancel' return='void' arguments=''>
|
||||
Tells the screen to go to the previous screen.
|
||||
@@ -2260,6 +2372,9 @@
|
||||
<Function name='GetDisplayArtist' return='string' arguments=''>
|
||||
Returns the displayed artist of the song.
|
||||
</Function>
|
||||
<Function name='GetDisplayBpms' sm-ssc='true' return='{float,float}' arguments=''>
|
||||
Returns a table containing the display BPMs.
|
||||
</Function>
|
||||
<Function name='GetDisplayFullTitle' return='string' arguments=''>
|
||||
Returns the displayed full title of the song, including subtitle.
|
||||
</Function>
|
||||
@@ -2350,6 +2465,12 @@
|
||||
<Function name='HasStepsType' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song has .
|
||||
</Function>
|
||||
<Function name='IsDisplayBpmConstant' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song's DisplayBPM is constant.
|
||||
</Function>
|
||||
<Function name='IsDisplayBpmSecret' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song's DisplayBPM is secret.
|
||||
</Function>
|
||||
<Function name='IsEasy' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the song is considered easy.
|
||||
</Function>
|
||||
@@ -2388,6 +2509,9 @@
|
||||
<Function name='GetCourseColor' return='color' arguments='Course c'>
|
||||
Returns the course color of course <code>c</code>.
|
||||
</Function>
|
||||
<Function name='GetExtraStageInfo' return='Song, Steps' arguments='bool bExtra2, Style s'>
|
||||
Returns the extra stage info for the specified Style <code>s</code>. (If <code>bExtra2</code> is true, it will use the second Extra Stage data instead of the first.)
|
||||
</Function>
|
||||
<Function name='GetNumAdditionalCourses' return='int' arguments=''>
|
||||
Returns the number of courses loaded via Additional folders.
|
||||
</Function>
|
||||
@@ -2510,7 +2634,7 @@
|
||||
Crops the Sprite to <code>fWidth</code>x<code>fHeight</code>.
|
||||
</Function>
|
||||
<Function name='cropto' theme='_fallback' return='void' arguments='float fWidth, float fHeight'>
|
||||
Alias for CropTo.
|
||||
[01 alias.lua] Alias for CropTo.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='StageStats'>
|
||||
@@ -2634,6 +2758,9 @@
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='TextBanner'>
|
||||
<Function name='Load' return='void' arguments='string sMetricsGroup'>
|
||||
Loads the TextBanner from the specified metrics group.
|
||||
</Function>
|
||||
<Function name='SetFromSong' return='void' arguments='Song s'>
|
||||
Loads the TextBanner's child elements from a <Link class='Song' />.
|
||||
</Function>
|
||||
@@ -2710,6 +2837,9 @@
|
||||
<Function name='HasBPMChanges' sm-ssc='true' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the TimingData contains BPM changes.
|
||||
</Function>
|
||||
<Function name='HasNegativeBPMs' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the TimingData contains any BPM changes with a negative BPM.
|
||||
</Function>
|
||||
<Function name='HasStops' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the TimingData contains stops.
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user