add license information & rename typedefs
This commit is contained in:
19
src/move.h
19
src/move.h
@@ -1,3 +1,16 @@
|
||||
/* move.h - move management.
|
||||
*
|
||||
* Copyright (C) 2021 Bruno Raoult ("br")
|
||||
* Licensed under the GNU General Public License v3.0 or later.
|
||||
* Some rights reserved. See COPYING.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with this
|
||||
* program. If not, see <https://www.gnu.org/licenses/gpl-3.0-standalone.htmlL>.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ROOK_H
|
||||
#define ROOK_H
|
||||
|
||||
@@ -5,10 +18,8 @@
|
||||
#include "position.h"
|
||||
|
||||
typedef struct {
|
||||
PIECE piece;
|
||||
SQUARE from;
|
||||
SQUARE to;
|
||||
|
||||
piece_t t;
|
||||
square_t from, to;
|
||||
} MOVE;
|
||||
|
||||
extern MOVE *moves_rook(POS *pos);
|
||||
|
Reference in New Issue
Block a user