34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
/* hyperbola-quintessence.h - hyperbola-quintessence definitions.
|
|
*
|
|
* Copyright (C) 2024 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.html>.
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
|
|
*
|
|
*/
|
|
|
|
#ifndef _HYPERBOLA_QUINTESSENCE_H
|
|
#define _HYPERBOLA_QUINTESSENCE_H
|
|
|
|
#include "board.h"
|
|
#include "bitboard.h"
|
|
|
|
void hyperbola_init(void);
|
|
|
|
bitboard_t hyperbola_rank_moves(const bitboard_t occ, const square_t sq);
|
|
bitboard_t hyperbola_moves(const bitboard_t pieces, const square_t sq,
|
|
const bitboard_t mask);
|
|
bitboard_t hyperbola_file_moves(const bitboard_t occ, const square_t sq);
|
|
bitboard_t hyperbola_diag_moves(const bitboard_t occ, const square_t sq);
|
|
bitboard_t hyperbola_anti_moves(const bitboard_t occ, const square_t sq);
|
|
|
|
bitboard_t hyperbola_bishop_moves(const bitboard_t occ, const square_t sq);
|
|
bitboard_t hyperbola_rook_moves(const bitboard_t occ, const square_t sq);
|
|
bitboard_t hyperbola_queen_moves(const bitboard_t occ, const square_t sq);
|
|
|
|
#endif /* _HYPERBOLA_QUINTESSENCE_H */
|