Process FT_Xml as legacy actors

Everything from here on out is edge cases.
This commit is contained in:
Devin J. Pohly
2013-10-13 17:44:25 -04:00
parent 60ce34cfaa
commit 77ece5a414
3 changed files with 38 additions and 2 deletions
+9 -1
View File
@@ -335,11 +335,19 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
case FT_Movie:
sEffect = SBE_StretchNormal;
break;
case FT_Directory:
case FT_Lua:
case FT_Model:
sEffect = SBE_UpperLeft;
break;
case FT_Xml:
sEffect = SBE_Centered;
break;
case FT_Directory:
if( DoesFileExist(vsResolved[0] + "/default.lua") )
sEffect = SBE_UpperLeft;
else
sEffect = SBE_Centered;
break;
}
}
ASSERT( !sEffect.empty() );