summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Aktywator.txt4
-rw-r--r--Aktywator/Bws.cs11
-rw-r--r--Aktywator/Resources/BuildDate.txt2
3 files changed, 14 insertions, 3 deletions
diff --git a/Aktywator.txt b/Aktywator.txt
index b627842..296a24c 100644
--- a/Aktywator.txt
+++ b/Aktywator.txt
@@ -2,6 +2,10 @@
- nie działa zbieranie danych pośrednich, gdy wczytane są rozkłady (dane są zbierane w BWS, ale Kolektor Teamów ich nie czyta - potencjalny bug w Kolektorze)
- nie działa update ustawienia maksowania każdego sektora w czasie sesji (samo maksowanie ustawione na początku sesji - działa); nie da się również zmienić sposoby liczenia (maksy/butler/cavendish) w trakcie sesji - ograniczenia BCS
+Aktywator 1.16
+??.??.???? [mkl]
+ * wersja z poprawkami błędów
+
Aktywator 1.1.5
17.11.2018 [mkl]
* poprawa bezpieczeństwa PINów
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 36ef372..126a60f 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -733,6 +733,13 @@ namespace Aktywator
}
pairs[sectionNumber].Add(new PairPosition { pairNo = nsPairNumber, position = "NS", table = tableNumber });
pairs[sectionNumber].Add(new PairPosition { pairNo = ewPairNumber, position = "EW", table = tableNumber });
+ if (tournament.type == Tournament.TYPE_TEAMY && MainForm.teamNames.arePlayerNamesDisplayed())
+ {
+ sectionPairs[sectionNumber].Add(nsPairNumber + TeamNamesSettings.OpenClosedDiff);
+ sectionPairs[sectionNumber].Add(ewPairNumber + TeamNamesSettings.OpenClosedDiff);
+ pairs[sectionNumber].Add(new PairPosition { pairNo = nsPairNumber + TeamNamesSettings.OpenClosedDiff, position = "EW", table = tableNumber + SKOK_STOLOW });
+ pairs[sectionNumber].Add(new PairPosition { pairNo = ewPairNumber + TeamNamesSettings.OpenClosedDiff, position = "NS", table = tableNumber + SKOK_STOLOW });
+ }
}
d.Close();
@@ -833,13 +840,13 @@ namespace Aktywator
PairPosition pair = pairs[sections.Key].Find(delegate(PairPosition p) { return p.pairNo == pairNumber; });
for (int i = 0; i < names[pair.pairNo].Count; i++) {
countNew += this.updateName(sections.Key.ToString(), pair.table.ToString(), pair.position[i].ToString(), names[pair.pairNo][i]);
- if (tournament.type == Tournament.TYPE_TEAMY)
+ if (tournament.type == Tournament.TYPE_TEAMY && !MainForm.teamNames.arePlayerNamesDisplayed())
{
char otherTableSeat = seatMapping[(Array.IndexOf(seatMapping, pair.position[i]) + 2) % 4];
countNew += this.updateName(sections.Key.ToString(), (pair.table + SKOK_STOLOW).ToString(), otherTableSeat.ToString(), names[pair.pairNo][i]);
}
}
- count += names[pair.pairNo].Count * ((tournament.type == Tournament.TYPE_TEAMY) ? 2 : 1);
+ count += names[pair.pairNo].Count * ((tournament.type == Tournament.TYPE_TEAMY && !MainForm.teamNames.arePlayerNamesDisplayed()) ? 2 : 1);
}
}
}
diff --git a/Aktywator/Resources/BuildDate.txt b/Aktywator/Resources/BuildDate.txt
index aeb1927..48f4768 100644
--- a/Aktywator/Resources/BuildDate.txt
+++ b/Aktywator/Resources/BuildDate.txt
@@ -1 +1 @@
-2018-11-18
+2019-07-24