From 59df866348baa4c21de82fda89f17cdbd8fbca97 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 22 Feb 2007 07:09:29 +0000 Subject: [PATCH] add TODO comments --- stepmania/src/Difficulty.cpp | 3 +++ stepmania/src/GameManager.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/stepmania/src/Difficulty.cpp b/stepmania/src/Difficulty.cpp index 6f1b48fafa..a5ae426b7f 100644 --- a/stepmania/src/Difficulty.cpp +++ b/stepmania/src/Difficulty.cpp @@ -22,6 +22,9 @@ LuaFunction( DifficultyToLocalizedString, DifficultyToLocalizedString( Enum::Che /* We prefer the above names; recognize a number of others, too. (They'l * get normalized when written to SMs, etc.) */ +/* TODO: Format specific hacks should be moved into the file loader for + * that format. We don't want to carry these hacks forward to file + * formats that don't need them. */ Difficulty StringToDifficulty( const RString& sDC ) { RString s2 = sDC; diff --git a/stepmania/src/GameManager.cpp b/stepmania/src/GameManager.cpp index 68ec74c860..5c902d8929 100644 --- a/stepmania/src/GameManager.cpp +++ b/stepmania/src/GameManager.cpp @@ -2402,6 +2402,8 @@ StepsType GameManager::StringToStepsType( RString sStepsType ) { sStepsType.MakeLower(); + // TODO: Format specific hacks should be moved into the file loader for that format. + // HACK! We elminitated "ez2-single-hard", but we should still handle it. if( sStepsType == "ez2-single-hard" ) sStepsType = "ez2-single";