stats.xml:

theme more elements
show HighScore details
clean up some tables
This commit is contained in:
Chris Danford
2004-07-19 08:05:14 +00:00
parent e9327c9bb8
commit 9199410e82
11 changed files with 88 additions and 25 deletions
+3 -4
View File
@@ -44,7 +44,7 @@ XNode* HighScore::CreateNode() const
pNode->AppendChild( "PercentDP", fPercentDP );
pNode->AppendChild( "SurviveSeconds", fSurviveSeconds );
pNode->AppendChild( "Modifiers", sModifiers );
pNode->AppendChild( "Time", (int)time );
pNode->AppendChild( "DateTime", dateTime );
pNode->AppendChild( "PlayerGuid", sPlayerGuid );
pNode->AppendChild( "MachineGuid", sMachineGuid );
pNode->AppendChild( "ProductID", iProductID );
@@ -54,8 +54,7 @@ XNode* HighScore::CreateNode() const
XNode* pHoldNoteScores = pNode->AppendChild( "HoldNoteScores" );
FOREACH_HoldNoteScore( hns )
pHoldNoteScores->AppendChild( HoldNoteScoreToString(hns), iHoldNoteScores[hns] );
XNode* pRadarCategories = pNode->AppendChild( "RadarActuals" );
pRadarCategories->AppendChild( radarValues.CreateNode() );
pNode->AppendChild( radarValues.CreateNode() );
return pNode;
}
@@ -77,7 +76,7 @@ void HighScore::LoadFromNode( const XNode* pNode )
pNode->GetChildValue( "PercentDP", fPercentDP );
pNode->GetChildValue( "SurviveSeconds", fSurviveSeconds );
pNode->GetChildValue( "Modifiers", sModifiers );
pNode->GetChildValue( "Time", (int&)time );
pNode->GetChildValue( "DateTime", dateTime );
pNode->GetChildValue( "PlayerGuid", sPlayerGuid );
pNode->GetChildValue( "MachineGuid", sMachineGuid );
pNode->GetChildValue( "ProductID", iProductID );