]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores.qh
scores sorting: use strict and nonstrict sorting where useful
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores.qh
index 3f97eb5c81f34590c1b4c0880445755ce0ba7ca7..96f15bc804266766b2180ab56f22e99a1d11cf61 100644 (file)
@@ -2,9 +2,6 @@ entity scores_initialized; // non-world when scores labels/rules have been set
 .float scores[MAX_SCORE];
 .float teamscores[MAX_TEAMSCORE];
 
-.float scores_accumulated[MAX_SCORE]; // for player stats only
-FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores_accumulated);
-
 /**
  * Attaches a PlayerScore entity to a player. Use that in ClientConnect.
  * Remember to detach it in ClientDisconnect!
@@ -121,4 +118,4 @@ string GetTeamScoreString(float tm, float shortString);
  * 1. Non-players get 0 written into that field.
  * Returns the beginning of a sorted chain of the non-spectators.
  */
-entity PlayerScore_Sort(.float field);
+entity PlayerScore_Sort(.float field, float strict);