summaryrefslogtreecommitdiff
path: root/bearoffdump.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
committerRuss Allbery <rra@debian.org>2017-12-20 21:48:48 -0800
commit89adbd59353dd3a0944de2c86288976329f2b1dc (patch)
tree050c4b8b379636dda63d2e9290df797cb3ec2d7a /bearoffdump.c
parenta92a560637b87da633f44af0049f55e419a0dd05 (diff)
New upstream version 1.06.001
Diffstat (limited to 'bearoffdump.c')
-rw-r--r--bearoffdump.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/bearoffdump.c b/bearoffdump.c
index 6e330b0..3484afe 100644
--- a/bearoffdump.c
+++ b/bearoffdump.c
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: bearoffdump.c,v 1.23 2015/10/14 21:39:17 plm Exp $
+ * $Id: bearoffdump.c,v 1.24 2017/01/04 22:55:45 plm Exp $
*/
#include "config.h"
@@ -29,6 +29,7 @@
#include "bearoff.h"
#include "multithread.h"
#include "backgammon.h"
+#include "drawboard.h"
extern void
MT_CloseThreads(void)
@@ -120,6 +121,15 @@ main(int argc, char **argv)
PositionFromBearoff(anBoard[1], nUs, pbc->nPoints, pbc->nChequers);
}
+ /* board */
+
+ {
+ char szOut[2048];
+ char *ap[7] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL };
+
+ puts(DrawBoard(szOut, (ConstTanBoard) anBoard, TRUE, ap, NULL, 15));
+ }
+
/* dump req. position */
*sz = 0;