Commit graph

18 commits

Author SHA1 Message Date
Thomas Martitz
20e9d56ba5 S#10387 - Rework pluginlib actions
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
2010-05-20 17:41:28 +00:00
Teruaki Kawashima
dc010201a5 make sure plugin reset backlight setting before exit. do code polish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24076 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 14:17:28 +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
Michael Giacomelli
9e21a42509 Commit next part of FS#10138 by Teruaki Kawashima. Fixes check for open error in rocklife.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21100 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 19:21:05 +00:00
Alexander Levin
d55ebceed7 Fix red introduced with r20610.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20612 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:48:19 +00:00
Alexander Levin
ed0ac675b0 Rocklife: allow the cells file to have comment (everything on a line starting with a '!' is a comment). FS#10081, thanks to Justin Hannigan.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20611 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:35:24 +00:00
Alexander Levin
b549ce9193 Some improvements to rocklife (FS#10087, but slightly less paranoid). Main improvement is that the file loading will not lead to stack overflow or illegal memory access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20610 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:25:12 +00:00
Tom Ross
8a36b1c323 Fix yellow in rocklife. j=j++ was most likely meant to be j++. Seems to be no change in behavior of my test file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20605 a1c6a512-1295-4272-9138-f99709370657
2009-04-02 06:26:21 +00:00
Robert Menes
843498feca FS#10079 by Justin Hannigan: Support for opening and viewing .cells files in rocklife. To use, simply select a .cells file in the file browser, and rocklife will launch and load it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20591 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 14:38:01 +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
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
Marianne Arnold
8d8576a54f Fix maze and rocklife on greyscale targets which were broken by r17382. Maybe the colours or the code can be improved a bit, just get it working again for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17390 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 17:14:45 +00:00
Barry Wardell
80ad31c5e3 Keep the old colours for maze and rocklife.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17382 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 13:42:05 +00:00
Jens Arnold
bf2a33485f Fix some plugins not using the helper functions for the new backlight timeout handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:55:58 +00:00
Antoine Cellerier
4e7b760740 propset svn:keywords Id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13737 a1c6a512-1295-4272-9138-f99709370657
2007-06-29 19:45:00 +00:00
Antoine Cellerier
b046b79f7e FS #6616 - "rocklife: Conway's Game of Life" by Matthias Wientapper.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13736 a1c6a512-1295-4272-9138-f99709370657
2007-06-29 19:40:03 +00:00