1 /* DreamChess 2 ** 3 ** DreamChess is the legal property of its developers, whose names are too 4 ** numerous to list here. Please refer to the AUTHORS.txt file distributed 5 ** with this source distribution. 6 ** 7 ** This program is free software: you can redistribute it and/or modify 8 ** it under the terms of the GNU General Public License as published by 9 ** the Free Software Foundation, either version 3 of the License, or 10 ** (at your option) any later version. 11 ** 12 ** This program is distributed in the hope that it will be useful, 13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 ** GNU General Public License for more details. 16 ** 17 ** You should have received a copy of the GNU General Public License 18 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #ifndef DREAMER_COMMANDS_H 22 #define DREAMER_COMMANDS_H 23 24 #include "dreamer.h" 25 26 void command_handle(state_t *state, char *command); 27 int command_check_abort(state_t *state, int ply, char *command); 28 int command_usermove(state_t *state, char *command); 29 30 char *san_move_str(board_t *board, int ply, move_t move); 31 char *coord_move_str(move_t move); 32 33 int parse_move(board_t *board, int ply, char *command, move_t *move); 34 35 #endif 36