diff --git a/stepmania/src/GameManager.cpp b/stepmania/src/GameManager.cpp index 94ebc40be9..42f8c4d122 100644 --- a/stepmania/src/GameManager.cpp +++ b/stepmania/src/GameManager.cpp @@ -1684,6 +1684,15 @@ NotesType GameManager::StringToNotesType( CString sNotesType ) return NOTES_TYPE_DANCE_SINGLE; } +Game GameManager::StringToGameType( CString sGameType ) +{ + for( int i=0; i= NUM_NOTES_TYPES) diff --git a/stepmania/src/GameManager.h b/stepmania/src/GameManager.h index 3dfe300498..b9979d0649 100644 --- a/stepmania/src/GameManager.h +++ b/stepmania/src/GameManager.h @@ -57,6 +57,7 @@ public: static int NotesTypeToNumTracks( NotesType nt ); static NotesType StringToNotesType( CString sNotesType ); static CString NotesTypeToString( NotesType nt ); + static Game StringToGameType( CString sGameType ); protected: