summaryrefslogtreecommitdiff
path: root/apps/plugins/solitaire.c (follow)
Commit message (Collapse)AuthorAge
* Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman2007-01-14
| | | | | | simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
* Improved Sansa keymappings for Pacbox, Solitaire and Star. From FS#6466 by ↵Daniel Ankers2007-01-03
| | | | | | Piotr Jafiszow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11892 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Repair card border and selection frame. Would it be better to ↵Jens Arnold2006-11-19
| | | | | | make the playfield background always green again? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11557 a1c6a512-1295-4272-9138-f99709370657
* Don't need to remove the backdrop for all plugins - leave it up for some.Karl Kurbjun2006-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
* Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell2006-10-26
| | | | | | nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Optionally auto-unhide the next card on a stack if the last known ↵Jens Arnold2006-10-23
| | | | | | card is moved away. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11323 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: better button assignments for H10 and X5 (with working shortcuts)Marianne Arnold2006-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11262 a1c6a512-1295-4272-9138-f99709370657
* Fixed background color on solitaire menu. It wasn't set when entering menu ↵Michael Sevakis2006-10-11
| | | | | | and having a dark background made it almost unreadable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11182 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Fixed incorrect condition check that caused an out-of-bounds ↵Jens Arnold2006-10-01
| | | | | | access allowing to put the 2 of spades into nirvana. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11104 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Don't let the REM2STACK shortcut repeat on irivers.Jens Arnold2006-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11103 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: colourised selection frame on colour targets.Jens Arnold2006-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11097 a1c6a512-1295-4272-9138-f99709370657
* Heavy graphical rework of solitaire: * Now uses full-card bitmaps (minus ↵Jens Arnold2006-09-29
| | | | | | border) in several resolutions and colour depths. All graphical work done by Marianne Arnold; 37x49 and 26x33 pixel graphics partially based on the PySol cardset adapted from kdegames 1.0 * Cardback for greyscale targets. * Nicer edges for large cards. * Correct vertical card spacing within columns, hidden cards always use half the space now. * Correct horizontal spacing of columns. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11096 a1c6a512-1295-4272-9138-f99709370657
* Tweaked the card animation a bit more.Jens Arnold2006-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11028 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Adjust bouncing cards parameters to the LCD resolution.Jens Arnold2006-09-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11021 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Don't use bitfields where it's unnecessary, and use 'int' for ↵Jens Arnold2006-09-20
| | | | | | single variables. Saves ~400 bytes of code on SH1, and ~1200 bytes of code on coldfire. ARM doesn't profit though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11016 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Fixed menu colours.Jens Arnold2006-09-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10999 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: Removed unused button definitions.Jens Arnold2006-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10987 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: * Use rockbox API menu. * Fixed typo.Jens Arnold2006-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10986 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: * Button assignments: Better layout for ipods, allowing ↵Jens Arnold2006-09-17
| | | | | | one-handed operation during the game. More logical shortcut buttons for Ondios. Slight changes for other targets, including working button repeat for up/down when there is no dual use. * Help text showing all possible buttons instead of forcing the user to try and find out. The text adapts to LCD resolution and selected font. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10984 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: * Even more 'natural' bouncing cards. * Only load the config from ↵Jens Arnold2006-09-15
| | | | | | disk once, and only save it on exit if it changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10949 a1c6a512-1295-4272-9138-f99709370657
* Looks like we need to explicitly say that we need signed chars.Antoine Cellerier2006-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10926 a1c6a512-1295-4272-9138-f99709370657
* Fix corruption in remains stack and simplify code where possibleAntoine Cellerier2006-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10924 a1c6a512-1295-4272-9138-f99709370657
* Correct the help text for iriver HXXX playersMartin Arver2006-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10898 a1c6a512-1295-4272-9138-f99709370657
* More natural bouncing cards animation.Jens Arnold2006-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10897 a1c6a512-1295-4272-9138-f99709370657
* Solitaire: * Improved large suits for medium/large LCDs, and all new large ↵Jens Arnold2006-09-06
| | | | | | 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
* Untested cursor display fix when no cards are left/drawn on the remains stack.Antoine Cellerier2006-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10894 a1c6a512-1295-4272-9138-f99709370657
* Add some yielding during the bouncing cards sequence (and only refresh ↵Antoine Cellerier2006-09-05
| | | | | | what's needed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10893 a1c6a512-1295-4272-9138-f99709370657
* Foreground color in menusAntoine Cellerier2006-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10885 a1c6a512-1295-4272-9138-f99709370657
* Bouncing cards when you win :)Antoine Cellerier2006-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10884 a1c6a512-1295-4272-9138-f99709370657
* Restore default background color when going back to menu after winning.Antoine Cellerier2006-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10883 a1c6a512-1295-4272-9138-f99709370657
* Some more remains' stack bug fixes. I must've been drunk when i wrote the ↵Antoine Cellerier2006-09-04
| | | | | | original code... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10881 a1c6a512-1295-4272-9138-f99709370657
* Fix some more bugs found by amiconn:Antoine Cellerier2006-09-03
| | | | | | | | | | | | | | (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
* Use consistant margins. If people still have ideas to make it look better on ↵Antoine Cellerier2006-09-03
| | | | | | 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
* Some more tweaking so that it now looks really good on small screensAntoine Cellerier2006-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10862 a1c6a512-1295-4272-9138-f99709370657
* Fix solitaire card colorsAntoine Cellerier2006-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10861 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix solitaire invisible card bug ... and add some more.Antoine Cellerier2006-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10859 a1c6a512-1295-4272-9138-f99709370657
* Removed too much...Hristo Kovachev2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10523 a1c6a512-1295-4272-9138-f99709370657
* Correct H10's #define indents, remove redundant linesHristo Kovachev2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10522 a1c6a512-1295-4272-9138-f99709370657
* Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!Hristo Kovachev2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
* Yet some more fixes (mostly for small archos screens).Antoine Cellerier2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10453 a1c6a512-1295-4272-9138-f99709370657
* Barry Wardell's keymappings for H10Daniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
* Remove some more useless codeAntoine Cellerier2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10445 a1c6a512-1295-4272-9138-f99709370657
* Some graphics fixes for solitaire. (Numbers for hearts and diamonds still ↵Antoine Cellerier2006-08-03
| | | | | | need to be colored red on color LCD screens) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10443 a1c6a512-1295-4272-9138-f99709370657
* Fix compile warning (and small diaply bug)Antoine Cellerier2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10423 a1c6a512-1295-4272-9138-f99709370657
* Cleanup solitaire code a bit. A side effect is that it should now be ↵Antoine Cellerier2006-08-02
| | | | | | 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
* * fix bug (when double clicking on a card on the remains' stack toAntoine Cellerier2006-07-11
| | | | | | | | | | | | | 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
* To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare2006-06-30
| | | | | | from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
* Add cardback bitmap for colour LCDs smaller than 220x176.Dave Chapman2006-03-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9139 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657