Commit graph

73 commits

Author SHA1 Message Date
Johannes Schwarz
2dbdfac86a FS#10620 - fix a bug in bubbles on c200 thanks to Sascha Wilde
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23449 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:08:00 +00:00
Teruaki Kawashima
d41e698ea0 brickmania, blackjack, jewels, bubbles: Remove save file only if player resumed the game loaded from the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22639 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:14:22 +00:00
Karl Kurbjun
25123570c7 Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:46:24 +00:00
Karl Kurbjun
fe608c840d Bubbles: Add support for vertical strides.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22568 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 04:00:30 +00:00
Thomas Martitz
32d50c2803 Bubbles: Change the saving message slightly to include saving scores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22489 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 01:13:59 +00:00
Thomas Martitz
11def4a3b7 Bubbles: Have one quit item that doesn't save anything ("Quit without 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
2009-08-24 01:11:24 +00:00
Thomas Martitz
22ddbd9ff0 Bubbles: Don't remove the savegame before actually resuming the saved game, 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
2009-08-24 01:11:20 +00:00
Teruaki Kawashima
2357ec4178 calendar: fix bug when add new event text longer than last entry.
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-03 16:30:08 +00:00
Karl Kurbjun
50d3928901 Blackjack: Use standard menu and add playback menu, use pluginlib high scores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22126 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:07:58 +00:00
Thomas Martitz
bbc9aebae3 Fix highest succeeded level from the highscores really this time, and don't confuse MIN() and MAX().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22125 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 23:26:02 +00:00
Thomas Martitz
5c09d3741a Cap the level chooser to NUM_LEVELS (100) to avoid accessing level 101, 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
2009-08-02 23:06:06 +00:00
Thomas Martitz
5291d09aaa Fix red - overlooked renaming in 1 place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22122 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 21:38:03 +00:00
Thomas Martitz
4654b3c90b New bubbles background for 176x220 (Sansa e200), heavily based off a mockup 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
2009-08-02 20:26:25 +00:00
Thomas Martitz
374b21ef8a Remove two left-over DEBUGFs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22118 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:47:06 +00:00
Thomas Martitz
322fae4299 A bit of rework in bubbles:
*) 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
2009-08-02 16:41:30 +00:00
Johannes Schwarz
99f5299996 Commit FS#10350, prevents to save an unchanged highscore and move the function show_highscore to the lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 15:16:24 +00:00
Karl Kurbjun
f2c45dc369 Bubbles: Make new screen support a bit more generic and add support for 640x480 and 480x640 screen sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21945 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 03:47:03 +00:00
Maurus Cuelenaere
802743a061 Take 2 at 'Consolidate all fixed point math routines in one library' (FS#10400) by Jeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:06:07 +00:00
Johannes Schwarz
cacb47e262 FS#10291: use lib highscore.h and add a new highscore table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21643 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 23:05:41 +00:00
Maurus Cuelenaere
fef405c328 Enable plugins on the Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:41:44 +00:00
Thomas Martitz
997005ece0 Sansa Fuze: Fix bubbles controls (scrollwheel didn't work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20338 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 04:49:55 +00:00
Thomas Martitz
15dbde1ab7 Accept the first patch at FS#9953 - Add Playback Control to more plugins, by Joshua Simmons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20111 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 17:10:27 +00:00
Dominik Wenger
15013562dc revert/fix parts of r19673, as it changed some e200 keymaps and introduces not-needed FIXME comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 15:35:05 +00:00
Andrew Mahone
23d9812273 loader-initialized global plugin API:
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-16 10:34:40 +00:00
Michael Giacomelli
6d5823f964 Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 23:33:15 +00:00
Jonathan Gordon
fc9dc0a54a Replace the bubbles start screen with a standard menu to fix FS#8950.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19253 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 02:31:17 +00:00
Rafaël Carré
5656f8245f Sansa Clip: build plugins (FS#9578)
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-28 00:37:28 +00:00
Björn Stenberg
c6b3d38a15 New makefile solution: A single invocation of 'make' to build the entire 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
2008-11-20 11:27:31 +00:00
Björn Stenberg
ac488f8cb7 Makefile overhaul. All generated bitmaps are now explicitly in 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-11-03 14:37:50 +00:00
Nils Wallménius
01729e7a18 FS#9281 Rename of splash functions.
* 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
2008-08-15 08:27:39 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
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-06-28 18:10:04 +00:00
Steve Bavin
6526577818 Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Linus Nielsen Feltzing
ce08cdb294 Patch FS#8857 by Justin Hannigan - Correct Gigabeat instructions for Bubbles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17015 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 06:33:21 +00:00
Jens Arnold
00094511f4 Oooops, fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16758 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:42:32 +00:00
Jens Arnold
8bfefe9ce1 VU_meter: Fix help texts for most targets. * Blackjack: Add help text for 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-23 08:26:42 +00:00
Jens Arnold
29361abf74 Adapt most single-file plugins to the M3 keypad and screen. It's still 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-22 10:24:28 +00:00
Marianne Arnold
bb62942b89 Bubbles for Sansa c200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14894 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 22:05:22 +00:00
Marianne Arnold
7cbc161d51 Make bubbles use one background picture that is the size of the display 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
2007-09-28 21:16:35 +00:00
Jonathan Gordon
fda7d720c0 Accept FS#5464 - organise the rocks directory.
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-08-06 13:42:52 +00:00
Kevin Ferrare
df4f56b2b0 plugins code cleanup : moved the duplicated fixed point table loockup based 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
2007-07-31 04:59:03 +00:00
Jonathan Gordon
a39cf4fca1 Use the wheel to aim on the sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14055 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 09:22:14 +00:00
Jens Arnold
b701322fea Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Nils Wallménius
52a64c3af9 Correct butoon help text for ipods, fixes FS#7243
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13535 a1c6a512-1295-4272-9138-f99709370657
2007-06-01 21:29:53 +00:00
Nicolas Pennequin
95b52a0d00 Make bubbles smoother (and a bit faster) on the gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13394 a1c6a512-1295-4272-9138-f99709370657
2007-05-15 16:45:45 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Adam Boot
e56b151efb Update manual screenshots and fix a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12076 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 23:23:32 +00:00
Adam Boot
769d6a8255 Bubbles: Fix for gigabeat and add sansa e200 support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12075 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 23:03:41 +00:00
Linus Nielsen Feltzing
cf8251281c Removed executable flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11966 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:22:14 +00:00
Jonathan Gordon
65e0a0c934 fix bubbles for good this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11547 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 13:42:09 +00:00