add Steps::GetID; this should be a unique identifier within a song and

difficulty (but it's not unique yet)
This commit is contained in:
Glenn Maynard
2004-04-16 23:28:20 +00:00
parent 0cf7715dfd
commit bae39968ed
+10
View File
@@ -39,6 +39,16 @@ public:
bool WasLoadedFromProfile() const { return m_LoadedFromProfile != PROFILE_SLOT_INVALID; }
CString GetDescription() const { return Real()->m_sDescription; }
Difficulty GetDifficulty() const { return Real()->m_Difficulty; }
CString GetID() const /* used for Song::GetStepsByID */
{
Difficulty dc = GetDifficulty();
ASSERT( dc != DIFFICULTY_INVALID );
if( dc == DIFFICULTY_EDIT )
return GetDescription();
else
return DifficultyToString(dc);
}
int GetMeter() const { return Real()->m_iMeter; }
const RadarValues& GetRadarValues() const { return Real()->m_RadarValues; }