You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/gnugo/files/gnugo-3.9.1-fno-common.patch

26 lines
635 B

--- a/engine/globals.c
+++ b/engine/globals.c
@@ -136,6 +136,9 @@
* move generation is enabled.
*/
+int meaningless_white_moves[BOARDMAX];
+int meaningless_black_moves[BOARDMAX];
+
float best_move_values[10];
int best_moves[10];
float white_score;
--- a/engine/liberty.h
+++ b/engine/liberty.h
@@ -859,8 +859,8 @@
extern struct worm_data worm[BOARDMAX];
/* Unconditionally meaningless moves. */
-int meaningless_black_moves[BOARDMAX];
-int meaningless_white_moves[BOARDMAX];
+extern int meaningless_black_moves[BOARDMAX];
+extern int meaningless_white_moves[BOARDMAX];
/* Surround cache (see surround.c) */