From 60e23ea5521143fdcffbf529763f628cf88a74ca Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 4 Apr 2024 02:57:31 +0200 Subject: Made vars private --- FICS/ratings.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'FICS') diff --git a/FICS/ratings.c b/FICS/ratings.c index b9a4bfc..b72f81e 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -44,27 +44,21 @@ #define Gp 0.000010072398601964 // End of Glicko system variables -PUBLIC double Ratings_B_Average; -PUBLIC double Ratings_B_StdDev; - -PUBLIC double Ratings_S_Average; -PUBLIC double Ratings_S_StdDev; - -PUBLIC double Ratings_L_Average; -PUBLIC double Ratings_L_StdDev; - -PUBLIC double Ratings_W_Average; -PUBLIC double Ratings_W_StdDev; +PRIVATE double Ratings_B_Average; +PRIVATE double Ratings_B_StdDev; +PRIVATE double Ratings_S_Average; +PRIVATE double Ratings_S_StdDev; +PRIVATE double Ratings_L_Average; +PRIVATE double Ratings_L_StdDev; +PRIVATE double Ratings_W_Average; +PRIVATE double Ratings_W_StdDev; PRIVATE double Rb_M = 0.0, Rb_S = 0.0, Rb_total = 0.0; PRIVATE int Rb_count = 0; - PRIVATE double Rs_M = 0.0, Rs_S = 0.0, Rs_total = 0.0; PRIVATE int Rs_count = 0; - PRIVATE double Rl_M = 0.0, Rl_S = 0.0, Rl_total = 0.0; PRIVATE int Rl_count = 0; - PRIVATE double Rw_M = 0.0, Rw_S = 0.0, Rw_total = 0.0; PRIVATE int Rw_count = 0; -- cgit v1.2.3