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
+5
View File
@@ -325,6 +325,11 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
out.m_sBackgroundFile = sParams[1];
}
else if( sValueName=="PREVIEWBG" )
{
out.m_sPreviewBGFile = sParams[1];
}
else if( sValueName=="JACKET" )
{
out.m_sJacketFile = sParams[1];