add HighScore:GetGrade() Lua binding.
This commit is contained in:
@@ -9,6 +9,19 @@ Not all changes are documented, for various reasons.
|
|||||||
supported but exist anyways.)
|
supported but exist anyways.)
|
||||||
_____________________________________________________________________________
|
_____________________________________________________________________________
|
||||||
|
|
||||||
|
20100619
|
||||||
|
--------
|
||||||
|
* [HighScore] add GetGrade() Lua binding.
|
||||||
|
|
||||||
|
20100618
|
||||||
|
--------
|
||||||
|
* Allow RShift+Print Screen to take uncompressed screenshots.
|
||||||
|
|
||||||
|
20100614
|
||||||
|
--------
|
||||||
|
* Attempt to fix screenshot numbering bug. Seems to work, if testing is
|
||||||
|
any indication.
|
||||||
|
|
||||||
20100612
|
20100612
|
||||||
--------
|
--------
|
||||||
* sm4svn r28359-r28364. [Chris Danford]
|
* sm4svn r28359-r28364. [Chris Danford]
|
||||||
|
|||||||
+3
-1
@@ -143,7 +143,7 @@ void HighScoreImpl::LoadFromNode( const XNode *pNode )
|
|||||||
pNode->GetChildValue( "LifeRemainingSeconds", fLifeRemainingSeconds );
|
pNode->GetChildValue( "LifeRemainingSeconds", fLifeRemainingSeconds );
|
||||||
pNode->GetChildValue( "Disqualified", bDisqualified);
|
pNode->GetChildValue( "Disqualified", bDisqualified);
|
||||||
|
|
||||||
/* Validate input. */
|
// Validate input.
|
||||||
grade = clamp( grade, Grade_Tier01, Grade_Failed );
|
grade = clamp( grade, Grade_Tier01, Grade_Failed );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -436,6 +436,7 @@ public:
|
|||||||
rv.PushSelf(L);
|
rv.PushSelf(L);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
DEFINE_METHOD( GetGrade, GetGrade() )
|
||||||
|
|
||||||
LunaHighScore()
|
LunaHighScore()
|
||||||
{
|
{
|
||||||
@@ -450,6 +451,7 @@ public:
|
|||||||
ADD_METHOD( GetTapNoteScore );
|
ADD_METHOD( GetTapNoteScore );
|
||||||
ADD_METHOD( GetHoldNoteScore );
|
ADD_METHOD( GetHoldNoteScore );
|
||||||
ADD_METHOD( GetRadarValues );
|
ADD_METHOD( GetRadarValues );
|
||||||
|
ADD_METHOD( GetGrade );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user