#include "EnumHelper.h"
Go to the source code of this file.
Defines | |
#define | FOREACH_Difficulty(dc) FOREACH_ENUM( Difficulty, NUM_DIFFICULTIES, dc ) |
#define | NUM_COURSE_DIFFICULTIES NUM_DIFFICULTIES |
#define | FOREACH_CourseDifficulty FOREACH_Difficulty |
#define | FOREACH_ShownCourseDifficulty(cd) for( Difficulty cd=GetNextShownCourseDifficulty((CourseDifficulty)-1); cd!=DIFFICULTY_INVALID; cd=GetNextShownCourseDifficulty(cd) ) |
Typedefs | |
typedef Difficulty | CourseDifficulty |
Enumerations | |
enum | Difficulty { DIFFICULTY_BEGINNER, DIFFICULTY_EASY, DIFFICULTY_MEDIUM, DIFFICULTY_HARD, DIFFICULTY_CHALLENGE, DIFFICULTY_EDIT, NUM_DIFFICULTIES, DIFFICULTY_INVALID } |
Functions | |
const CString & | DifficultyToString (Difficulty dc) |
CString | DifficultyToThemedString (Difficulty dc) |
Difficulty | StringToDifficulty (const CString &sDC) |
const CString & | CourseDifficultyToString (Difficulty dc) |
CString | CourseDifficultyToThemedString (Difficulty dc) |
Difficulty | StringToCourseDifficulty (const CString &sDC) |
Difficulty | GetNextShownCourseDifficulty (Difficulty pn) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|