add #CHARTSTYLE tag to Steps for .ssc files; Keyboard/Pad/whatever else you can think of, just keep it standardized

This commit is contained in:
AJ Kelly
2011-02-14 20:53:15 -06:00
parent db8bc289a3
commit 95af29b5e4
6 changed files with 33 additions and 2 deletions
+8
View File
@@ -67,6 +67,11 @@ public:
* @return the description used for this edit.
*/
RString GetDescription() const { return Real()->m_sDescription; }
/**
* @brief Retrieve the ChartStyle used for this chart.
* @return the description used for this chart.
*/
RString GetChartStyle() const { return Real()->m_sChartStyle; }
/**
* @brief Retrieve the difficulty used for this edit.
* @return the difficulty used for this edit.
@@ -92,6 +97,7 @@ public:
void SetDescription( RString sDescription ) { SetDifficultyAndDescription( this->GetDifficulty(), sDescription ); }
void SetDifficultyAndDescription( Difficulty dc, RString sDescription );
void SetCredit( RString sCredit );
void SetChartStyle( RString sChartStyle );
static bool MakeValidEditDescription( RString &sPreferredDescription ); // return true if was modified
void SetLoadedFromProfile( ProfileSlot slot ) { m_LoadedFromProfile = slot; }
@@ -146,6 +152,8 @@ private:
/** @brief The name of the edit, or some other useful description.
This used to also contain the step author's name. */
RString m_sDescription;
/** @brief The style of the chart. (e.g. "Pad", "Keyboard") */
RString m_sChartStyle;
/** @brief The difficulty that these steps are assigned to. */
Difficulty m_Difficulty;
/** @brief The numeric difficulty of the Steps, ranging from MIN_METER to MAX_METER. */