diff options
Diffstat (limited to 'src/data.c')
| -rwxr-xr-x | src/data.c | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -34,9 +34,6 @@ CHAR g_SwapTable[14][32][32]; VECTOR_DELTA g_VectorDelta[256]; VECTOR_DELTA *g_pVectorDelta = &(g_VectorDelta[128]); -// How many generated moves should we bother to sort -ULONG g_uSearchSortLimits[MAX_PLY_PER_SEARCH]; - // Hardcoded move patterns to terminate PVs with MOVE NULLMOVE = {0}; MOVE HASHMOVE = {0x11118888}; @@ -183,36 +180,6 @@ VerifyVectorDelta(void) } void -InitializeSearchDepthArray(void) -{ - ULONG x; - - for (x = 0; - x < ARRAY_LENGTH(g_uSearchSortLimits); - x++) - { - g_uSearchSortLimits[x] = 5; - } - g_uSearchSortLimits[0] = 0; - g_uSearchSortLimits[1] = 17; - g_uSearchSortLimits[2] = 12; - g_uSearchSortLimits[3] = 9; - g_uSearchSortLimits[4] = 7; - g_uSearchSortLimits[5] = 6; -} - -#ifdef DEBUG -ULONG -GetSearchSortLimit(ULONG uPly) -{ - ASSERT(uPly > 0); - ASSERT(uPly < MAX_PLY_PER_SEARCH); - ASSERT(g_uSearchSortLimits[uPly] != 0); - return(g_uSearchSortLimits[uPly]); -} -#endif - -void InitializeWhiteSquaresTable(void) { COOR c; |
