use mixed case values for enum Grade so that enum matches strings matches Lua

This commit is contained in:
Chris Danford
2005-08-14 11:38:31 +00:00
parent b1010041a2
commit 70d1f0eadb
16 changed files with 116 additions and 116 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ bool HighScoreImpl::operator==( const HighScoreImpl& other ) const
HighScoreImpl::HighScoreImpl()
{
sName = "";
grade = GRADE_NO_DATA;
grade = Grade_NoData;
iScore = 0;
fPercentDP = 0;
fSurviveSeconds = 0;
@@ -137,7 +137,7 @@ void HighScoreImpl::LoadFromNode( const XNode *pNode )
pNode->GetChildValue( "LifeRemainingSeconds", fLifeRemainingSeconds );
/* Validate input. */
grade = clamp( grade, GRADE_TIER01, GRADE_FAILED );
grade = clamp( grade, Grade_Tier01, Grade_Failed );
}
REGISTER_CLASS_TRAITS( HighScoreImpl, new HighScoreImpl(*pCopy) )