Implement preview music properly as a new optional tag in the ssc file. Changed ScreenManager to emit an error instead of asserting if a screen attempts to use SetNewScreen inside an InitCommand. Changed decorations layer to be a proper child instead of stripping away the ActorFrame.
This commit is contained in:
@@ -1542,6 +1542,7 @@
|
||||
<Function name='GetMusicPath'/>
|
||||
<Function name='GetOneSteps'/>
|
||||
<Function name='GetOrigin'/>
|
||||
<Function name='GetPreviewMusicPath'/>
|
||||
<Function name='GetPreviewVidPath'/>
|
||||
<Function name='GetSampleLength'/>
|
||||
<Function name='GetSampleStart'/>
|
||||
|
||||
@@ -4464,6 +4464,9 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetOrigin' return='string' arguments=''>
|
||||
Gets the Song's origin.
|
||||
</Function>
|
||||
<Function name='GetPreviewMusicPath' return='string' arguments=''>
|
||||
Returns the path to the Song's preview music. This handles the #PREVIEW tag internally, so it works with songs that use it and songs that don't.
|
||||
</Function>
|
||||
<Function name='GetPreviewVidPath' return='string' arguments=''>
|
||||
Returns the path to the Song's preview video, if it exists. (Returns <code>nil</code> otherwise.)
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user