From a3cfe0a434fd1ef5e4a59e34499d10cd0211f76b Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 23 Feb 2006 21:16:51 +0000 Subject: Fixes to Chessclock from Miguel (to make it work again after we broke his patch), plus iPod button mapping changes from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8816 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chessbox/gnuchess.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugins/chessbox/gnuchess.h') 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 @@ #define valueQ 1100 #define valueK 1200 - +/* ---- chess system global variables ---- */ extern short mate,opponent,computer; extern short locn[8][8]; extern short board[64]; @@ -27,7 +27,10 @@ extern short color[64]; extern long Level; extern short TCflag,TCmoves,TCminutes; +/* ---- RockBox integration ---- */ +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); -- cgit