]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move scoreboard stuff into the scoreboard file
authorterencehill <piuntn@gmail.com>
Wed, 31 Aug 2016 22:37:51 +0000 (00:37 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 31 Aug 2016 22:37:51 +0000 (00:37 +0200)
qcsrc/client/hud/panel/scoreboard.qc
qcsrc/client/main.qh

index d78bb2e548fe3c243c6a342b6a47cabfdffa78ce..f82c7345ca0c7d3afdc84102cd5a728afa54c6ed 100644 (file)
 
 // Scoreboard (#24)
 
+const int MAX_SBT_FIELDS = MAX_SCORE;
+
+PlayerScoreField sbt_field[MAX_SBT_FIELDS + 1];
+float sbt_field_size[MAX_SBT_FIELDS + 1];
+string sbt_field_title[MAX_SBT_FIELDS + 1];
+int sbt_num_fields;
+
 string autocvar_hud_fontsize;
 string hud_fontsize_str;
 
index 9da7547299dd013e27e8e93731fc7599b70948f3..0a096f962a8f9b7f90c446bc864e6b4403abd6ea 100644 (file)
@@ -40,13 +40,6 @@ void LoadMenuSkinValues();
 // --------------------------------------------------------------------------
 // Scoreboard stuff
 
-const int MAX_SBT_FIELDS = MAX_SCORE;
-
-PlayerScoreField sbt_field[MAX_SBT_FIELDS + 1];
-float sbt_field_size[MAX_SBT_FIELDS + 1];
-string sbt_field_title[MAX_SBT_FIELDS + 1];
-int sbt_num_fields;
-
 vector hud_fontsize;
 
 float RANKINGS_RECEIVED_CNT;