summaryrefslogtreecommitdiff
path: root/apps/plugins/solitaire.c
AgeCommit message (Collapse)Author
2006-09-10Fix corruption in remains stack and simplify code where possibleAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10924 a1c6a512-1295-4272-9138-f99709370657
2006-09-06Correct the help text for iriver HXXX playersMartin Arver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10898 a1c6a512-1295-4272-9138-f99709370657
2006-09-06More natural bouncing cards animation.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10897 a1c6a512-1295-4272-9138-f99709370657
2006-09-06Solitaire: * Improved large suits for medium/large LCDs, and all new large ↵Jens Arnold
suits for small LCDs, by Marianne Arnold. * Use the actual card dimensions in the code. Old values were one off. * #ifdef cleanup using the capabilities of the bitmap build system. * Some more tweaks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10896 a1c6a512-1295-4272-9138-f99709370657
2006-09-05Untested cursor display fix when no cards are left/drawn on the remains stack.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10894 a1c6a512-1295-4272-9138-f99709370657
2006-09-05Add some yielding during the bouncing cards sequence (and only refresh ↵Antoine Cellerier
what's needed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10893 a1c6a512-1295-4272-9138-f99709370657
2006-09-04Foreground color in menusAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10885 a1c6a512-1295-4272-9138-f99709370657
2006-09-04Bouncing cards when you win :)Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10884 a1c6a512-1295-4272-9138-f99709370657
2006-09-04Restore default background color when going back to menu after winning.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10883 a1c6a512-1295-4272-9138-f99709370657
2006-09-04Some more remains' stack bug fixes. I must've been drunk when i wrote the ↵Antoine Cellerier
original code... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10881 a1c6a512-1295-4272-9138-f99709370657
2006-09-03Fix some more bugs found by amiconn:Antoine Cellerier
(1) The bug I already described yesterday: If the draw stack becomes completely empty, it reappears. Slightly irritating (2) When the cursor is placed on the remains' stack when there is no card, and then a card is drawn, the cursor disappears (4) (easy one) The help texts refer to drawing 3 new cards, but solitaire now has selectable draw one / draw three git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10873 a1c6a512-1295-4272-9138-f99709370657
2006-09-03Use consistant margins. If people still have ideas to make it look better on ↵Antoine Cellerier
some of the targets, feel free to say so on IRC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10868 a1c6a512-1295-4272-9138-f99709370657
2006-09-02Some more tweaking so that it now looks really good on small screensAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10862 a1c6a512-1295-4272-9138-f99709370657
2006-09-02Fix solitaire card colorsAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10861 a1c6a512-1295-4272-9138-f99709370657
2006-09-02Hopefully fix solitaire invisible card bug ... and add some more.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10859 a1c6a512-1295-4272-9138-f99709370657
2006-08-11Removed too much...Hristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10523 a1c6a512-1295-4272-9138-f99709370657
2006-08-11Correct H10's #define indents, remove redundant linesHristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10522 a1c6a512-1295-4272-9138-f99709370657
2006-08-11Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!Hristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Yet some more fixes (mostly for small archos screens).Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10453 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Remove some more useless codeAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10445 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Some graphics fixes for solitaire. (Numbers for hearts and diamonds still ↵Antoine Cellerier
need to be colored red on color LCD screens) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10443 a1c6a512-1295-4272-9138-f99709370657
2006-08-02Fix compile warning (and small diaply bug)Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10423 a1c6a512-1295-4272-9138-f99709370657
2006-08-02Cleanup solitaire code a bit. A side effect is that it should now be ↵Antoine Cellerier
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
2006-07-11 * fix bug (when double clicking on a card on the remains' stack toAntoine Cellerier
automatically move it to the corresponding final stack, if the move worked, the cursor wasn't able to select a new card afterwards. - yeah, this sounds a bit complicated) * remove trailing spaces/tabs TODO: Fix/clean/rewrite the plugin. This whole code is a mess. It's impossible to read and maintain. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10196 a1c6a512-1295-4272-9138-f99709370657
2006-06-30To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare
from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-03-20Add cardback bitmap for colour LCDs smaller than 220x176.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9139 a1c6a512-1295-4272-9138-f99709370657
2006-02-24More iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24first gigabeat commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24code police strikes againMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8829 a1c6a512-1295-4272-9138-f99709370657
2006-02-24Button driver for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Minor cleaning - move card back bitmap to external bmp file, and define card ↵Dave Chapman
size based on LCD size, not keypad type git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8576 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2005-12-21Even more button fixes for solitaireLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8272 a1c6a512-1295-4272-9138-f99709370657
2005-12-21Even more iPod solitaire fixesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8270 a1c6a512-1295-4272-9138-f99709370657
2005-12-21Solitaire fix for Archos and iPod modelsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8269 a1c6a512-1295-4272-9138-f99709370657
2005-12-20H300: Colors for solitaire by Ben BashaLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8267 a1c6a512-1295-4272-9138-f99709370657
2005-12-19Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman
identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-14iPod: Initial attempt at button mappings for plugins. All plugins now ↵Dave Chapman
compile, but more work is needed with the more complex ones to make them iPod friendly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
2005-11-16Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now ↵Jens Arnold
all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Patch #1264727 by Dave Hooper, Colorize red cards on screens with LCD_DEPTH > 1Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7583 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-28Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold
converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 * use *rb->current_tick for srandAntoine Cellerier
* don't truncate last column on players that have screens larger than the recorder's git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6879 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 * fix some cursor bugs (patch 1222287)Antoine Cellerier
* added call to srand (patch 1223090) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6876 a1c6a512-1295-4272-9138-f99709370657
2005-06-24First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold
pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-09Martin Arver's fix to properly adapt the menu for the chosen font.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6644 a1c6a512-1295-4272-9138-f99709370657
2005-02-16Solitaire adapted to iRiver, based on patch #1121520 by Jonas Haggqvist.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5967 a1c6a512-1295-4272-9138-f99709370657