X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fbook.c;h=ae3956fa0b2910ed89e2752026f4ced80a43987f;hb=95369c6cb63d6513f7381dc3cc92c1f34044c607;hp=d5fa7acee51e2a686ff4c4bb4bc2735e7d92467d;hpb=1ea53ec86415316844abc71728f155bcb194bf7f;p=gnushogi.git diff --git a/gnushogi/book.c b/gnushogi/book.c index d5fa7ac..ae3956f 100644 --- a/gnushogi/book.c +++ b/gnushogi/book.c @@ -2,11 +2,14 @@ * 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 * * 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,8 +292,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; @@ -310,8 +312,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; @@ -874,8 +875,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); } @@ -886,8 +886,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; } }