summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/menu.c (follow)
Commit message (Collapse)AuthorAge
* FS#12273 - use buflib for font storage. thanks to the testers :)Jonathan Gordon2011-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 a1c6a512-1295-4272-9138-f99709370657
* * Rename backlight_force_on to backlight_ignore_timeout to make it clear ↵Teruaki Kawashima2011-01-24
| | | | | | | | | | | what the function does. * Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp. No functional change except lamp. See aslo FS#9883. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
* Added the snapshot patch for rockboy (FS#11757)Michael Stummvoll2010-11-25
| | | | | | | | Added a simple filesize-check for the options file before loading to avoid crashes due the changed config git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28664 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: Added an short stats option which only shows the two numbersMichael Stummvoll2010-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28658 a1c6a512-1295-4272-9138-f99709370657
* rockoy: boosting the max frameskip option up to 20 Max instead of 6 Michael Stummvoll2010-11-24
| | | | | | | because 6 is not enough sometimes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28657 a1c6a512-1295-4272-9138-f99709370657
* Adding an reset option to the rockboy menuMichael Stummvoll2010-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28655 a1c6a512-1295-4272-9138-f99709370657
* rest of FS#11632 by Michael Stummvoll with modification by me.Teruaki Kawashima2010-11-11
| | | | | | | - don't turn off backlight while playing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28557 a1c6a512-1295-4272-9138-f99709370657
* FS#11632: (rockboy) Some fixes and improvements by Michael StummvollTeruaki Kawashima2010-11-11
| | | | | | | | | | | | - increase number of slots to save/load state. - add volume control. - present old description when overwriting exsinting savegame and don't save when cancelled while input the description. Flyspray: FS#11632 Author: Michael Stummvoll git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28554 a1c6a512-1295-4272-9138-f99709370657
* rockboy: fix that description is cut off if it is near 20 bytes in load/save ↵Teruaki Kawashima2010-11-06
| | | | | | | | menu. replace some numbers by #define value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28521 a1c6a512-1295-4272-9138-f99709370657
* 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
* rockboy: rename pcm_*() functions to avoid namespace clash with rockboxRafaël Carré2010-05-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26327 a1c6a512-1295-4272-9138-f99709370657
* rockboy: fix format strings in snprintf. use int for slot_id and use %d tag ↵Teruaki Kawashima2010-05-17
| | | | | | for it in format strings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26104 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
* Correct checking return value of open in plugins.Teruaki Kawashima2009-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23874 a1c6a512-1295-4272-9138-f99709370657
* Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius2009-08-20
| | | | | | usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
* Fix mistake at checking the return in rockboy. Thanks Al Le for spotting.Thomas Martitz2009-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22273 a1c6a512-1295-4272-9138-f99709370657
* Make kbd_input() show a cancel splash to indicate user abort better and for ↵Thomas Martitz2009-08-12
| | | | | | better consistency all over the place. Change checking for its return value (style-wise) at some places too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: Cleanup redKarl Kurbjun2009-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22215 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: Significantly reduce the number of palette updates, add support for ↵Karl Kurbjun2009-08-09
| | | | | | hardware palette mode, screen can now be rotated left or right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22214 a1c6a512-1295-4272-9138-f99709370657
* FS#10080Nils Wallménius2009-07-14
| | | | | | | | | | * Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon2009-06-16
| | | | | | | Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | 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
* Fix yellowTom Ross2007-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15145 a1c6a512-1295-4272-9138-f99709370657
* Code police and clean up for rockboy.Tom Ross2007-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657
* Clean up hard-coded pathsNils Wallménius2007-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
* RTC (real time clock) support for Rockboy. The time in games like Pokemon ↵Tom Ross2007-07-30
| | | | | | Gold/Silver should now stay synced on RTC-capable targets. Other targets will lose track of time when the player is turned off. User's can edit the .rtc file in an attempt to resync the RTC. The clock should stay synced when entering and leaving the menu. I've tested this over the past two weeks and it seems to work well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14071 a1c6a512-1295-4272-9138-f99709370657
* Fix rockboy for the H100's. Thanks for fixing the HW codec players PeterKarl Kurbjun2007-06-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13708 a1c6a512-1295-4272-9138-f99709370657
* Sound improvements for rockboy - players now sync the sound (The gigabeat ↵Karl Kurbjun2007-06-24
| | | | | | now plays at a steady 60 fps as long as the frameskip is set properly). If a new sample is not available a blank buffer is used. All devices use 44.1 kHz for gameboy sound now so no more high pitched sounds. Added a screen rotation option. Removed unscaled code for devices with a screensize smaller than the gameboy. All buttons are now configurable. Scroll wheel devices still have button configuration problems though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13698 a1c6a512-1295-4272-9138-f99709370657
* Move the old api out of the core and into the plugin lib.Jonathan Gordon2007-05-08
| | | | | | | ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
* Let GCC check arguments of some more printf-style functions, also for ↵Jens Arnold2007-03-17
| | | | | | plugins and codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* Major Rockboy update. Tom Ross2007-02-06
| | | | | | | | | | | | | | | | | | | | | 1) Adapt Rockboy to smaller screens (H10, X5, and iPod Nano). 2) Add the ability to use a preset palette on color targets. Choose 'Set Palette' from the main menu. 3) Clean up the code to remove any unused code and variables. 4) Changed tabs to spaces. 5) Disable reading and writing sound when sound is disabled. 6) Disbable writing to the RTC since it is not implemented yet. 7) Minor optimizations from WAC gnuboy CE and iBoy. 8) Massive clean up of code to make it appear consistent. 9) Change all C++ style comments to C style. 10) Completely reorganize dynarec. Add fixmes to all unimplemented opcodes. Add debug writes for all opcodes. Attempt to implement a few opcodes myself. 11) Silence some warnings when built using dynarec. 12) Minor reshuffling of IRAM, may or not offer a speed increase. 13) Include fixes found in the short-lived gnuboy CVS. All in all, there's about a 10% improvement on my test roms when sound is disabled and slight improvement with sound. Especially noticable when there are few sprites on screen and less action is occurring. See FS #6567. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12216 a1c6a512-1295-4272-9138-f99709370657
* add gigabeat button definesMarcoen Hirschberg2006-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
* 'no voice' is -1 not 0 and menu_items does have a pointerMarcoen Hirschberg2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
* don't assign NULL to a long (fixes sim build warnings)Marcoen Hirschberg2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
* Fix the scaling not being initialized properly.Karl Kurbjun2006-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10139 a1c6a512-1295-4272-9138-f99709370657
* Update for Rockboy: - fix scaling for other color screens than H300 - full ↵Karl Kurbjun2006-06-19
| | | | | | menu rewrite to display choices properly - some small tweaks to code - some formatting updates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
* gigabeat related changesMarcoen Hirschberg2006-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8885 a1c6a512-1295-4272-9138-f99709370657
* Initial support for iPod color and video. The Nano has a 176x132 LCD, which ↵Dave Chapman2006-01-20
| | | | | | is the first colour LCD smaller than the gameboy's 160x144 display - so it needs work to skip scanlines. Button handling still needs more work - only up/down/left/right/start are currently mapped. Code is removed from IRAM due to 'relocation truncated to fit: R_ARM_PC24' errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8400 a1c6a512-1295-4272-9138-f99709370657
* Karl Kurbjun's patch #1407719:Daniel Stenberg2006-01-20
| | | | | | | | | | | | | | Here's another patch for rockboy that adds automatic frameskip (it's pretty rough as I haven't figured out an accurate timer), fullscreen support on the H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the IRAM stuff correct though as it doesn't seem to make much of a difference if any. I've also added a statistics option that will show how many frames per second the gameboy is seeing (not what the player is getting) and what the frameskip is at. When you enable stats sometimes you have to go back into the menu and then come out to clear erronous values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657
* Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedupsLinus Nielsen Feltzing2006-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
* First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold2005-06-24
| | | | | | pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
* load/savestate support added to the menu, contributed by pabsMichiel Van Der Kolk2005-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6129 a1c6a512-1295-4272-9138-f99709370657
* replaced BUTTON_SELECT with BUTTON_OFFMichiel Van Der Kolk2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6123 a1c6a512-1295-4272-9138-f99709370657
* ack, forgot to add fileMichiel Van Der Kolk2005-03-03
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6121 a1c6a512-1295-4272-9138-f99709370657