diff options
Diffstat (limited to 'apps/plugins/chessbox/gnuchess.h')
-rw-r--r-- | apps/plugins/chessbox/gnuchess.h | 5 |
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 ---- */ | |
23 | extern short mate,opponent,computer; | 23 | extern short mate,opponent,computer; |
24 | extern short locn[8][8]; | 24 | extern short locn[8][8]; |
25 | extern short board[64]; | 25 | extern short board[64]; |
@@ -27,7 +27,10 @@ extern short color[64]; | |||
27 | extern long Level; | 27 | extern long Level; |
28 | extern short TCflag,TCmoves,TCminutes; | 28 | extern short TCflag,TCmoves,TCminutes; |
29 | 29 | ||
30 | /* ---- RockBox integration ---- */ | ||
31 | extern struct plugin_api* rb; | ||
30 | 32 | ||
33 | /* ---- The beginning of a GNUChess v2 APIfication ---- */ | ||
31 | void SetTimeControl(void); | 34 | void SetTimeControl(void); |
32 | void GNUChess_Initialize(void); | 35 | void GNUChess_Initialize(void); |
33 | int VerifyMove(char s[],short iop,unsigned short *mv); | 36 | int VerifyMove(char s[],short iop,unsigned short *mv); |