add OldStyleStringToDifficulty method

because SM recognizes them in .sm files.
This commit is contained in:
sigatrev
2014-08-02 00:38:35 -07:00
committed by Jonathan Payne
parent e8e617e545
commit ada902140e
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -72,6 +72,8 @@ Difficulty OldStyleStringToDifficulty( const RString& sDC )
else return Difficulty_Invalid;
}
LuaFunction( OldStyleStringToDifficulty, OldStyleStringToDifficulty(SArg(1)) );
static ThemeMetric<RString> NAMES("CustomDifficulty","Names");
RString GetCustomDifficulty( StepsType st, Difficulty dc, CourseType ct )