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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/gnuchess.h b/apps/plugins/chessbox/gnuchess.h
index 6ea77dc00b..68ef9f9a81 100644
--- a/apps/plugins/chessbox/gnuchess.h
+++ b/apps/plugins/chessbox/gnuchess.h
@@ -19,7 +19,7 @@
19#define valueQ 1100 19#define valueQ 1100
20#define valueK 1200 20#define valueK 1200
21 21
22 22/* ---- chess system global variables ---- */
23extern short mate,opponent,computer; 23extern short mate,opponent,computer;
24extern short locn[8][8]; 24extern short locn[8][8];
25extern short board[64]; 25extern short board[64];
@@ -27,7 +27,10 @@ extern short color[64];
27extern long Level; 27extern long Level;
28extern short TCflag,TCmoves,TCminutes; 28extern short TCflag,TCmoves,TCminutes;
29 29
30/* ---- RockBox integration ---- */
31extern struct plugin_api* rb;
30 32
33/* ---- The beginning of a GNUChess v2 APIfication ---- */
31void SetTimeControl(void); 34void SetTimeControl(void);
32void GNUChess_Initialize(void); 35void GNUChess_Initialize(void);
33int VerifyMove(char s[],short iop,unsigned short *mv); 36int VerifyMove(char s[],short iop,unsigned short *mv);