rename hyperbola-quintessence files to hq

This commit is contained in:
2024-07-06 19:13:08 +02:00
parent 23051cb427
commit 7ce64c3aee
8 changed files with 7 additions and 7 deletions

33
src/hq.h Normal file
View File

@@ -0,0 +1,33 @@
/* 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 _HQ_H
#define _HQ_H
#include "board.h"
#include "bitboard.h"
void hyperbola_init(void);
bitboard_t hq_rank_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_moves(const bitboard_t pieces, const square_t sq,
const bitboard_t mask);
bitboard_t hq_file_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_diag_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_anti_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_bishop_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_rook_moves(const bitboard_t occ, const square_t sq);
bitboard_t hq_queen_moves(const bitboard_t occ, const square_t sq);
#endif /* _HQ_H */