From b127e12b81c493f8cb77e886160722b78a0acee5 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 1 Sep 2016 00:37:51 +0200 Subject: [PATCH] Move scoreboard stuff into the scoreboard file --- qcsrc/client/hud/panel/scoreboard.qc | 7 +++++++ qcsrc/client/main.qh | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index d78bb2e54..f82c7345c 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -10,6 +10,13 @@ // 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; diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 9da754729..0a096f962 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -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; -- 2.39.2