Changed Notes difficulty/description in preparation for edit selection system

This commit is contained in:
Chris Danford
2003-01-21 22:23:01 +00:00
parent 779f1b829c
commit ac391552fd
22 changed files with 292 additions and 206 deletions
+7 -5
View File
@@ -21,10 +21,12 @@ CString DifficultyToString( Difficulty dc )
{
switch( dc )
{
case DIFFICULTY_EASY: return "easy";
case DIFFICULTY_MEDIUM: return "medium";
case DIFFICULTY_HARD: return "hard";
default: ASSERT(0); return ""; // invalid Difficulty
case DIFFICULTY_BEGINNER: return "beginner";
case DIFFICULTY_EASY: return "easy";
case DIFFICULTY_MEDIUM: return "medium";
case DIFFICULTY_HARD: return "hard";
case DIFFICULTY_CHALLENGE: return "challenge";
default: ASSERT(0); return ""; // invalid Difficulty
}
}
@@ -36,7 +38,7 @@ Difficulty StringToDifficulty( CString sDC )
if( sDC == DifficultyToString(dc) )
return dc;
}
return CLASS_INVALID;
return DIFFICULTY_INVALID;
}
RageColor PlayerToColor( PlayerNumber pn )