The people voted: different namings upcoming.

Old #DESCRIPTION will become #CHARTNAME.
#DESCRIPTION will now be used for general comments
or other theme related stuff.

Old SSC files will have their #DESCRIPTION converted
to #CHARTNAME when completed.
This commit is contained in:
Jason Felds
2011-07-07 13:40:19 -04:00
parent fc19060491
commit c4ee0110d0
4 changed files with 11 additions and 43 deletions
+2 -13
View File
@@ -145,17 +145,6 @@ void SSCLoader::ProcessScrolls( TimingData &out, const RString sParam )
}
}
void SSCLoader::ProcessWarnings( Steps *out, const RString param)
{
vector<RString> splitWarnings;
split(param, ",", splitWarnings);
FOREACH(RString, splitWarnings, s)
{
out->SetWarning(*s);
}
}
bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
{
LOG->Trace( "Song::LoadFromSSCFile(%s)", sPath.c_str() );
@@ -456,9 +445,9 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
}
case GETTING_STEP_INFO:
{
if (sValueName=="WARNINGS")
if (sValueName == "CHARTNAME")
{
ProcessWarnings(pNewNotes, sParams[1]);
pNewNotes->SetChartName(sParams[1]);
}
if( sValueName=="STEPSTYPE" )
{