diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-29 20:16:13 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-29 20:16:13 +0200 |
| commit | 53e58af35c46140a05b3ce4dcec9e425ca359529 (patch) | |
| tree | d4531fddfbcfaa50d920a5598ade3ec535de8340 /src | |
| parent | d528a20684570fb70f0e6b13a78bc6504a1edd89 (diff) | |
new folder structer
Diffstat (limited to 'src')
| -rw-r--r-- | src/board/board.cpp (renamed from src/board.cpp) | 2 | ||||
| -rw-r--r-- | src/board/board.hpp (renamed from src/board.hpp) | 0 | ||||
| -rw-r--r-- | src/board/fen.cpp (renamed from src/fen.cpp) | 0 | ||||
| -rw-r--r-- | src/board/fen.hpp (renamed from src/fen.hpp) | 0 | ||||
| -rw-r--r-- | src/bot.cpp | 2 | ||||
| -rw-r--r-- | src/bot.hpp | 2 | ||||
| -rw-r--r-- | src/moves.cpp | 2 | ||||
| -rw-r--r-- | src/moves.hpp | 2 | ||||
| -rw-r--r-- | src/uci.cpp | 4 | ||||
| -rw-r--r-- | src/uci.hpp | 2 | ||||
| -rw-r--r-- | src/zobrist/zobrist.cpp | 2 | ||||
| -rw-r--r-- | src/zobrist/zobrist.hpp | 2 |
12 files changed, 10 insertions, 10 deletions
diff --git a/src/board.cpp b/src/board/board.cpp index 43d30c0..a76ec42 100644 --- a/src/board.cpp +++ b/src/board/board.cpp @@ -1,5 +1,5 @@ #include "board.hpp" -#include "moves.hpp" +#include "../moves.hpp" #include "zobrist/zobrist.hpp" #include <cassert> diff --git a/src/board.hpp b/src/board/board.hpp index 7d0cb3f..7d0cb3f 100644 --- a/src/board.hpp +++ b/src/board/board.hpp diff --git a/src/fen.cpp b/src/board/fen.cpp index 4b8686e..4b8686e 100644 --- a/src/fen.cpp +++ b/src/board/fen.cpp diff --git a/src/fen.hpp b/src/board/fen.hpp index 406f5fe..406f5fe 100644 --- a/src/fen.hpp +++ b/src/board/fen.hpp diff --git a/src/bot.cpp b/src/bot.cpp index c5e7a3b..621f3ea 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -1,5 +1,5 @@ #include "bot.hpp" -#include "board.hpp" +#include "board/board.hpp" #include "moves.hpp" #include "zobrist/zobrist.hpp" #include <algorithm> diff --git a/src/bot.hpp b/src/bot.hpp index 0ca0d05..2a007db 100644 --- a/src/bot.hpp +++ b/src/bot.hpp @@ -1,7 +1,7 @@ #ifndef SRC_BOT_H_ #define SRC_BOT_H_ -#include "board.hpp" +#include "board/board.hpp" #include <vector> Move EngineGetBestMove(Game *b, int depth); float EvaluateBoardForWhite(Game *b, int depth); diff --git a/src/moves.cpp b/src/moves.cpp index 132e79f..c5c5b85 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -5,7 +5,7 @@ #include <sys/types.h> #include <vector> -#include "board.hpp" +#include "board/board.hpp" #include "moves.hpp" void GenerateKnightMoves(Game *b, int from, std::vector<Move> &moves) { diff --git a/src/moves.hpp b/src/moves.hpp index 3b84afe..32143f7 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -1,7 +1,7 @@ #ifndef SRC_MOVES_H_ #define SRC_MOVES_H_ -#include "board.hpp" +#include "board/board.hpp" #include <vector> std::vector<Move> GetLegalMoves(Game *g); diff --git a/src/uci.cpp b/src/uci.cpp index dc595b5..3c72db0 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -1,7 +1,7 @@ #include "uci.hpp" -#include "board.hpp" +#include "board/board.hpp" +#include "board/fen.hpp" #include "bot.hpp" -#include "fen.hpp" #include "moves.hpp" #include <algorithm> diff --git a/src/uci.hpp b/src/uci.hpp index 7b6dca4..4564895 100644 --- a/src/uci.hpp +++ b/src/uci.hpp @@ -1,7 +1,7 @@ #ifndef SRC_UCI_H_ #define SRC_UCI_H_ -#include "board.hpp" +#include "board/board.hpp" #include <string> #include <unordered_map> diff --git a/src/zobrist/zobrist.cpp b/src/zobrist/zobrist.cpp index cfc7769..a1efd78 100644 --- a/src/zobrist/zobrist.cpp +++ b/src/zobrist/zobrist.cpp @@ -1,5 +1,5 @@ #include "zobrist.hpp" -#include "board.hpp" +#include "../board/board.hpp" #include <random> diff --git a/src/zobrist/zobrist.hpp b/src/zobrist/zobrist.hpp index 8de9d42..9433421 100644 --- a/src/zobrist/zobrist.hpp +++ b/src/zobrist/zobrist.hpp @@ -1,5 +1,5 @@ #pragma once -#include "board.hpp" +#include "../board/board.hpp" #include <cstdint> extern uint64_t PieceKeys[2][7][64]; |
