summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/gnuchess.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/gnuchess.h')
-rw-r--r--apps/plugins/chessbox/gnuchess.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/chessbox/gnuchess.h b/apps/plugins/chessbox/gnuchess.h
index 68ef9f9..e947489 100644
--- a/apps/plugins/chessbox/gnuchess.h
+++ b/apps/plugins/chessbox/gnuchess.h
@@ -26,6 +26,7 @@ extern short board[64];
extern short color[64];
extern long Level;
extern short TCflag,TCmoves,TCminutes;
+extern short timeout;
/* ---- RockBox integration ---- */
extern struct plugin_api* rb;
@@ -33,8 +34,7 @@ extern struct plugin_api* rb;
/* ---- The beginning of a GNUChess v2 APIfication ---- */
void SetTimeControl(void);
void GNUChess_Initialize(void);
-int VerifyMove(char s[],short iop,unsigned short *mv);
-int SelectMove ( short side, short iop);
-
+int VerifyMove(char s[],short iop,unsigned short *mv);
+int SelectMove ( short side, short iop , void (*callback)(void) );
#endif