HooverChessUtils_PgnReader 0.9.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
chessboard-movegen.h File Reference
#include "chessboard.h"
#include "bittricks.h"
#include "bitboard-attacks.h"
#include "bitboard-intercepts.h"
#include "chessboard-priv.h"
#include "pawn-lookups.h"
#include <algorithm>
#include <array>
#include <bit>
#include <cassert>
#include <cinttypes>
#include <utility>
#include <tuple>
#include <type_traits>
Include dependency graph for chessboard-movegen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hoover_chess_utils::pgn_reader::MoveGenFunctionTables
 
struct  hoover_chess_utils::pgn_reader::CastlingSideSpecificsTempl< false >
 
struct  hoover_chess_utils::pgn_reader::CastlingSideSpecificsTempl< true >
 
struct  hoover_chess_utils::pgn_reader::AllLegalDestinationType
 
struct  hoover_chess_utils::pgn_reader::ParametrizedLegalDestinationType
 

Namespaces

namespace  hoover_chess_utils
 
namespace  hoover_chess_utils::pgn_reader
 

Functions

constexpr MoveTypeAndPromotion hoover_chess_utils::pgn_reader::pieceToTypeAndPromotion (Piece promotion) noexcept
 
template<MoveGenType type>
SquareSet hoover_chess_utils::pgn_reader::blocksAllChecksMaskTempl (Square kingSq, SquareSet checkers, Square dst) noexcept
 
template<>
constexpr SquareSet hoover_chess_utils::pgn_reader::blocksAllChecksMaskTempl< MoveGenType::NO_CHECK > (Square kingSq, SquareSet checkers, Square dst) noexcept
 
template<>
SquareSet hoover_chess_utils::pgn_reader::blocksAllChecksMaskTempl< MoveGenType::CHECK > (Square kingSq, SquareSet checkers, Square dst) noexcept
 
template<MoveGenType type, typename MoveStoreFn , bool shortCastling>
void hoover_chess_utils::pgn_reader::generateMovesForCastlingStoreFnTempl (const ChessBoard &board, SquareSet attackedSquares, typename MoveStoreFn::Store &store) noexcept
 Generates the legal castling move, if any.