Save mines to SM files

Ignore mines when saving DWI files (feels more appropriate than saving them as steps)
This commit is contained in:
Chris Gomez
2003-09-01 02:33:42 +00:00
parent 5b17149520
commit 0aebf25ccb
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -109,6 +109,8 @@ void NoteDataUtil::LoadFromSMNoteDataString( NoteData &out, CString sSMNoteData
case '1': t = TAP_TAP; break;
case '2': t = TAP_HOLD_HEAD; break;
case '3': t = TAP_HOLD_TAIL; break;
case 'm':
case 'M': t = TAP_MINE; break;
default:
/* Invalid data. We don't want to assert, since there might
@@ -157,6 +159,7 @@ CString NoteDataUtil::GetSMNoteDataString(NoteData &in)
case TAP_TAP: c = '1'; break;
case TAP_HOLD_HEAD: c = '2'; break;
case TAP_HOLD_TAIL: c = '3'; break;
case TAP_MINE: c = 'M'; break;
default: ASSERT(0); c = '0'; break;
}
sRet.append(1, c);