diff --git a/includes/RhythmGameUtilities/Enums/Difficulty.h b/includes/RhythmGameUtilities/Enums/Difficulty.h index 3f3a5f6..e29e47f 100644 --- a/includes/RhythmGameUtilities/Enums/Difficulty.h +++ b/includes/RhythmGameUtilities/Enums/Difficulty.h @@ -5,7 +5,7 @@ namespace RhythmGameUtilities { -enum Difficulty +typedef enum Difficulty { // Easy Difficulty @@ -20,7 +20,7 @@ enum Difficulty // Expert Difficulty Expert -}; +} DifficultyType; std::string ToString(Difficulty difficulty) { diff --git a/includes/RhythmGameUtilities/Enums/NamedSection.h b/includes/RhythmGameUtilities/Enums/NamedSection.h index 7c1d2dd..073b1e4 100644 --- a/includes/RhythmGameUtilities/Enums/NamedSection.h +++ b/includes/RhythmGameUtilities/Enums/NamedSection.h @@ -5,7 +5,7 @@ namespace RhythmGameUtilities { -enum NamedSection +typedef enum NamedSection { /// Song information Song, @@ -15,7 +15,7 @@ enum NamedSection /// Track events Events -}; +} NamedSectionType; std::string ToString(NamedSection namedSection) { diff --git a/includes/RhythmGameUtilities/Enums/TypeCode.h b/includes/RhythmGameUtilities/Enums/TypeCode.h index 7502f2d..aa96836 100644 --- a/includes/RhythmGameUtilities/Enums/TypeCode.h +++ b/includes/RhythmGameUtilities/Enums/TypeCode.h @@ -5,7 +5,7 @@ namespace RhythmGameUtilities { -enum TypeCode +typedef enum TypeCode { /// BPM Marker @@ -20,7 +20,7 @@ enum TypeCode /// Event Marker Event -}; +} TypeCodeType; std::string ToString(TypeCode typeCode) {