return (s.(scores(scorefield)) += score);
}
-float PlayerScore_Get(entity player, PlayerScoreField scorefield)
-{
- return player.scorekeeper.scores(scorefield);
-}
-
float PlayerTeamScore_Add(entity player, PlayerScoreField pscorefield, float tscorefield, float score)
{
float r;
* \param[in] scorefield Field of the score.
* \return Player's score.
*/
-float PlayerScore_Get(entity player, PlayerScoreField scorefield);
+#define PlayerScore_Get(player, scorefield) PlayerScore_Add(player, scorefield, 0)
/**
* Initialize the score of this player if needed.