name cleanup: NotesType -> StepsType

This commit is contained in:
Chris Danford
2004-07-12 02:19:24 +00:00
parent 6001123924
commit d412ab055d
20 changed files with 82 additions and 82 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ XNode* TrailID::CreateNode() const
XNode* pNode = new XNode;
pNode->name = "Trail";
pNode->AppendAttr( "StepsType", GameManager::NotesTypeToString(st) );
pNode->AppendAttr( "StepsType", GameManager::StepsTypeToString(st) );
pNode->AppendAttr( "CourseDifficulty", CourseDifficultyToString(cd) );
return pNode;
@@ -52,7 +52,7 @@ void TrailID::LoadFromNode( const XNode* pNode )
CString sTemp;
pNode->GetAttrValue("StepsType", sTemp);
st = GameManager::StringToNotesType( sTemp );
st = GameManager::StringToStepsType( sTemp );
pNode->GetAttrValue("CourseDifficulty", sTemp);
cd = StringToCourseDifficulty( sTemp );
@@ -60,7 +60,7 @@ void TrailID::LoadFromNode( const XNode* pNode )
CString TrailID::ToString() const
{
CString s = GameManager::NotesTypeToString(st);
CString s = GameManager::StepsTypeToString(st);
s += " " + CourseDifficultyToString(cd);
return s;
}