X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fbook.c;h=009e409493e9197af19f90be5b33667455fd73c0;hb=3abc03f7170b55bfcf97c4009abb570f62e48a24;hp=cadefa3a63804726bb1411d5ec82d528b36b7b1d;hpb=82b026e6376b640a4d3409a461dd6bd83708e33e;p=gnushogi.git diff --git a/gnushogi/book.c b/gnushogi/book.c index cadefa3..009e409 100644 --- a/gnushogi/book.c +++ b/gnushogi/book.c @@ -2,11 +2,15 @@ * FILE: book.c * * ---------------------------------------------------------------------- - * - * Copyright (c) 2012 Free Software Foundation + * Copyright (c) 1993, 1994, 1995 Matthias Mutz + * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * + * Copyright (c) 1988, 1989, 1990 John Stanback + * Copyright (c) 1992 Free Software Foundation + * * This file is part of GNU SHOGI. * * GNU Shogi is free software; you can redistribute it and/or modify it @@ -289,9 +293,7 @@ BVerifyMove(char *s, unsigned short *mv, int moveno) UnmakeMove(opponent, &xnode, &tempb, &tempc, &tempsf, &tempst); /* Illegal move in check */ #if !defined QUIETBOOKGEN - /* 077: "Illegal move (in check) %s" */ - printf(CP[77]); - printf("\n"); + puts("Illegal move (in check) %s"); bkdisplay(s, cnt, moveno); #endif return false; @@ -311,8 +313,7 @@ BVerifyMove(char *s, unsigned short *mv, int moveno) /* Illegal move */ #if !defined QUIETBOOKGEN - /* 075: "Illegal move (no match)%s\n" */ - printf(CP[75], s); + printf("Illegal move (no match) %s\n", s); bkdisplay(s, cnt, moveno); #endif return false; @@ -875,8 +876,7 @@ GetOpenings(void) } - /* 213: "Book used %d(%d)." */ - sprintf(msg, CP[213], B.bookcount, B.booksize); + sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); ShowMessage(msg); } @@ -887,8 +887,7 @@ GetOpenings(void) /* Now get ready to play .*/ if (!B.bookcount) { - /* 212: "Can't find book." */ - ShowMessage(CP[212]); + ShowMessage("Can't find book."); Book = 0; } }