diff --git a/stepmania/src/Difficulty.cpp b/stepmania/src/Difficulty.cpp index 991de43d55..77eb10cb83 100644 --- a/stepmania/src/Difficulty.cpp +++ b/stepmania/src/Difficulty.cpp @@ -16,6 +16,8 @@ static const CString DifficultyNames[NUM_DIFFICULTIES] = { XToString( Difficulty, NUM_DIFFICULTIES ); XToThemedString( Difficulty, NUM_DIFFICULTIES ); +LuaFunction_Int( DifficultyToThemedString, DifficultyToThemedString((Difficulty)a1) ); + /* We prefer the above names; recognize a number of others, too. (They'l * get normalized when written to SMs, etc.) */ Difficulty StringToDifficulty( const CString& sDC ) @@ -70,6 +72,8 @@ XToString( CourseDifficulty, NUM_DIFFICULTIES ); XToThemedString( CourseDifficulty, NUM_DIFFICULTIES ); StringToX( CourseDifficulty ); +LuaFunction_Int( CourseDifficultyToThemedString, CourseDifficultyToThemedString((CourseDifficulty)a1) ); + CourseDifficulty GetNextShownCourseDifficulty( CourseDifficulty cd ) { for( CourseDifficulty d=(CourseDifficulty)(cd+1); d