aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-21 18:35:02 +0200
committerAdam <adammegarules1@gmail.com>2026-08-21 18:35:02 +0200
commit05035f72d77a18321d39e118ed28858b8c25bdad (patch)
tree64b8502b89907bbb0662a30625e762739efd9031 /src/moves.hpp
parente4a8a445acd8f966861174ec5d6e2537f060dc1a (diff)
refactor(search): making code nicer and little faster
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
index 47e41c0..0e8174c 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -21,6 +21,6 @@ constexpr Position IndexToPosition(int i) {
return {.rank = rank, .file = file};
}
bool IsSquareAttacked(const Game &g, Position square, bool byColor);
-GameState GetNewGameState(Game *g);
+GameState GetboardState(Game *g, const std::vector<uint16_t> &moves);
#endif /* SRC_MOVES_H_ */