Karl Kurbjun
fce66cb835
Dice: Prevent a divide by 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23842 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 04:45:22 +00:00
Teruaki Kawashima
e2e7ecf350
add playback control to more menu of plugins.
...
although it doesn't make much sense for some plugins like dice as the menu is only shown when you start that plugin.
change star plugin to go back to menu when exit game instead of closing plugin so that above change makes useful.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22171 a1c6a512-1295-4272-9138-f99709370657
2009-08-05 14:29:29 +00:00
Andrew Mahone
0b41f0599f
unify pointers to value for configfile, and add TYPE_BOOL type, used by
...
pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 22:53:12 +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
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
Peter D'Hoye
205f3df781
Remove a viewport ambiguity by changing the screens width/heigth members into lcdwidth/lcdheight. Normal usercode should always use getwidth()/getheigth() as that returns the viewport width/height. Fixes issues that would have appeared in many places when introducing viewports with sizes != lcd sizes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17857 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 20:45:21 +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
Jonathan Gordon
5ca1539969
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 03:35:24 +00:00
Kevin Ferrare
a63181c1d1
Fixed the Total being out of screen with huge fonts like ter-u32b
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15317 a1c6a512-1295-4272-9138-f99709370657
2007-10-26 16:44:52 +00:00
Jonathan Gordon
36af39b4ab
FS#7478 (heavily modified by me).
...
Dice now saves your config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13984 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 13:08:12 +00:00
Kevin Ferrare
40ea9d09e7
Fixes red hopefully
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13936 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 03:03:29 +00:00
Kevin Ferrare
21cc9a6d76
Dice plugin now works on remote and uses the action api ; cleaned up the code a little bit as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13935 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 02:47:37 +00:00
Jonathan Gordon
b85817a5ba
Update some comments in menu.h to be hopefully more helpful.
...
Fix all the wrong usage of rb->do_menu() (my fault, sorry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 08:26:27 +00:00
Marcoen Hirschberg
a7168feeac
attempt to make the Gigabeat button mappings in the plugins more logical and in line with the mapping in rockbox itself
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13436 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 23:38:09 +00:00
Jens Arnold
f9b90e9103
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Tom Ross
c7f5cccd3e
Adjust plugins to use the new menu API. Int settings still use the old API. Remove a nasty global in Star and add some error checking. Add a work-around for the gigabeat so that Star doesn't crash on target. The transition works fine on the sim and I see nothing obviously wrong with the code but it manages to crash on target everytime.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12946 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 07:33:18 +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
Dave Chapman
d64e626387
Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI 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
2007-01-14 13:48:09 +00:00
Barry Wardell
24f4a2a8cf
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the 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
2006-10-26 13:38:09 +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
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
Brandon Low
fea567f9af
Fix dice on the player (sim at least, my player is acting up)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9014 a1c6a512-1295-4272-9138-f99709370657
2006-03-12 18:46:05 +00:00
Marcoen Hirschberg
e6955954ac
add gigabeat keys
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8975 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 13:55:08 +00:00
Brandon Low
b626f49cf4
Dice rolling plugin by me with help from Paul_the_Nerd on some keypads
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8924 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 22:42:50 +00:00