//- AddWhite ---------------------------------
void TourneyPlayers::AddWhite(void) {
consecutiveWhites++;
+ totalWhites++; // [HGM] this varable did not seem to get updater anywhere
ChangeColorDue(0);
ClearBlacks();
}//- end AddWhite
//- AddBlack ---------------------------------
void TourneyPlayers::AddBlack(void) {
consecutiveBlacks++;
+ totalBlacks++; // [HGM] this varable did not seem to get updater anywhere
ChangeColorDue(1);
ClearWhites();
}//- end AddBlack
consecutiveBlacks = 0;
}//- end ClearBlacks
+//- ClearTotalWhites ---------------------------------
+void TourneyPlayers::ClearTotalWhites(void) {
+ totalWhites = 0;
+}//- end ClearTotalWhites
+
+//- ClearTotalBlacks ---------------------------------
+void TourneyPlayers::ClearTotalBlacks(void) {
+ totalBlacks = 0;
+}//- end ClearTotalBlacks
+
//- GetTotalWhites ---------------------------------
int TourneyPlayers::GetTotalWhites(void) {
return totalWhites;