summaryrefslogtreecommitdiffstats
path: root/apps/plugins/blackjack.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-06brickmania, blackjack, jewels, bubbles: Remove save file only if player ↵Teruaki Kawashima1-18/+18
resumed the game loaded from the file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22639 a1c6a512-1295-4272-9138-f99709370657
2009-09-04Fix STRIDE macro for multiscreen and add stride support for picture lib.Karl Kurbjun1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 * Fix plugin keymaps for VX777Maurus Cuelenaere1-0/+4
* Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
2009-08-31Blackjack: Add support for vertical strides.Karl Kurbjun1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22569 a1c6a512-1295-4272-9138-f99709370657
2009-08-21blackjack: change the way to save/load game state: save game state when quit ↵Teruaki Kawashima1-73/+53
plugin and load game state when plugin started. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22447 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Remove unneeded blackjack defines for the YH series.Michael Giacomelli1-4/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22161 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Always do an SVN up before committing . . . hopefully fixes red by defining ↵Michael Giacomelli1-0/+6
more buttons. Unfortunately I'm not sure what blackjack should be so I've left it incomplete until someone comes up with a working keymap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22150 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann ↵Michael Giacomelli1-0/+15
with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
2009-08-03calendar: fix bug when add new event text longer than last entry.Teruaki Kawashima1-137/+143
blackjack: fix bug that bet becomes 10 when resume saved game. bubbles: save high level to sparate file. clix, spacerocks, jewels, bubbles: correct text of menu item. wormlet: clean up code: removed unused defines and functions. pluginlib display_text: insert sleep so that the screen doesn't quit immediately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22143 a1c6a512-1295-4272-9138-f99709370657
2009-08-03Fix X5/M5Karl Kurbjun1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22128 a1c6a512-1295-4272-9138-f99709370657
2009-08-03Fix warning and ZVMKarl Kurbjun1-18/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22127 a1c6a512-1295-4272-9138-f99709370657
2009-08-03Blackjack: Use standard menu and add playback menu, use pluginlib high scores.Karl Kurbjun1-572/+437
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22126 a1c6a512-1295-4272-9138-f99709370657
2009-07-12set svn:keywords propertyTeruaki Kawashima1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21809 a1c6a512-1295-4272-9138-f99709370657
2009-04-21Add initial plugin keymaps for M:robe 500Karl Kurbjun1-0/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20765 a1c6a512-1295-4272-9138-f99709370657
2009-04-10FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. ↵Thomas Martitz1-1/+1
Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
2009-04-07Enable plugins on the Onda VX747Maurus Cuelenaere1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-03-29Accept FS#10068 by Teruaki Kawashima correcting the instructions built into ↵Nils Wallménius1-4/+14
a couple of plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20565 a1c6a512-1295-4272-9138-f99709370657
2009-01-24remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, ↵Andrew Mahone1-2/+0
and replace with pluginlib implementations in plugins/lib/gcc-support.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Plugins for the Philips HDD1630. The keymaps are largely untested on the ↵Mark Arigo1-0/+15
device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-16revert/fix parts of r19673, as it changed some e200 keymaps and introduces ↵Dominik Wenger1-2/+17
not-needed FIXME comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
2009-01-16loader-initialized global plugin API:Andrew Mahone1-6/+2
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-04Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli1-6/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
2008-12-12m200v4: rename Keys, so they match better other targets with similar ↵Dominik Wenger1-0/+15
key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
2008-12-12Don't let the user play the hand if it has already completed. Fixes FS #9399.Tom Ross1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19398 a1c6a512-1295-4272-9138-f99709370657
2008-12-08Commit FS#9607 by Adam Hogan: fix plugin keymaps for Creative Zen Vision:MMaurus Cuelenaere1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19363 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Added keymaps for ZVM to plugins. Enabled zvm plugin building in ↵Björn Stenberg1-0/+15
tools/configure. FS#9605 by Adam Hogan and Robert Menes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-11-28Sansa Clip: build plugins (FS#9578)Rafaël Carré1-0/+15
Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
2008-11-03Makefile overhaul. All generated bitmaps are now explicitly in ↵Björn Stenberg1-2/+2
OBJDIR/bitmaps and OBJDIR/pluginbitmaps, and plugins properly depend on their respective bitmap files. Fixes #6847. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18987 a1c6a512-1295-4272-9138-f99709370657
2008-08-23Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-07-20correct overlooked POWER<->A swaps for gigabeat plugins (thanks to Firestorm ↵Robert Kukla1-5/+15
ZERO for reporting) and button fix for blackjack on mr100 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18097 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-05-13Plugin parameters should be const.Steve Bavin1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-04-27FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.Rob Purchase1-12/+48
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
2008-03-23VU_meter: Fix help texts for most targets. * Blackjack: Add help text for ↵Jens Arnold1-0/+10
M3. * Bubbles: Adjust a text and fix hold behaviour for M3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16757 a1c6a512-1295-4272-9138-f99709370657
2008-03-22D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas ↵Rob Purchase1-0/+15
Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22Adapt most single-file plugins to the M3 keypad and screen. It's still ↵Jens Arnold1-0/+16
preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-01M:Robe 100: add button definition/bitmaps to plugins and enable compilationRobert Kukla1-1/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
2008-02-17Plugins now enabled and working for the Gigabeat S.Will Robertson1-0/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-01-10Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon1-2/+2
make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Blackjack: small improvement in the c200 buttonmap - use the volume buttons ↵Marianne Arnold1-5/+13
instead of a combo, add the missing help text. Fill out the blank button table in the c200 manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15149 a1c6a512-1295-4272-9138-f99709370657
2007-09-20Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by ↵Marianne Arnold1-0/+15
Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14771 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#5464 - organise the rocks directory. Jonathan Gordon1-2/+2
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-07-27Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.Jens Arnold1-4/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-06-14Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra ↵Nils Wallménius1-1/+0
header file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
2007-06-13Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius1-1/+4
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers functions to a plugin to make plugins link correctly when gcc calls mem* functions directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold1-10/+10
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Kill a few warnings in plugins.Tom Ross1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
2007-02-12Rename solitaire_ bitmaps to card_ since they are used in solitaire and ↵Tom Ross1-9/+9
blackjack. Ideally all future card games will use these graphics. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12281 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Fix Blackjack not looking correct when a backdrop is in use.Tom Ross1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12130 a1c6a512-1295-4272-9138-f99709370657