summaryrefslogtreecommitdiff
path: root/apps/plugins/codebuster.c (follow)
Commit message (Collapse)AuthorAge
* plugins: use lcd_putsf/lcd_putsxyfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
* Fix a data abort in codebuster.Thomas Martitz2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26203 a1c6a512-1295-4272-9138-f99709370657
* S#10387 - Rework pluginlib actionsThomas Martitz2010-05-20
| | | | | | | | | | | | | 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
* codebuster: save settings only if they are changed.Teruaki Kawashima2009-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24082 a1c6a512-1295-4272-9138-f99709370657
* CodeBuster: Replace mapping defines with direct use of PLA_* macros.Tomer Shalev2009-12-12
| | | | | | | | Add PLA_MENU as a way to exit to menu Add PLA_START as a way to validate a combination git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23938 a1c6a512-1295-4272-9138-f99709370657
* FS#10724 - fix alignment issue in Codebuster by Clément Pit--ClaudelJonathan Gordon2009-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657
* Correct Id keyword and add svn:keywords property.Teruaki Kawashima2009-10-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23346 a1c6a512-1295-4272-9138-f99709370657
* Correct spelling and punctuation in Codebuster menus.Alex Parker2009-10-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23334 a1c6a512-1295-4272-9138-f99709370657
* FS#10497 - New game codebuster, which is a clone of the classic game ↵Johannes Schwarz2009-10-24
mastermind. It just runs on color LCD. Thank you to the author Clément Pit--Claudel (CFP) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23332 a1c6a512-1295-4272-9138-f99709370657