1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00

WLDEntryPiece -> WDLEntryPiece for consistency

No functional change.
This commit is contained in:
Niklas Fiekas 2017-10-05 11:00:01 +02:00
parent 452e5154cf
commit b36489742b

View file

@ -133,16 +133,16 @@ struct Atomic {
std::atomic_bool ready;
};
// We define types for the different parts of the WLDEntry and DTZEntry with
// We define types for the different parts of the WDLEntry and DTZEntry with
// corresponding specializations for pieces or pawns.
struct WLDEntryPiece {
struct WDLEntryPiece {
PairsData* precomp;
};
struct WDLEntryPawn {
uint8_t pawnCount[2]; // [Lead color / other color]
WLDEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
WDLEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
};
struct DTZEntryPiece {
@ -172,7 +172,7 @@ struct WDLEntry : public TBEntry {
WDLEntry(const std::string& code);
~WDLEntry();
union {
WLDEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPawn pawnTable;
};
};