X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=count.h;h=8d843c7b70f2c968e7bac5e7189c14299e9e7d26;hb=e6cab1e6d437e7ca15b32795c14a49baf08df5dc;hp=1d8043f9e0fb67b4391c1441532190eac7cd8870;hpb=2d13258e04f6800f1a5d29186a460994e442b4ff;p=remoteglot-book diff --git a/count.h b/count.h index 1d8043f..8d843c7 100644 --- a/count.h +++ b/count.h @@ -3,7 +3,8 @@ struct Count { int white = 0; int draw = 0; int black = 0; - int opening_num = -1; - float avg_white_elo = 0.0; - float avg_black_elo = 0.0; + unsigned int opening_num = 0; + unsigned long long sum_white_elo = 0; + unsigned long long sum_black_elo = 0; + int num_elo = 0; };