data-driven pump-style coloring/naming (merge disparate difficulty string/color systems and simplify Lua)
This commit is contained in:
@@ -280,7 +280,8 @@ void CatalogXml::Save( LoadingWindow *loading_window )
|
||||
FOREACH_CONST( Difficulty, vDifficultiesToShow, iter )
|
||||
{
|
||||
XNode* pNode3 = pNode2->AppendChild( "Difficulty", DifficultyToString(*iter) );
|
||||
pNode3->AppendAttr( "DisplayAs", DifficultyToLocalizedString(*iter) );
|
||||
DifficultyDisplayType ddt = MakeDifficultyDisplayType( *iter, StepsTypeCategory_Single ); // TODO: Fix use of Single
|
||||
pNode3->AppendAttr( "DisplayAs", DifficultyDisplayTypeToLocalizedString(ddt) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user