clean up enum Message names so that they match the corresponding strings

This commit is contained in:
Chris Danford
2005-08-14 07:29:48 +00:00
parent 09386e06e3
commit 7191258c0a
13 changed files with 92 additions and 92 deletions
+45 -45
View File
@@ -29,52 +29,52 @@ struct lua_State;
enum Message
{
MESSAGE_CURRENT_STYLE_CHANGED,
MESSAGE_PLAY_MODE_CHANGED,
MESSAGE_CURRENT_SONG_CHANGED,
MESSAGE_CURRENT_STEPS_P1_CHANGED,
MESSAGE_CURRENT_STEPS_P2_CHANGED,
MESSAGE_CURRENT_COURSE_CHANGED,
MESSAGE_CURRENT_TRAIL_P1_CHANGED,
MESSAGE_CURRENT_TRAIL_P2_CHANGED,
MESSAGE_EDIT_STEPS_TYPE_CHANGED,
MESSAGE_EDIT_SOURCE_STEPS_CHANGED,
MESSAGE_EDIT_SOURCE_STEPS_TYPE_CHANGED,
MESSAGE_EDIT_PREFERRED_DIFFICULTY_P1_CHANGED,
MESSAGE_EDIT_PREFERRED_DIFFICULTY_P2_CHANGED,
MESSAGE_EDIT_PREFERRED_COURSE_DIFFICULTY_P1_CHANGED,
MESSAGE_EDIT_PREFERRED_COURSE_DIFFICULTY_P2_CHANGED,
MESSAGE_EDIT_COURSE_ENTRY_INDEX_CHANGED,
Message_CurrentStyleChanged,
Message_PlayModeChanged,
Message_CurrentSongChanged,
Message_CurrentStepsP1Changed,
Message_CurrentStepsP2Changed,
Message_CurrentCourseChanged,
Message_CurrentTrailP1Changed,
Message_CurrentTrailP2Changed,
Message_EditStepsTypeChanged,
Message_EditSourceStepsChanged,
Message_EditSourceStepsTypeChanged,
Message_PreferredDifficultyP1Changed,
Message_PreferredDifficultyP2Changed,
Message_PreferredCourseDifficultyP1Changed,
Message_PreferredCourseDifficultyP2Changed,
Message_EditCourseEntryIndexChanged,
Message_EditLocalProfileIDChanged,
MESSAGE_GOAL_COMPLETE_P1,
MESSAGE_GOAL_COMPLETE_P2,
MESSAGE_NOTE_CROSSED,
MESSAGE_NOTE_WILL_CROSS_IN_500MS,
MESSAGE_NOTE_WILL_CROSS_IN_1000MS,
MESSAGE_NOTE_WILL_CROSS_IN_1500MS,
MESSAGE_CARD_REMOVED_P1,
MESSAGE_CARD_REMOVED_P2,
MESSAGE_BEAT_CROSSED,
MESSAGE_MENU_UP_P1,
MESSAGE_MENU_UP_P2,
MESSAGE_MENU_DOWN_P1,
MESSAGE_MENU_DOWN_P2,
MESSAGE_MENU_LEFT_P1,
MESSAGE_MENU_LEFT_P2,
MESSAGE_MENU_RIGHT_P1,
MESSAGE_MENU_RIGHT_P2,
MESSAGE_MADE_CHOICE_P1,
MESSAGE_MADE_CHOICE_P2,
MESSAGE_COIN_INSERTED,
MESSAGE_SIDE_JOINED_P1,
MESSAGE_SIDE_JOINED_P2,
MESSAGE_PLAYERS_FINALIZED,
MESSAGE_ASSIST_TICK_CHANGED,
MESSAGE_AUTOSYNC_CHANGED,
MESSAGE_PREFERRED_SONG_GROUP_CHANGED,
MESSAGE_PREFERRED_COURSE_GROUP_CHANGED,
NUM_MESSAGES, // leave this at the end
MESSAGE_INVALID
Message_GoalCompleteP1,
Message_GoalCompleteP2,
Message_NoteCrossed,
Message_NoteWillCrossIn500Ms,
Message_NoteWillCrossIn1000Ms,
Message_NoteWillCrossIn1500Ms,
Message_CardRemovedP1,
Message_CardRemovedP2,
Message_BeatCrossed,
Message_MenuUpP1,
Message_MenuUpP2,
Message_MenuDownP1,
Message_MenuDownP2,
Message_MenuLeftP1,
Message_MenuLeftP2,
Message_MenuRightP1,
Message_MenuRightP2,
Message_MadeChoiceP1,
Message_MadeChoiceP2,
Message_CoinInserted,
Message_SideJoinedP1,
Message_SideJoinedP2,
Message_PlayersFinalized,
Message_AssistTickChanged,
Message_AutosyncChanged,
Message_PreferredSongGroupChanged,
Message_PreferredCourseGroupChanged,
NUM_Message, // leave this at the end
Message_Invalud
};
const CString& MessageToString( Message m );