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 -12
View File
@@ -199,19 +199,14 @@ bool NotesWriterDWI::WriteDWINotesTag( FILE* fp, const Notes &out )
default: return false; // not a type supported by DWI
}
if( 0==out.GetDescription().CompareNoCase("challenge") )
fprintf( fp, "SMANIAC:" );
else if( 0==out.GetDescription().CompareNoCase("smaniac") )
fprintf( fp, "SMANIAC:" );
else
switch( out.GetDifficulty() )
{
switch( out.GetDifficulty() )
{
case DIFFICULTY_EASY: fprintf( fp, "BASIC:" ); break;
case DIFFICULTY_MEDIUM: fprintf( fp, "ANOTHER:" ); break;
case DIFFICULTY_HARD: fprintf( fp, "MANIAC:" ); break;
default: ASSERT(0); return false;
}
case DIFFICULTY_BEGINNER:
case DIFFICULTY_EASY: fprintf( fp, "BASIC:" ); break;
case DIFFICULTY_MEDIUM: fprintf( fp, "ANOTHER:" ); break;
case DIFFICULTY_HARD: fprintf( fp, "MANIAC:" ); break;
case DIFFICULTY_CHALLENGE: fprintf( fp, "SMANIAC:" ); break;
default: ASSERT(0); return false;
}
fprintf( fp, "%d:\n", out.GetMeter() );