FS#1510 - Wormlet patch to allow setting wormlet options.

Attached to Project: Rockbox
Opened by Tom Evans (d07ngr) - Wednesday, 09 July 2003, 00:52 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch adds the following functionality to wormlet

- Allows user to set ARGH (block) size
- Allows user to set wormlet speed
- Allows user to set length per food
- Allows user to set number of worms
- Allows user to set number of players
- Allows user to set control styles
- Settings and high score are persisted to a file
in /.rockbox. Settings are loaded when the user loads
the plugin, and persisted when it exists

The patch is in unified format, and against cvs of 7/7/03
(really 6/7/03)

All settings are maintained through use of the of the
functions in menu.c . As these functions are not
(currently) in the plugin_api struct, this patch adds them
to plugin.c/plugin.h . It also adds in various other missing
functions, lcd_setmargins() from lcd.c, and set_int() and
set_bool_options() from settings.c . IMHO it would be
wise to import all the settings functions, so that plugins
can present a consistent look and feel in their menus.

Questions etc can be directed at me on IRC (I'm the
annoying one named MT), or by email tom.spam _AT_
impulsed DOT net
This task depends upon

Closed by  Zakk Roberts (midkay)
Monday, 22 May 2006, 07:01 GMT
Reason for closing:  Accepted
Additional comments about closing:  Just committed this, three years after submission. :)
Comment by Anonymous Submitter - Monday, 30 August 2004, 02:35 GMT

I was wondering if this would go in sometime this year. :P
It is a nice patch. BTW: Where have been MT, I missed you!

-Lee P