From ccb929172587fbfb8fb000d7992bdbbdac6f53ae Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 19:04:46 +0200 Subject: renaming none to none piece --- src/board.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/board.hpp') diff --git a/src/board.hpp b/src/board.hpp index 993a66d..9418571 100644 --- a/src/board.hpp +++ b/src/board.hpp @@ -6,7 +6,7 @@ #include enum PieceType { - NONE, + NONEPIECE, PAWN, KNIGHT, BISHOP, @@ -25,7 +25,7 @@ enum GameState { struct Piece { bool color = 0; - PieceType type = NONE; + PieceType type = NONEPIECE; bool moved = false; }; @@ -52,7 +52,7 @@ struct Move { Position From; Position To; - PieceType promotion = NONE; + PieceType promotion = NONEPIECE; bool operator==(const Move &other) const { return From == other.From && To == other.To && promotion == other.promotion; } -- cgit v1.2.3