summaryrefslogtreecommitdiff
path: root/apps/plugins/doom
AgeCommit message (Collapse)Author
2009-07-14FS#10080Nils Wallménius
* 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
2009-07-14Silence the gcc 4.4.0 warning by making this code look like it was probably ↵Jens Arnold
meant to be. I'm not 100% sure this is correct - latest prboom doesn't have that fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21857 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Remove int_prio argument from timer_register, and move the only use for it ↵Rafaël Carré
into alpine_cdc plugin, since this plugin is only built on SH7034 Also remove it from TIMER_START() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
2009-06-16Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon
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
2009-05-13Sansa Fuze : Fix r20680/FS#10075 (long HOME to exit plugins)Rafaël Carré
Some plugins were forgotten : mpegplayer, test_fps, test_scanrate Some plugins use button_status() and can't use BUTTON_REL or BUTTON_REPEAT flags rockblox1d : use single press BUTTON_HOME doom : use single press BUTTON_HOME and BUTTON_POWER to open doors I may have forgotten some plugins, I didn't test them one by one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20925 a1c6a512-1295-4272-9138-f99709370657
2009-04-10FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. ↵Thomas Martitz
Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
2009-04-09M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by ↵Karl Kurbjun
default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
2009-04-07Enable plugins on the Onda VX747Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-03-30Some tweaks to the Doom keymap for D2/touchscreen targets.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20584 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Use a static pattern rule to restrict the dependency on [pluginname].o to ↵Jens Arnold
single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20205 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Plugins for the Philips HDD1630. The keymaps are largely untested on the ↵Mark Arigo
device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-16loader-initialized global plugin API:Andrew Mahone
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-08Fix cygwin sim build.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19728 a1c6a512-1295-4272-9138-f99709370657
2009-01-07Removed the sim_ prefix from the plugin api.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
2009-01-05rockdoom: Mixing 512 samples in an interrupt handler is too much. Gigabeast ↵Michael Sevakis
FIFOs are very tight and it will channel swap and crackle. It's better to minimize time in the audio callback anyway so change it to 128. It should probably even be 64. Use faster saturation code too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19679 a1c6a512-1295-4272-9138-f99709370657
2009-01-04Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
2009-01-03Cleaner solution to plugin-included core files.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19664 a1c6a512-1295-4272-9138-f99709370657
2009-01-03List sscanf.c in SOURCES instead of doom.makeBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19663 a1c6a512-1295-4272-9138-f99709370657
2008-12-08Commit FS#9607 by Adam Hogan: fix plugin keymaps for Creative Zen Vision:MMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19363 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Added keymaps for ZVM to plugins. Enabled zvm plugin building in ↵Björn Stenberg
tools/configure. FS#9605 by Adam Hogan and Robert Menes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Added 'keywords' and 'eol-style' properties.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-20Don't objcopy simulator plugins.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19152 a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg
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-10-18revert plugin_api part of r18830, as this was the wrong solution for thoseFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18831 a1c6a512-1295-4272-9138-f99709370657
2008-10-18code police : fix some multiply defined variablesFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18830 a1c6a512-1295-4272-9138-f99709370657
2008-09-16Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour ↵Rob Purchase
on D2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
2008-09-08fix FS#8641Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18451 a1c6a512-1295-4272-9138-f99709370657
2008-08-23Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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-05-13Plugin parameters should be const.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-02Build the remaining plugins for Gigabeat S and straigten out the fake IRAM ↵Michael Sevakis
in the codecs and plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
2008-04-27FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
2008-04-07m:robe 100: a few button defines and other greyscale related changesRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17030 a1c6a512-1295-4272-9138-f99709370657
2008-04-04Greyscale library: Optionally put the greyscale ISR on COP on ↵Jens Arnold
portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
2008-04-04Allow to select the core for running the user timer on portalplayer targets. ↵Jens Arnold
* Incompatible plugin API change -> sorted API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
2008-03-25iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ↵Jens Arnold
~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold
24 bit BMP instead of unnecessary 32 bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-22D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas ↵Rob Purchase
Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-02Greyscale library: Preparations for a gamma measurement plugin.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
2008-01-13Greyscale library: Plugins can now put the management structure in IRAM for ↵Jens Arnold
higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
2008-01-10Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon
make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-07Gah, e200 sets CONFIG_LCD to LCD_X5.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16011 a1c6a512-1295-4272-9138-f99709370657
2008-01-06Doom LCD update: * Speed up the C versions slightly (colour and greyscale). ↵Jens Arnold
* Fix the ASM version for H300 (caused line flicker, probably since buffered LCD writes were enabled). Slightly slower, but still ~8% faster than plain C. Removed the C version of this ASM because of the same problem (was only there for reference). * Added ASM optimised version for X5 (~8.5% faster). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16009 a1c6a512-1295-4272-9138-f99709370657
2008-01-06Doom: Keep the light on during gameplay.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16004 a1c6a512-1295-4272-9138-f99709370657
2008-01-04All-new greyscale library, replacing the old one. Features: (1) ↵Jens Arnold
Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04Stop wasting binary size + ram for several plugins. Plugins are supposed to ↵Jens Arnold
be linked with --gc-sections, in case they use plugin library elements. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15997 a1c6a512-1295-4272-9138-f99709370657
2007-11-07Get the user timer working properly consequentially fixing doom without a hack.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
2007-11-02set the iriver h100 and h300 keys correctly (fix red)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15406 a1c6a512-1295-4272-9138-f99709370657
2007-11-02Build some more plugins for M:Robe most work, doom builds and runs if you ↵Karl Kurbjun
use a hack - need to fix the user timer so that it works properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657