Added tags #PREVIEW for .sma and #PREVIEWBG for .ssc

Added HasPreviewBG() and GetPreviewBGPath() lua bindings
This commit is contained in:
Marcio Barrientos
2012-01-11 13:53:30 -06:00
parent 446f818923
commit da84ef04ad
5 changed files with 33 additions and 0 deletions
+3
View File
@@ -207,6 +207,9 @@ bool SMALoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
else if( sValueName=="BACKGROUND" )
out.m_sBackgroundFile = sParams[1];
else if( sValueName=="PREVIEW" )
out.m_sPreviewBGFile = sParams[1];
// Save "#LYRICS" for later, so we can add an internal lyrics tag.
else if( sValueName=="LYRICSPATH" )