Commit graph

1152 commits

Author SHA1 Message Date
Antoine Cellerier
50b6ea7b91 Change hearts and diamonds bitmaps for monochrome screens. Thanks to pixelma for the idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10452 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:55:18 +00:00
Daniel Stenberg
451f08ad4c repair x5 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10451 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:40:37 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Antoine Cellerier
364e892050 Remove some more useless code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10445 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:11:47 +00:00
Antoine Cellerier
312ccc2f2f Some graphics fixes for solitaire. (Numbers for hearts and diamonds still 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-03 19:57:33 +00:00
Jens Arnold
89c81ce1fb Repair bufferend scrolling background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10434 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 15:13:57 +00:00
Jens Arnold
ce23f3d921 Greyscale targets: Fix empty display when returning from menu without action. Don't show remnants of old info during disk spinup when loading a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10426 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 06:51:27 +00:00
Antoine Cellerier
e3851828af Fix compile warning (and small diaply bug)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10423 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:33:34 +00:00
Antoine Cellerier
5e2a9a19cf Cleanup solitaire code a bit. A side effect is that it should now be 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-08-02 22:17:21 +00:00
Antoine Cellerier
c00c94e1a4 Some more solitaire graphics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10421 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:14:59 +00:00
Jens Arnold
b4cb493135 Proper rounding...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10420 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 21:15:22 +00:00
Jens Arnold
fd9bd310a2 Slightly better precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10419 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:57:40 +00:00
Jens Arnold
344849cc22 Ooops, don't apply correction when it shouldn't be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:19:20 +00:00
Jens Arnold
628d20a610 Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 00:22:01 +00:00
Linus Nielsen Feltzing
73c283e969 Fix bug #5724 - Missing characters in text viewer, the number of characters in the line to display was calculated with a too wide character as reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10395 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 17:48:38 +00:00
Shachar Liberman
5360df96ef accept patch FS#4761 - putting the player on hold will now pause games. this should be
fitted to pong and rockblox as well. credit Lukas Sabota for the initial work, and, my very
own first commit!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10365 a1c6a512-1295-4272-9138-f99709370657
2006-07-30 03:10:09 +00:00
Antoine Cellerier
68e56552fd Commit greyscale images again using binary mode this time. Also changed bitmap a bit to increase contrast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10356 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 21:09:58 +00:00
Antoine Cellerier
b17702eebc Remove bitmap (i'll commit it again in binary mode). This will break some of the builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10355 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 20:59:05 +00:00
Jens Arnold
05ddd9a44e X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Antoine Cellerier
2d4cfa8738 Star plugin (again): Apply http://www.rockbox.org/tracker/task/5493 (button help strings for all targets) and rework the help string for grey/color targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10345 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 22:28:48 +00:00
Antoine Cellerier
a322081e94 Add bitmaps for greyscale LCD targets for "star" game. Closes http://www.rockbox.org/tracker/task/5509
(bitmaps are a bit too large for ipod mini, but the game is still playable)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10344 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 22:04:07 +00:00
Antoine Cellerier
821a6c9169 Thou shall always test compilation before commiting. (fixes b&w LCD targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10343 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 21:23:55 +00:00
Antoine Cellerier
c577ec6790 Apply patch from http://www.rockbox.org/tracker/task/5569
Quote:
* Reduced the speed back to normal on colour targets (except 5G because it's LCD is slow)
* Added the ability to use the select button to navigate menus on iPod and irivers.
* Tried to fix the animation next to the menu. It's a little better but still very flakey.
* Adjusted the position of the ball and block indicator bitmap while playing the game, so they are not placed off the edge of the screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10342 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 21:08:52 +00:00
Antoine Cellerier
3e60bc4427 * fix "number of mines" display on some target (previously didn't work on iPod 5G). This closes http://www.rockbox.org/tracker/task/5701
* remove trailing spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10341 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 20:53:57 +00:00
Linus Nielsen Feltzing
c849219370 Moved the X5 button driver to the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Mark Arigo
073d73be51 Fixes text viewer column advance when in wide mode using play+left/right button combo (bug #5685)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10327 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 20:49:53 +00:00
Antoine Cellerier
9013cb0f9e Fix compile warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10301 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 21:17:39 +00:00
Antoine Cellerier
a096c83689 Make the font browser a bit more usable on real targets. (The screen is only redrawn when scrolling is needed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10300 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 20:55:55 +00:00
Antoine Cellerier
ddbda01dc1 Take selected color into account when using the "text" tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10289 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 10:31:29 +00:00
Antoine Cellerier
9ab9b6e954 Fix file browser (which fixes file loading from menu). Looks like errno isn't set as expected when using opendir on real targets.
Btw, i forgot to give credit to Eli Sherer for the original rockpaint idea and code in my previous commit. Thanks :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10288 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 00:07:11 +00:00
Antoine Cellerier
f28c35effc Fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10269 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 22:31:59 +00:00
Antoine Cellerier
928c33c255 rockpaint.c: Paint plugin for color LCD targets. Features include: different tools (brush, bucket, cut/copy/paste, line, bezier curve, text, rectangles, ovals, linear and radial gradients), 18 color palette, RGBHSV color picker, BMP file loading and saving. This still needs some work (and maybe some, if not a lot, of cleaning up of the source code) but it works fine (tested on h3x0 and ipod5g sims and ipod5g real target).
viewers.config: add rockpaint to the list of available viewers for .bmp files


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10258 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 20:11:02 +00:00
Antoine Cellerier
36daf39e57 Rockpaint interface bitmaps:
* rockpaint.bmp : toolbar
 * rockpaint_hsvrgb.bmp : color picker legend


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10257 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 20:01:08 +00:00
Antoine Cellerier
2da8f69c95 Lib to save a bitmap struct to a bmp file. Only works/tested with color bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10254 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:44:44 +00:00
Antoine Cellerier
5e306b4c19 RGB <-> HSV colorspace conversion lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10253 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:40:17 +00:00
Jens Arnold
d59b2d0bf6 Tetrox colour background rework by Marianne Arnold: * Reworked brick walls. * Preview area black to match the in-game handling. * Fixed iPod G5 preview area size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10226 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 00:28:35 +00:00
Jens Arnold
393f31cc43 1bit and 2bit LCD drivers: Low-level bit handling optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10225 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 00:04:43 +00:00
Peter D'Hoye
ed00b17305 Add .jpe and .jpeg extensions to supported viewer extensions for the jpeg viewer. Patch FS#5676 by Nils Wallménius.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10224 a1c6a512-1295-4272-9138-f99709370657
2006-07-17 22:30:21 +00:00
Jens Arnold
11e229ffa6 Graphical improvements: * Brighter blocks and darker walls on greyscale targets. * Preview background is now black. * More natural corner 'lighting'. * Get rid of the splash() remains after unpausing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10218 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 22:19:52 +00:00
Peter D'Hoye
2076363fda Fix for uninitialized variable, caused crash when viewing a file that started with whitespace. Fixes FS#5658 with solution given by bugsubmitter (Mark Arigo). Viewer code still needs more work but at least won't crash on this anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10213 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 13:53:18 +00:00
Peter D'Hoye
ac13e52522 jpeg viewer: keep backlight on. Patch 5652 by Matthias Mohr plus some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10207 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 23:15:16 +00:00
Jonas Häggqvist
1d789eec71 Adjust vu_meter plugin for all screens. Patch by Robert Keevil. Slight code policing as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10204 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 20:07:08 +00:00
Antoine Cellerier
7ee850e432 * fix bug (when double clicking on a card on the remains' stack to
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-07-11 21:38:27 +00:00
Antoine Cellerier
4ffff6fbad Apply patch number 3 from http://www.rockbox.org/tracker/task/5430
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10186 a1c6a512-1295-4272-9138-f99709370657
2006-07-08 13:19:23 +00:00
Kevin Ferrare
f77ac7a6a7 added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 12:28:27 +00:00
Kevin Ferrare
0028b05f3e Added multi-screen API to the plugins API, made 'demystify plugin' use the remote display as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 10:14:27 +00:00
Martin Arver
d32149f6f2 Remove Rockblox as it is superseeded by Tetrox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10165 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 09:39:30 +00:00
Jens Arnold
fcc23784fc Removed battery_test because it's superseded by battery_bench.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10162 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 23:23:01 +00:00
Kevin Ferrare
f5c319b305 I should be sleeping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10158 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 17:03:01 +00:00
Kevin Ferrare
0e027bd90c To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 16:43:47 +00:00
Karl Kurbjun
0b4c6671db Fix the scaling not being initialized properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10139 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 02:44:50 +00:00
Karl Kurbjun
b0ca08b33c Fix errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10138 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 01:57:44 +00:00
Karl Kurbjun
6952f03a7d Update for Rockboy: - fix scaling for other color screens than H300 - full menu rewrite to display choices properly - some small tweaks to code - some formatting updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 01:47:45 +00:00
Christian Gmeiner
98d5212983 HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10114 a1c6a512-1295-4272-9138-f99709370657
2006-06-12 00:13:00 +00:00
Antoine Cellerier
fb3c06680c Make the ball/block move faster on color screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10111 a1c6a512-1295-4272-9138-f99709370657
2006-06-11 13:25:44 +00:00
Antoine Cellerier
7efedf736b Fix b&w LCD targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10109 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 23:17:56 +00:00
Antoine Cellerier
1d7f8067a6 Grayscale graphics for sokoban. (h1x0, ipod mini and ipod 4g)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10108 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 23:08:29 +00:00
Antoine Cellerier
2c450976fd Remove unneeded defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10107 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 22:53:47 +00:00
Antoine Cellerier
101638f831 Flipit grayscale bitmaps for native grayscale LCDs
(tested simulators: h1x0, ipod mini and ipod 4g)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10106 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 22:43:38 +00:00
Antoine Cellerier
19c90888cb Ooops. Fix compilation on non color lcd targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10101 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 20:49:31 +00:00
Antoine Cellerier
40a92eaed9 Scale and use color bitmaps on color lcd targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10100 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 20:39:33 +00:00
Antoine Cellerier
74a3f2144c Scale and use color bitmaps on color lcd targets.
Change the cursor behavior so it wraps to the other side of the screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10099 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 20:37:53 +00:00
Antoine Cellerier
2e1aa7ddc2 Add color bitmap files for flipit, sokoban and star plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10098 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 20:35:02 +00:00
Karl Kurbjun
26dd5c5e9c Fix the menu start for rockdoom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10097 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 18:47:11 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Ben Basha
d510a6edf7 *decrease brickmania bitmaps files in the bitmaps folders. *fix break effect bitmaps of the nano and the x5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10067 a1c6a512-1295-4272-9138-f99709370657
2006-06-05 20:41:52 +00:00
Hardeep Sidhu
ab3e71cad9 Added reload_directory() to plugin api and modified text editor and sudoku plugins to call it when saving a new file. Fixes B#5360.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10053 a1c6a512-1295-4272-9138-f99709370657
2006-06-04 16:36:49 +00:00
Zakk Roberts
ec216ac7aa Change Star keymappings for iPod - now Menu and Play are used for up/down instead of the wheel. Fixes bug #5249.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10040 a1c6a512-1295-4272-9138-f99709370657
2006-06-03 19:24:10 +00:00
Karl Kurbjun
ca8fa65ab7 Fix wide view mode on viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10036 a1c6a512-1295-4272-9138-f99709370657
2006-06-03 07:04:02 +00:00
Dan Everton
b2ec716534 Use correct file mode when creating files. Fixes task 5452
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10020 a1c6a512-1295-4272-9138-f99709370657
2006-05-30 11:26:41 +00:00
Zakk Roberts
70a33127db Fix Player builds and extend the delay between the last name appearing and the plugin exiting from 1 second to 2.5 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10013 a1c6a512-1295-4272-9138-f99709370657
2006-05-29 10:46:41 +00:00
Zakk Roberts
e6f12e987d Entirely rewritten credits roll for bitmap LCDs, loosely based on my Clock credits roll. Text flies in from left, a line at a time, until the LCD is full, and then each line flies out and a new line flies in, until the list of names is exhausted. Significantly improves readability on H1x0, and probably on all other models as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10012 a1c6a512-1295-4272-9138-f99709370657
2006-05-29 10:21:22 +00:00
Jens Arnold
cb197b2b93 Better aspect ratio of the blocks for the archos bitmap LCD (1.06:1 instead of 1:1.25). Exactly square blocks aren't possible, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10004 a1c6a512-1295-4272-9138-f99709370657
2006-05-28 12:02:20 +00:00
Jens Arnold
2f922941b5 The code police strikes back. * Simpler button wait.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9988 a1c6a512-1295-4272-9138-f99709370657
2006-05-25 14:05:47 +00:00
Marcoen Hirschberg
e25f577e39 fix minesweeper for ondio (patch by Alexander Spyridakis)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9986 a1c6a512-1295-4272-9138-f99709370657
2006-05-25 13:42:56 +00:00
Dave Chapman
972a219676 Enable wormlet for the ipod 3g - there is no reason to exclude it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9980 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 20:25:20 +00:00
Marcoen Hirschberg
7db4270d1a make wormlet work on iaudio, patch by Mustapha Senhaji
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9979 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 19:58:37 +00:00
Zakk Roberts
476ba3b6a4 Couple more minor adjustments: * Rename old CLR_CYAN define to CLR_LTBLUE to reflect last commit's color change. * Holding a direction key gives old behavior with which player can go straight through edges without stopping (best of both worlds).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9976 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 03:57:35 +00:00
Zakk Roberts
74d86f719d Assorted changes by Mikael Magnusson and I. * When moving through filled space, stop moving at any edge. * Changed background color to a more standard lightish blue. * Use user's font in the menu unless it's too big. * iPods: Use scroll wheel in menu instead of Menu/Play being Up/Down. * Exit button no longer always completely quits the plugin; returns you to the menu if you're in a game, or quits if you're at the menu. * A couple other little things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9975 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 03:33:02 +00:00
Marcoen Hirschberg
9ad02de623 fix simulator build for the gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9973 a1c6a512-1295-4272-9138-f99709370657
2006-05-22 16:28:19 +00:00
Zakk Roberts
02e97d58b1 Patch attached to bug report #5077 by Ewan Davies which fixes argh/food generation on larger LCDs. His patch also brings up-to-date and includes Tom Evans' patch #1510 to start Wormlet with a menu for adjusting almost everything about the game (argh size, number, food size, number, growth rate, worm speed...). Some changes by me. Probably not bugfree, but Works For Me (tm).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9972 a1c6a512-1295-4272-9138-f99709370657
2006-05-22 06:56:39 +00:00
Dave Chapman
fd18a4e9d3 Patch #5384 from Alexander Spyridakis - fixes bug report 4908
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9968 a1c6a512-1295-4272-9138-f99709370657
2006-05-20 14:01:00 +00:00
Dave Chapman
217f54bc69 Patch #5362 from Alexander Spyridakis - fixes bugs #5159 and #5061
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9967 a1c6a512-1295-4272-9138-f99709370657
2006-05-20 13:47:08 +00:00
Dave Chapman
4c3ada4428 Patch #5374 - Updated text editor plugin from Jonathan Gordon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9963 a1c6a512-1295-4272-9138-f99709370657
2006-05-20 10:16:03 +00:00
Hristo Kovachev
c138d004dc Fix jpeg viewer crashing in directories with files without extension.
Thanks go to Bill Janssen


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9954 a1c6a512-1295-4272-9138-f99709370657
2006-05-18 11:05:47 +00:00
Zakk Roberts
ca916145f9 Add an 'Exit Jewels' option to the in-game menu to avoid having to exit to the main menu to quit; this allows us to remove the Menu+Select 'quit' key for iPods, which could be accidentally pressed during play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9949 a1c6a512-1295-4272-9138-f99709370657
2006-05-16 03:34:45 +00:00
Dave Chapman
830ec63b4b Stop playback before starting to use IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9947 a1c6a512-1295-4272-9138-f99709370657
2006-05-15 21:25:43 +00:00
Dave Chapman
506bac9cf7 Various clean-ups in preparation for 3.0: 1) Add a built-in default game which is used for the case when Sudoku is started as a plugin and no sudoku.ss exists - this prevents a time-consuming game generation; 2) Allow the user to abort a game generation by pressing any button; 3) Save the current state when user exits via the Quit button (previously, Sudoku only saved when quitting from the main menu); 4) Add a new "edit menu" for when the user is manually entering a new game, rather than displaying all options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9944 a1c6a512-1295-4272-9138-f99709370657
2006-05-15 20:08:37 +00:00
Jens Arnold
d9b94b6a0c Battery benchmark: * Don't crash on player. * Map remote buttons for recorder & player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9924 a1c6a512-1295-4272-9138-f99709370657
2006-05-13 07:41:12 +00:00
Marcoen Hirschberg
5725b8cbcb got Frank Dishner's viewer patch (#4873) working again and added encoding to the settings menu. Fixes #4763 and #5256
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9915 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 20:34:37 +00:00
Zakk Roberts
67faac4368 Fix bug #5298 - hard-code the background color in Sokoban to prevent everything else from being potentially unreadable (if the user has set a dark background color).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9894 a1c6a512-1295-4272-9138-f99709370657
2006-05-09 05:36:46 +00:00
Zakk Roberts
a0308f8c0a Allow BUTTON_REPEAT in the Jewels main menu for scroll, so navigation isn't annoying.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9893 a1c6a512-1295-4272-9138-f99709370657
2006-05-09 01:33:51 +00:00
Stepan Moskovchenko
b9b2bcd9b9 Fixed freezing after loader error messages.
Added RMID (Windows MIDI) header support. Added .RMI extension to
viewers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9888 a1c6a512-1295-4272-9138-f99709370657
2006-05-08 02:43:29 +00:00
Stepan Moskovchenko
595a204020 Whoops! Lousy button code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9884 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 07:27:07 +00:00
Stepan Moskovchenko
68af7bae87 Added ability to adjust the volume during playback.
Gracefully fail if no soundset installed.
Yet more messing with the ramping code. I swear, that will be the end of
me.
Basic skipping support- skip foreward a bit if Right is pressed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9883 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 07:12:07 +00:00
Jens Arnold
b4efbdcdbb Viewer: Don't say 'yes' to every option ;-) (Voice ID must be -1 for 'no clip').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9880 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 17:49:27 +00:00
Jens Arnold
15a0a17174 Fix viewer crash due to uninitialsed usage of rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
2006-05-04 19:53:26 +00:00
Jens Arnold
2343a1935d Text viewer: * Only show those options which really exist. * Basic button functions now available on all targets. * Implemented option setting in a more straightforward way (like the core options menus).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9874 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 23:16:53 +00:00
Stepan Moskovchenko
28b5afd05a Optimize synth code by pre-computing the volume scaling for each note.
Scaling is now calculated once per MIDI event at the most, instead of
once per sample. Increase voice ramping speed, increase number of
active voices a little.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9870 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 19:32:22 +00:00
Magnus Holmgren
7f1d214801 Correct a Coldfire asm constraint.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9869 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 17:45:09 +00:00