Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dds-bridge/dds
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenhein committed Jun 28, 2015
2 parents 621c96e + 0cb353a commit 4d9c0a8
Show file tree
Hide file tree
Showing 37 changed files with 46 additions and 45 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ DDS offers a wide range of functions, including par-score calculations.

Please refer to the [home page](http://privat.bahnhof.se/wb758135) for details.

The current version is DDS 2.8.0 released in November 2014 and licensed under the Apache 2.0 license in the LICENSE FILE.
The current version is DDS 2.8.1 released in January 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.

Release notes are in the ChangeLog file.

(c) Bo Haglund 2006-2014, (c) Bo Haglund / Soren Hein 2014.
(c) Bo Haglund 2006-2014, (c) Bo Haglund / Soren Hein 2014-2015.


Credits
Expand Down Expand Up @@ -83,7 +83,7 @@ The DDS library interface is very well documented. You find the docs, including

Bugs
====
Version 2.8.0 has no known bugs.
Version 2.8.1 has no known bugs.

Please report bugs to [email protected] and [email protected].

6 changes: 3 additions & 3 deletions include/dll.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand All @@ -26,8 +26,8 @@
#define EXTERN_C
#endif

/* Version 2.8.0. Allowing for 2 digit minor versions */
#define DDS_VERSION 20800
/* Version 2.8.1. Allowing for 2 digit minor versions */
#define DDS_VERSION 20801


#define DDS_HANDS 4
Expand Down
2 changes: 1 addition & 1 deletion include/portab.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ABsearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ABsearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ABstats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ABstats.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/CalcTables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/DealerPar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Init.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LaterTricks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LaterTricks.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Moves.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Moves.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PBN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PBN.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Par.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/PlayAnalyser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/QuickTricks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/QuickTricks.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/SolveBoard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/SolveBoard.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
11 changes: 6 additions & 5 deletions src/SolverIF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down Expand Up @@ -1103,7 +1103,7 @@ void LastTrickWinner(
{
hp = handId(dl->first, h);
lastTrickSuit[hp] = dl->currentTrickSuit[h];
lastTrickRank[hp] = bitMapRank[dl->currentTrickRank[h]];
lastTrickRank[hp] = dl->currentTrickRank[h];
}

for (h = handRelFirst; h < DDS_HANDS; h++)
Expand All @@ -1114,7 +1114,7 @@ void LastTrickWinner(
if (thrp->suit[hp][s] != 0)
{
lastTrickSuit[hp] = s;
lastTrickRank[hp] = thrp->suit[hp][s];
lastTrickRank[hp] = highestRank[thrp->suit[hp][s]];
break;
}
}
Expand Down Expand Up @@ -1157,8 +1157,9 @@ void LastTrickWinner(
}
}

* leadRank = lastTrickRank[handRelFirst];
* leadSuit = lastTrickSuit[handRelFirst];
hp = handId(dl->first, handRelFirst);
* leadRank = lastTrickRank[hp];
* leadSuit = lastTrickSuit[hp];
* leadSideWins = ((handToPlay == maxHand ||
partner[handToPlay] == maxHand) ? 1 : 0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/SolverIF.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/TransTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/TransTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/dds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/dds.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/threadmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DDS, a bridge double dummy solver.
Copyright (C) 2006-2014 by Bo Haglund /
2014 by Bo Haglund & Soren Hein.
2014-2015 by Bo Haglund & Soren Hein.
See LICENSE and README.
*/
Expand Down

0 comments on commit 4d9c0a8

Please sign in to comment.