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
+7
View File
@@ -319,6 +319,7 @@ void Steps::DeAutogen( bool bCopyNoteData )
Decompress(); // fills in m_pNoteData with sliding window transform
m_sDescription = Real()->m_sDescription;
m_sChartStyle = Real()->m_sChartStyle;
m_Difficulty = Real()->m_Difficulty;
m_iMeter = Real()->m_iMeter;
copy( Real()->m_CachedRadarValues, Real()->m_CachedRadarValues + NUM_PLAYERS, m_CachedRadarValues );
@@ -372,6 +373,12 @@ void Steps::SetCredit( RString sCredit )
m_sCredit = sCredit;
}
void Steps::SetChartStyle( RString sChartStyle )
{
DeAutogen();
m_sChartStyle = sChartStyle;
}
bool Steps::MakeValidEditDescription( RString &sPreferredDescription )
{
if( int(sPreferredDescription.size()) > MAX_EDIT_STEPS_DESCRIPTION_LENGTH )