aboutsummaryrefslogtreecommitdiff
path: root/src/utils/constants.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-03-22 06:43:11 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-03-22 18:45:47 +0100
commitce3f1cc0ef9f46d70ab5387b1458e9098b40711d (patch)
tree4949745670b829f2211381bf14b8440dcc6ca7b1 /src/utils/constants.h
parent0550a16c1cce868bbc3f3b5ad59f80e35cf2a6cd (diff)
downloadnissy-core-ce3f1cc0ef9f46d70ab5387b1458e9098b40711d.tar.gz
nissy-core-ce3f1cc0ef9f46d70ab5387b1458e9098b40711d.zip
Some safety with move arrays, small refactor appendchar
Diffstat (limited to 'src/utils/constants.h')
-rw-r--r--src/utils/constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/constants.h b/src/utils/constants.h
index 1db1940..97bf436 100644
--- a/src/utils/constants.h
+++ b/src/utils/constants.h
@@ -102,8 +102,10 @@ STATIC int64_t binomial[12][12] = {
102 102
103#define MM_ALLMOVES UINT32_C(0x3FFFF) 103#define MM_ALLMOVES UINT32_C(0x3FFFF)
104#define MM_NOHALFTURNS UINT32_C(0x2DB6D) 104#define MM_NOHALFTURNS UINT32_C(0x2DB6D)
105#define MM_SIDE(m) (UINT32_C(7) << (uint32_t)(m))
105 106
106#define TM_ALLTRANS UINT64_C(0xFFFFFFFFFFFF) 107#define TM_ALLTRANS UINT64_C(0xFFFFFFFFFFFF)
108#define TM_SINGLE_UFr UINT64_C(1)
107 109
108#define CORNER_UFR UINT8_C(0) 110#define CORNER_UFR UINT8_C(0)
109#define CORNER_UBL UINT8_C(1) 111#define CORNER_UBL UINT8_C(1)

Generated with cgit - Back to sebastiano.tronto.net