projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7577399
)
Reduce limit to 32 piece types
author
ianfab
<ianfab@users.noreply.github.com>
Sat, 23 Jun 2018 23:22:12 +0000 (
01:22
+0200)
committer
ianfab
<ianfab@users.noreply.github.com>
Sat, 23 Jun 2018 23:22:12 +0000 (
01:22
+0200)
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index
6b0f033
..
0003e17
100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-201,7
+201,7
@@
enum Value : int {
MidgameLimit = 15258, EndgameLimit = 3915
};
-const int PIECE_TYPE_BITS = 6; // PIECE_TYPE_NB = pow(2, PIECE_TYPE_BITS)
+const int PIECE_TYPE_BITS = 5; // PIECE_TYPE_NB = pow(2, PIECE_TYPE_BITS)
enum PieceType {
NO_PIECE_TYPE, PAWN, KNIGHT, BISHOP, ROOK,