mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
399d556c27
Allows UCI_Chess960 to be true during data generation. If UCI_Chess960 is true then strips castling rights from all saved positions and skips saving positions with castling move. UCI_Chess960 is respected in transforms.
22 lines
412 B
C++
22 lines
412 B
C++
#ifndef _SFEN_PACKER_H_
|
|
#define _SFEN_PACKER_H_
|
|
|
|
#include "types.h"
|
|
|
|
#include "packed_sfen.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Stockfish {
|
|
class Position;
|
|
struct StateInfo;
|
|
class Thread;
|
|
}
|
|
|
|
namespace Stockfish::Tools {
|
|
|
|
int set_from_packed_sfen(Position& pos, const PackedSfen& sfen, StateInfo* si, Thread* th, bool frc);
|
|
PackedSfen sfen_pack(Position& pos, bool resetCastlingRights);
|
|
}
|
|
|
|
#endif |