Skip to content

Commit

Permalink
Merge branch 'version-282-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenhein committed Jun 29, 2015
2 parents 4d9c0a8 + a608c3c commit 0dc61b9
Show file tree
Hide file tree
Showing 6 changed files with 647 additions and 503 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
*.def
src/[Mm]akefile
test/[Mm]akefile
examples/[Mm]akefile
test/dtest
test/itest
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Release Notes DDS 2.8.2
-----------------------
Fixed bug in the calculation of par score contracts (par score
values were OK) in certain rare cases.

Fixed a typo in in the CalcAllTables.cpp example in the examples
directory.


Release Notes DDS 2.8.1
-----------------------
Added Makefile for shared library (.d) under Linux. Contributed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.1 released in January 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.
The current version is DDS 2.8.2 released in June 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.

Release notes are in the ChangeLog file.

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.1 has no known bugs.
Version 2.8.2 has no known bugs.

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

2 changes: 1 addition & 1 deletion examples/CalcAllTablesPBN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main()
ddTablesRes tableRes;
allParResults pres;

int mode = 0: // No par calculation
int mode = 0; // No par calculation
int trumpFilter[DDS_STRAINS] = {0, 0, 0, 0, 0}; // All
int res;
char line[80];
Expand Down
11 changes: 9 additions & 2 deletions include/dll.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#define EXTERN_C
#endif

/* Version 2.8.1. Allowing for 2 digit minor versions */
#define DDS_VERSION 20801
/* Version 2.8.2. Allowing for 2 digit minor versions */
#define DDS_VERSION 20802


#define DDS_HANDS 4
Expand Down Expand Up @@ -259,6 +259,13 @@ struct allParResults

struct parResultsDealer
{
/* number: Number of contracts yielding the par score.
score: Par score for the specified dealer hand.
contracts: Par contract text strings. The first contract
is in contracts[0], the last one in contracts[number-1].
The detailed text format is is given in the DLL interface
document.
*/
int number;
int score;
char contracts[10][10];
Expand Down
Loading

0 comments on commit 0dc61b9

Please sign in to comment.