Added tags #PREVIEW for .sma and #PREVIEWBG for .ssc
Added HasPreviewBG() and GetPreviewBGPath() lua bindings
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user