]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/scores.qh
Merge branch 'terencehill/playerlist_layout' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / scores.qh
index 3449f2b53ee5b950b2d2916d8e593509decdece3..8f22b5c7525bcea5c80f01d594c9fc38a11660a7 100644 (file)
@@ -3,11 +3,11 @@
 #define MAX_SCORE 64
 
 #define REGISTER_SP(id) REGISTER(Scores, SP, id, m_id, new_pure(PlayerScoreField))
-REGISTRY(Scores, MAX_SCORE);
+REGISTRY(Scores, MAX_SCORE)
 REGISTER_REGISTRY(Scores)
 // do not sort alphabetically, player sort priority is based on score registration order
-//REGISTRY_SORT(Scores);
-REGISTRY_CHECK(Scores);
+//REGISTRY_SORT(Scores)
+REGISTRY_CHECK(Scores)
 
 REGISTRY_DEFINE_GET(Scores, NULL)
 STATIC_INIT(Scores_renumber) { FOREACH(Scores, true, it.m_id = i); }
@@ -60,6 +60,13 @@ REGISTER_SP(NEXBALL_FAULTS);
 REGISTER_SP(ONS_CAPS);
 REGISTER_SP(ONS_TAKES);
 
+REGISTER_SP(TKA_PICKUPS);
+REGISTER_SP(TKA_BCTIME);
+REGISTER_SP(TKA_CARRIERKILLS);
+
+REGISTER_SP(SURV_SURVIVALS);
+REGISTER_SP(SURV_HUNTS);
+
 REGISTER_SP(SCORE);
 REGISTER_SP(KILLS);
 REGISTER_SP(DEATHS);
@@ -68,6 +75,8 @@ REGISTER_SP(SUICIDES);
 REGISTER_SP(DMG);
 REGISTER_SP(DMGTAKEN);
 
+REGISTER_SP(ROUNDS_PL);
+
 REGISTER_SP(ELO); // not sortable
 REGISTER_SP(FPS); // not sortable