
==================================================================
Solitaire2x v1.4 by Sbastien TERRIER <sebastien_terrier@yahoo.fr>
==================================================================


Intro :
-----

This is a typical and simple Solitaire game, I don't have to explain the rules...
This game is based on the Drac Card Game Library (http://drac-cardlib.sourceforge.net/) and it's totally free and open-source.


Installation :
------------

Copy solitaire2x, Solitaire2x.gpe and the gfx folder in the SAME folder at any places of your SD card.

The engine folder and main.cpp are the sources.


Controls :
--------

Joystick : (the 8 directions) Move the cursor
A button : Select and move a card
B button : Put a card on the reserve
Select : New game
L button : Refresh the screen
R button : Test final animation
Vol- / Vol+ : Volume of music when enabled
Start : Exit the game

Menu :
Joystick (UP/DOWN) : Navigate in the menu
Joystick (LEFT/RIGHT) : Change values
Joystcik button or A button : Validate the choice


What's new ?
------------

v1.4 :
- Compile with a new toolchain and optimized libraries who made the game faster, Big thanks to oopo ! (http://www.oopo.net/consoledev)
- Rewrite a Makefile to reduce the executable size : now 2Mo
- Added choice of cards graphics between the old a new one I think much better, Big Big thanks to MichaelA ! (http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,50,1213)
- Added a small png icon for the executable

v1.3 :
- Improve menu and add options menu
- Added music  Big thanks to Guyfawkes and it's SDLtest sources ! (http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,46,1047)
- Added choice for distributed cards (one or three)
- Added choice of number of turns
- All backgrounds and font are customizables ! (in ./gfx)
- Build in static mode for music playing so big executable (~5Mo!)

v1.2 :
- Joystick control completly rewrite ! Big thanks to miq01 and its JoyTest Source ! (http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,46,1095)
- Small menu to be improved for game options (future version)
- Make custom menu backgroud and fonts (in ./gfx)

v1.1 :
- Improve cursor movements and coding
- When you have a suite (from ace to king) the card don't disapear under the screen, reduce the card space
- Make custom background, now make a bitmap (320x240) named background.bmp to /gfx


TODO :
----

- Include scores choice menu and display it

                                                                   
Debug tools:
-----------

	SDL_Rect rc;
	int x, y;
	Klondike[3].GetCoords(x, y);
	rc.x = x;
	rc.y = y;
	rc.w = Klondike[3].GetStackWidth();
	rc.h = Klondike[3].GetStackHeight();
	SDL_FillRect(screen,&rc,0x0000FF);
	SDL_Flip(screen);


Licence :
-------

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
