summaryrefslogtreecommitdiff
path: root/apps/plugins/bubbles.c (follow)
Commit message (Collapse)AuthorAge
* S#10387 - Rework pluginlib actionsThomas Martitz2010-05-20
| | | | | | | | | | | | | It changes pluginlib actions to contain only a single and simple context (and other one for remote directional buttons), consisting of 7(9) buttons: up/down/left/right, select OR short select and long select, exit and cancel (plus 2 for scrollwheel targets). This ensures contexts don't clash with other contexts and simplifies them, at the expense of reduced versatility. However, the versatility made it largely unusable due to the great number of targets. This should allow for using pluginlib actions safely for the most simple plugins (e.g. almost all demos). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26202 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
* bubbles: fix FS#11070Teruaki Kawashima2010-03-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25044 a1c6a512-1295-4272-9138-f99709370657
* use same variable/macro name for highscore among plugins.Teruaki Kawashima2010-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24941 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Don't save scores when quit without saving is selected and reduce ↵Thomas Martitz2010-02-10
| | | | | | splash duration git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24586 a1c6a512-1295-4272-9138-f99709370657
* Hide menu entries "Resume Game" and "Quit without Saving" if not available ↵Johannes Schwarz2009-12-17
| | | | | | and clean up the code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24046 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Rename definesTomer Shalev2009-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23980 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Remove unused keymapsTomer Shalev2009-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23979 a1c6a512-1295-4272-9138-f99709370657
* Use positive logic in #ifdef hellTomer Shalev2009-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23939 a1c6a512-1295-4272-9138-f99709370657
* Yet more GoGear SA9200 plugin keymaps. Almost done!Robert Menes2009-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23893 a1c6a512-1295-4272-9138-f99709370657
* FS#10620 - fix a bug in bubbles on c200 thanks to Sascha WildeJohannes Schwarz2009-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23449 a1c6a512-1295-4272-9138-f99709370657
* brickmania, blackjack, jewels, bubbles: Remove save file only if player ↵Teruaki Kawashima2009-09-06
| | | | | | resumed the game loaded from the file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22639 a1c6a512-1295-4272-9138-f99709370657
* Fix STRIDE macro for multiscreen and add stride support for picture lib.Karl Kurbjun2009-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Add support for vertical strides.Karl Kurbjun2009-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22568 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Change the saving message slightly to include saving scores.Thomas Martitz2009-08-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22489 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Have one quit item that doesn't save anything ("Quit without ↵Thomas Martitz2009-08-24
| | | | | | Saving") and one that saves everything again, partly reverting r22143 and picking up Hilton Shumway's suggestion about naming it "Quit without Saving". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22488 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Don't remove the savegame before actually resuming the saved game, ↵Thomas Martitz2009-08-24
| | | | | | as per dev mailing list discussion around the changes in r22143. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22487 a1c6a512-1295-4272-9138-f99709370657
* calendar: fix bug when add new event text longer than last entry.Teruaki Kawashima2009-08-03
| | | | | | | | | | 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
* Blackjack: Use standard menu and add playback menu, use pluginlib high scores.Karl Kurbjun2009-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22126 a1c6a512-1295-4272-9138-f99709370657
* Fix highest succeeded level from the highscores really this time, and don't ↵Thomas Martitz2009-08-02
| | | | | | confuse MIN() and MAX(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22125 a1c6a512-1295-4272-9138-f99709370657
* Cap the level chooser to NUM_LEVELS (100) to avoid accessing level 101, ↵Thomas Martitz2009-08-02
| | | | | | which contains the secret Data Abort Bubble (which looks really funny but is not an Easter Egg). Fix a bug with loading the highest succeeded level from the highscores too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22124 a1c6a512-1295-4272-9138-f99709370657
* Fix red - overlooked renaming in 1 place.Thomas Martitz2009-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22122 a1c6a512-1295-4272-9138-f99709370657
* New bubbles background for 176x220 (Sansa e200), heavily based off a mockup ↵Thomas Martitz2009-08-02
| | | | | | | | provided by Marianne Arnold. Also implement some custom text positioning which is needed to display the text boxes horizontally. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22120 a1c6a512-1295-4272-9138-f99709370657
* Remove two left-over DEBUGFsThomas Martitz2009-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22118 a1c6a512-1295-4272-9138-f99709370657
* A bit of rework in bubbles:Thomas Martitz2009-08-02
| | | | | | | | | *) Change saving mechanism: always save into RAM on any exit button, and offer an additional quit item in the game menu (so that 1 item doesn't save -> no disk spinup) *) Change loading mechanism: always load on entering the game, but delete the save file still on actually resuming (that fixes weirdnesses with the level choosing menu item) *) Remove the highscores from the bubbles struct. *) Swap the "Start New Game" and "Resume Game" menu items to help against accidental deletion of progress. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22116 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#10350, prevents to save an unchanged highscore and move the ↵Johannes Schwarz2009-07-18
| | | | | | function show_highscore to the lib git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
* Bubbles: Make new screen support a bit more generic and add support for ↵Karl Kurbjun2009-07-18
| | | | | | 640x480 and 480x640 screen sizes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21945 a1c6a512-1295-4272-9138-f99709370657
* Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere2009-07-05
| | | | | | (FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
* FS#10291: use lib highscore.h and add a new highscore tableJohannes Schwarz2009-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21643 a1c6a512-1295-4272-9138-f99709370657
* Enable plugins on the Onda VX747Maurus Cuelenaere2009-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
* Sansa Fuze: Fix bubbles controls (scrollwheel didn't work).Thomas Martitz2009-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20338 a1c6a512-1295-4272-9138-f99709370657
* Accept the first patch at FS#9953 - Add Playback Control to more plugins, ↵Thomas Martitz2009-02-26
| | | | | | by Joshua Simmons git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20111 a1c6a512-1295-4272-9138-f99709370657
* revert/fix parts of r19673, as it changed some e200 keymaps and introduces ↵Dominik Wenger2009-01-16
| | | | | | not-needed FIXME comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | 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
* Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli2009-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
* Replace the bubbles start screen with a standard menu to fix FS#8950.Jonathan Gordon2008-11-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19253 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: build plugins (FS#9578)Rafaël Carré2008-11-28
| | | | | | | | | | | | 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
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* Makefile overhaul. All generated bitmaps are now explicitly in ↵Björn Stenberg2008-11-03
| | | | | | 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
* FS#9281 Rename of splash functions.Nils Wallménius2008-08-15
| | | | | | | | | | | | | | | | | | | | * Remove gui_splash() * Rename gui_syncsplash() to splashf() and remove its voice capabilities. * Rename the internal splash() to splash_internal() and introduce an externally visible splash() that handles simple splashing without printf functionality e.g. splash(HZ, ID2P(LANG_FOO)); or splash(HZ, "foo"); if a LANG_* id is passed it will be voiced. * Adjust all places that called gui_syncsplash() to use the correct variant from above. * Export both new functions to plugins and adjust places calling rb->splash() to use the correct variant so that we now have naming consistency between the core and plugins. * Fix one latent bug that would cause my sim to crash with the above changes and correct P2STR and P2ID macros, thanks to pondlife. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18282 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Patch FS#8857 by Justin Hannigan - Correct Gigabeat instructions for BubblesLinus Nielsen Feltzing2008-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17015 a1c6a512-1295-4272-9138-f99709370657
* Oooops, fix yellow.Jens Arnold2008-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16758 a1c6a512-1295-4272-9138-f99709370657
* VU_meter: Fix help texts for most targets. * Blackjack: Add help text for ↵Jens Arnold2008-03-23
| | | | | | 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
* Adapt most single-file plugins to the M3 keypad and screen. It's still ↵Jens Arnold2008-03-22
| | | | | | 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
* Bubbles for Sansa c200.Marianne Arnold2007-09-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14894 a1c6a512-1295-4272-9138-f99709370657
* Make bubbles use one background picture that is the size of the display ↵Marianne Arnold2007-09-28
| | | | | | instead of combining a 'left' and sometimes a 'right' bmp. This way it's clearer how the background is generated and adapting to new display sizes should be easier. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14893 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#5464 - organise the rocks directory. Jonathan Gordon2007-08-06
| | | | | | | 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
* plugins code cleanup : moved the duplicated fixed point table loockup based ↵Kevin Ferrare2007-07-31
| | | | | | sinus/cosinus functions to fixedpoint.c, removed the bmp size definition in the clock.c|-(useless as the size is already defined in a .h generated with every bitmaps ...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14087 a1c6a512-1295-4272-9138-f99709370657