Commit graph

82 commits

Author SHA1 Message Date
Nils Wallménius
61cf9b8513 Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra header file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 15:07:54 +00:00
Nils Wallménius
c7f9ca4067 Accept FS#7264 'Build with -Os switch for coldfire targets'.
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers 
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 15:35:07 +00:00
Paul Louden
4f711da546 Fix a bug concerning difficulty, pointed out by DerPapst in IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13592 a1c6a512-1295-4272-9138-f99709370657
2007-06-07 22:04:27 +00:00
Antoine Cellerier
d90042dbaa Fix drawing on overlaping qixes on B&W displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13577 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 20:55:42 +00:00
Antoine Cellerier
45cfca85c5 Yet some more optimisation and recorder/ondio related bug fixing for Xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13576 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 20:48:01 +00:00
Antoine Cellerier
0150e4d159 Fix bitmap drawing for b&w targets on xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13567 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 22:37:49 +00:00
Antoine Cellerier
cdc295dcae Add recorder and ondio support to Xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13566 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 21:49:51 +00:00
Antoine Cellerier
89fee25454 Xobox: really make it fast. Plays smoothly on Video iPod even at fastest speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13565 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 19:52:21 +00:00
Antoine Cellerier
3611b4c8d8 * xobox.c: Fix speed range.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13549 a1c6a512-1295-4272-9138-f99709370657
2007-06-04 07:30:19 +00:00
Antoine Cellerier
3240c01611 * xobox.c: User configurable speed and difficulty levels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13548 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 22:19:56 +00:00
Antoine Cellerier
ffcc94ea92 * xobox.c: Don't call lcd_clear_display() since we're redrawing every single screen pixel afterwards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13545 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 21:09:32 +00:00
Antoine Cellerier
e9680ae24f * xobox.c: simplify a bit more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13544 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 17:48:25 +00:00
Antoine Cellerier
b5d5f7fb2a * xobox.c: - Speed it up (makes it play without lag on iPod Video).
- Fix wrong qix angle after hiting wall.
           - Fix area with qix being filled if qix was on the wall (during rebound).
           - Fix rendering of qixes when they overlap.
           - Change the player and qix bitmaps so that they're centered on the 8x8 block.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13543 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 17:34:23 +00:00
Marcoen Hirschberg
a7168feeac attempt to make the Gigabeat button mappings in the plugins more logical and in line with the mapping in rockbox itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13436 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 23:38:09 +00:00
Tom Ross
8a6e69263e Fix a few bugs in Xobox. Now menu isn't pure black on non-color targets and an issue where the board was drawn even when the user quit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12910 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:52:56 +00:00
Jonathan Gordon
8b7a27d189 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12908 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:42:14 +00:00
Jonathan Gordon
1f5ee2a366 convert the xobox menu to the new API so it can be used as an example for plugin devs
Includes some fixes in the api to handle this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:31:56 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Dave Chapman
d64e626387 Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Karl Kurbjun
d6b0c97312 Don't need to remove the backdrop for all plugins - leave it up for some.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:14:27 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Antoine Cellerier
ff4867a799 Misc changes to xobox (basically remove some unneed tests and optimise (i hope) the drawing function)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10973 a1c6a512-1295-4272-9138-f99709370657
2006-09-17 15:07:11 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Shachar Liberman
5360df96ef accept patch FS#4761 - putting the player on hold will now pause games. this should be
fitted to pong and rockblox as well. credit Lukas Sabota for the initial work, and, my very
own first commit!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10365 a1c6a512-1295-4272-9138-f99709370657
2006-07-30 03:10:09 +00:00
Kevin Ferrare
0e027bd90c To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 16:43:47 +00:00
Zakk Roberts
476ba3b6a4 Couple more minor adjustments: * Rename old CLR_CYAN define to CLR_LTBLUE to reflect last commit's color change. * Holding a direction key gives old behavior with which player can go straight through edges without stopping (best of both worlds).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9976 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 03:57:35 +00:00
Zakk Roberts
74d86f719d Assorted changes by Mikael Magnusson and I. * When moving through filled space, stop moving at any edge. * Changed background color to a more standard lightish blue. * Use user's font in the menu unless it's too big. * iPods: Use scroll wheel in menu instead of Menu/Play being Up/Down. * Exit button no longer always completely quits the plugin; returns you to the menu if you're in a game, or quits if you're at the menu. * A couple other little things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9975 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 03:33:02 +00:00
Martin Arver
49c7707fa3 Small changes to Xobox to make it playable on grayscale targets with slow screen (h1xx)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9194 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 17:47:31 +00:00
Ben Basha
cee9568611 *patch by Mikael Magnusson, do not reinitialize the board when hit by a qix. *some code cleanup by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9076 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 13:38:45 +00:00
Linus Nielsen Feltzing
9dae78e481 Restore the backlight setting properly when leaving Xobox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9056 a1c6a512-1295-4272-9138-f99709370657
2006-03-16 08:20:57 +00:00
Ben Basha
b7a96707bc New plugin - Xobox - xonix clone by Eli Sherer with changes by me and Mikael Magnusson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9011 a1c6a512-1295-4272-9138-f99709370657
2006-03-12 09:35:53 +00:00