From 5e2a9a19cf97129580b5567527824ce89078d3fd Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Wed, 2 Aug 2006 22:17:21 +0000 Subject: Cleanup solitaire code a bit. A side effect is that it should now be possible to play on small LCD screens like the recorder's (which had become impossible since revision 1.20). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10422 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/solitaire.c | 1615 +++++++++++++++++++++++----------------------- 1 file changed, 815 insertions(+), 800 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index a9a0d5c762..e85872ee2a 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -7,7 +7,7 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2004-2006 dionoea (Antoine Cellerier) + * Copyright (C) 2004-2006 Antoine Cellerier * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. @@ -36,253 +36,246 @@ use F3 to put card on top of the remains' stack on one of the 4 final stacks #include "button.h" #include "lcd.h" - #ifdef HAVE_LCD_BITMAP PLUGIN_HEADER -/* here is a global api struct pointer. while not strictly necessary, - it's nice not to have to pass the api pointer in all function calls - in the plugin */ static struct plugin_api* rb; - #define min(a,b) (a