This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9953 - Add Playback Control to more plugins
Attached to Project:
Rockbox
Opened by Joshua Simmons (mud) - Wednesday, 25 February 2009, 19:10 GMT+2
Opened by Joshua Simmons (mud) - Wednesday, 25 February 2009, 19:10 GMT+2
|
DetailsI've noticed that many plugins don't have the Playback Control menu even though they could. I'm going to have a go at fixing that.
I've categorised the plugins which could use the menu like so: Already have a standard-ish menu (not bitmap), it just needs to be added: bubbles chessbox chopper minesweeper reversi superdom wormlet xobox clock fireworks vu_meter These are the easiest case, it's just a matter of adding the menu item. Don't have a menu that makes sense to add Playback Control to (either they don't have a menu at all, or they only have a start-menu that can't be usefully returned to): flipit invadrox maze robotfindskitten rockblox rockblox1d rocklife sliding_puzzle snake snake2 spacerocks star stopwatch mandelbrot oscilloscope These are a mixed bunch. Some could actually use a menu, and some could just have a key assigned to bring up the Playback Control menu. More involved than the first bunch in general. Already have a menu, but it's really custom in some way. They either need to be switched to more standard menus, or something special needs to be done: brickmania chessclock pegbox rockpaint These will probably be the most work. Let me know if I forgot any plugins, or if you think it doesn't make sense to add the menu to a plugin that I've listed above. Attached is a patch for the first bunch. The others will be coming eventually. I'd appreciate it if you leave this FS entry open until I get to the second and third bunch, even if the first bunch happens to get commited to svn. |
This task depends upon
FS#9956(change brickmania to use a standard menu).The topic of this task is pretty generic, so if you choose good filenames for the patches, everything can be here.
I'll leave this open as you wanted.
pegbox-menu.patch converts pegbox to use a standard menu. In addition to this patch, delete apps/plugins/bitmaps/native/pegbox_menu* .
pegbox-playback.patch goes _on top of_ pegbox-menu.patch and adds the playback_control menu.
kugel: Thanks for commiting that first bunch. I'll try to keep the patches all in here like you requested.
flipit, maze, oscilliscope, robotfindskitten, rockblox, rockblox1d, rocklife, sliding_puzzle, snake, snake2, spacerocks, star, stopwatch
Most of them now have a short menu upon "exiting" which lets the user choose Playback Control, Resume, or Quit. The plugins that had a pause mode, I changed the pause mode into a menu which allows them to select Playback Control, Resume or Quit. It's less consistent this way, but highjacking pause mode like that is superior to preventing immediate exit from plugins.
In summary, to get all of my changes that aren't in svn (as of r20133), the following patches should be applied roughly in order:
FS#9956Delete apps/plugins/bitmaps/native/brickmania_menu*
brickmania.patch
pegbox-menu.patch
Delete apps/plugins/bitmaps/native/pegbox_menu*
pegbox-playback.patch
chessclock-playback.patch
rockpaint-playback.patch
playback_control_or_quit.patch
group2.patch
If you want all of the changes, all_changes.patch includes everything listed there. (you still need to delete the bitmaps manually, the patch can't do that)
If all of these patches get resolved in one way or another (accepted or rejected), this FS entry can now be closed.
- same game menu for all games including playback control
- only display resume, if you can select it
- add help to all game menus, particularly to complex games like goban
I have written a patch for brickmania, which display only resume, if you can select it. It's my first patch, so please be tolerant. I'm not really satisfied with the style of my code, but I hope you can tell me, how to improve it.
-add a small menu to choose difficulty
- correct buttons on Sansa
I hope it works fine for you.
I have to change highscore.c, but it hasn't got any effect on other plugins, which use this file. The function highscore_update() just returns the position of the input in the list.
improve game menu in snake