1775 |
int k; |
int k; |
1776 |
int ii; |
int ii; |
1777 |
int save_debug = debug; |
int save_debug = debug; |
|
VALGRIND_MAKE_WRITABLE(&escape_influence, sizeof(escape_influence)); |
|
1778 |
|
|
1779 |
/* IMPORTANT: The caching relies on the fact that safe_stones[] and |
/* IMPORTANT: The caching relies on the fact that safe_stones[] and |
1780 |
* strength[] will currently always be identical for identical board[] |
* strength[] will currently always be identical for identical board[] |
1786 |
|
|
1787 |
int cache_number = (color == WHITE); |
int cache_number = (color == WHITE); |
1788 |
|
|
1789 |
|
VALGRIND_MAKE_WRITABLE(&escape_influence, sizeof(escape_influence)); |
1790 |
|
|
1791 |
if (!goal) { |
if (!goal) { |
1792 |
/* Encode the values of color and dragons_known into an integer |
/* Encode the values of color and dragons_known into an integer |
1793 |
* between 0 and 3. |
* between 0 and 3. |