Added gmon.out to .gitignore
[rattatechess.git] / debug.cpp
blob223468da07fa56ace3b9c4bc94a32b433ce2b0c3
1 /***************************************************************************
2 check.cpp - description
3 -------------------
4 begin : Mon Sep 19 2005
5 copyright : (C) 2005 by Maurizio Monge
6 email : monge@linuz.sns.it
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #include "board.h"
20 void print_move(const Move* m)
22 printf("%c%c%c%c\n", X(m->from)+'a', Y(m->from)+'1',
23 X(m->to)+'a', Y(m->to)+'1');