X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fbook.c;h=009e409493e9197af19f90be5b33667455fd73c0;hb=1950330c6bfee3abf748a81d85afad03b7c768a4;hp=08b2c473f0a8ba808571bc3622b2a20c7b945192;hpb=9009c8ba46a421e738d3ea57564e2df44dcaf3c5;p=gnushogi.git diff --git a/gnushogi/book.c b/gnushogi/book.c index 08b2c47..009e409 100644 --- a/gnushogi/book.c +++ b/gnushogi/book.c @@ -4,6 +4,7 @@ * ---------------------------------------------------------------------- * 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 * @@ -292,8 +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" */ - puts(CP[77]); + puts("Illegal move (in check) %s"); bkdisplay(s, cnt, moveno); #endif return false; @@ -313,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; @@ -877,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); } @@ -889,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; } }