force TypeName arrays for XToString to be an array of const char*, not CString

This commit is contained in:
Glenn Maynard
2006-01-04 22:30:51 +00:00
parent 8ed46bd67f
commit b734b602d2
30 changed files with 65 additions and 56 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
const CString& NoteNotePartToString( NotePart i );
#define FOREACH_NotePart( i ) FOREACH_ENUM( NotePart, NUM_NotePart, i )
static const CString NotePartNames[] = {
static const char *NotePartNames[] = {
"TapNote",
"TapAddition",
"TapMine",
@@ -222,13 +222,13 @@ void NoteColorSprite::Load( const CString &sButton, const CString &sElement )
}
static const CString HoldTypeNames[] = {
static const char *HoldTypeNames[] = {
"hold",
"roll",
};
XToString( HoldType, NUM_HOLD_TYPES );
static const CString ActiveTypeNames[] = {
static const char *ActiveTypeNames[] = {
"active",
"inactive",
};