diff options
Diffstat (limited to 'games/nextgo/files/patch-smartgo.h')
-rw-r--r-- | games/nextgo/files/patch-smartgo.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/nextgo/files/patch-smartgo.h b/games/nextgo/files/patch-smartgo.h new file mode 100644 index 0000000..77e08ff --- /dev/null +++ b/games/nextgo/files/patch-smartgo.h @@ -0,0 +1,20 @@ +--- smartgo.h.orig Sun Jan 12 05:01:52 2003 ++++ smartgo.h Sat Nov 18 17:18:57 2006 +@@ -122,7 +122,7 @@ + extern node* parse_tree(char* inputBuffer); + + /* Routines from smartgoeval.c needed by other routines. */ +-extern void evaluateNode(char *c, unsigned char b[][]); ++extern void evaluateNode(char *c, unsigned char b[19][19]); + + + /* Routines from smartgotree.c needed by other routines. */ +@@ -134,7 +134,7 @@ + extern node* forwardOneVariant(node* currentNode); + extern node* backOneVariant(node* currentNode); + extern void clearNodeFlags(node* currentNode); +-extern int evaluateSteps(node* currentNode, node* targetNode, unsigned char b[][]); ++extern int evaluateSteps(node* currentNode, node* targetNode, unsigned char b[19][19]); + extern void buildToNode(node* targetNode); + extern node* stepForward(node* currentNode); + extern node* stepBackward(node* currentNode); |