Fix bug in setting up w3 and w4 games
[capablanca.git] / lasker-2.2.3 / src / movecheck.h
index 8033261..bc06086 100644 (file)
@@ -1,41 +1,42 @@
-/*
-   Copyright (c) 1993 Richard V. Nash.
-   Copyright (c) 2000 Dan Papasian
-   Copyright (C) Andrew Tridgell 2002
-   
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-   
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-   
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-
-#ifndef _MOVECHECK_H
-#define _MOVECHECK_H
-
-#define MOVE_OK 0
-#define MOVE_ILLEGAL 1
-#define MOVE_STALEMATE 2
-#define MOVE_CHECKMATE 3
-#define MOVE_AMBIGUOUS 4
-#define MOVE_NOMATERIAL 5
-
-#define MS_NOTMOVE 0
-#define MS_COMP 1
-#define MS_COMPDASH 2
-#define MS_ALG 3
-#define MS_KCASTLE 4
-#define MS_QCASTLE 5
-
-#define isrank(c) (((c) <= '8') && ((c) >= '1'))
-#define isfile(c) (((c) >= 'a') && ((c) <= 'h'))
-
-#endif /* _MOVECHECK_H */
+/*\r
+   Copyright (c) 1993 Richard V. Nash.\r
+   Copyright (c) 2000 Dan Papasian\r
+   Copyright (C) Andrew Tridgell 2002\r
+   \r
+   This program is free software; you can redistribute it and/or modify\r
+   it under the terms of the GNU General Public License as published by\r
+   the Free Software Foundation; either version 2 of the License, or\r
+   (at your option) any later version.\r
+   \r
+   This program is distributed in the hope that it will be useful,\r
+   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+   GNU General Public License for more details.\r
+   \r
+   You should have received a copy of the GNU General Public License\r
+   along with this program; if not, write to the Free Software\r
+   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
+*/\r
+\r
+#ifndef _MOVECHECK_H\r
+#define _MOVECHECK_H\r
+\r
+#define MOVE_OK 0\r
+#define MOVE_ILLEGAL 1\r
+#define MOVE_STALEMATE 2\r
+#define MOVE_CHECKMATE 3\r
+#define MOVE_AMBIGUOUS 4\r
+#define MOVE_NOMATERIAL 5\r
+#define MOVE_BARE 6\r
+\r
+#define MS_NOTMOVE 0\r
+#define MS_COMP 1\r
+#define MS_COMPDASH 2\r
+#define MS_ALG 3\r
+#define MS_KCASTLE 4\r
+#define MS_QCASTLE 5\r
+\r
+#define isrank(c) (((c) <= '9') && ((c) >= '0'))\r
+#define isfile(c) (((c) >= 'a') && ((c) <= 'l'))\r
+\r
+#endif /* _MOVECHECK_H */\r