Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
Sansa Clip: build plugins (FS#9578) Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards.
Makefile overhaul. All generated bitmaps are now explicitly in OBJDIR/bitmaps and OBJDIR/pluginbitmaps, and plugins properly depend on their respective bitmap files. Fixes #6847.
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
Updated our source code header to explicitly mention that we are GPL v2 or 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
FS#9051 - remove LCD margins... use viewports if you need them... NOTE to WPS people.... %m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored. Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected. Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0
Remove the unhide option from solitaire because it was pretty useless. This also solves a bug when auto unhide was disabled: FS #8988
Plugin parameters should be const.
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
allow the plugin playback control menu to be put in a viewport. fix text editor so it is actually possible to get to the control menu if the file hasnt been changed (its in the regular menu now)
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
Fix FS #7955. Smart move must not be used on the remains stack. * Remove the special case for moving kings as is no longer necessary, and write the smart move in a slightly more elegant way.
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
Plugins now enabled and working for the Gigabeat S.
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
Fix a few solitaire game saving issues: Add a "Save and Quit" menu entry. Using "Quit" will delete the save file if it exists. Save on power off seems to work fine. Save on USB doesn't work (are file IOs disabled when USB is plugged?)
Automatically save and load solitaire game. Close FS#7796. (Do we need a "quit without saving" menu entry?)
Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in.
Let solitaire save its settings when performing shutdown from inside the game or menu
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
attempt to make the Gigabeat button mappings in the plugins more logical and in line with the mapping in rockbox itself
another LAME for colombo... fix the sansa wheel; in solitaire
Move the old api out of the core and into the plugin lib. ew plugins shuold use the new api and not this one.
make the moving smarter so you dont have to select the top card of a column to move the whole column
Remove buffer overflow in solatiare menu Make the old api -> new api wrapper in the menu safer.
Rename some macros to account for the recently added M5 port. No code changes.
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
FS#6790 - Add playback control menu to Solitaire, thanks to Douglas Valentine.
revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty scroll bug which isnt so simple to fix.
Accept FS#6747 by Timo Horstschäfer
Rename solitaire_ bitmaps to card_ since they are used in solitaire and blackjack. Ideally all future card games will use these graphics.
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.
Improved Sansa keymappings for Pacbox, Solitaire and Star. From FS#6466 by Piotr Jafiszow
Solitaire: Repair card border and selection frame. Would it be better to make the playfield background always green again?
Don't need to remove the backdrop for all plugins - leave it up for some.
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.
Solitaire: Optionally auto-unhide the next card on a stack if the last known card is moved away.
Solitaire: better button assignments for H10 and X5 (with working shortcuts)
Fixed background color on solitaire menu. It wasn't set when entering menu and having a dark background made it almost unreadable.
Solitaire: Fixed incorrect condition check that caused an out-of-bounds access allowing to put the 2 of spades into nirvana.
Solitaire: Don't let the REM2STACK shortcut repeat on irivers.
Solitaire: colourised selection frame on colour targets.
Heavy graphical rework of solitaire: * Now uses full-card bitmaps (minus border) in several resolutions and colour depths. All graphical work done by Marianne Arnold; 37x49 and 26x33 pixel graphics partially based on the PySol cardset adapted from kdegames 1.0 * Cardback for greyscale targets. * Nicer edges for large cards. * Correct vertical card spacing within columns, hidden cards always use half the space now. * Correct horizontal spacing of columns.
Tweaked the card animation a bit more.
Solitaire: Adjust bouncing cards parameters to the LCD resolution.
Solitaire: Don't use bitfields where it's unnecessary, and use 'int' for single variables. Saves ~400 bytes of code on SH1, and ~1200 bytes of code on coldfire. ARM doesn't profit though.
Solitaire: Fixed menu colours.
Solitaire: Removed unused button definitions.
Solitaire: * Use rockbox API menu. * Fixed typo.
Solitaire: * Button assignments: Better layout for ipods, allowing one-handed operation during the game. More logical shortcut buttons for Ondios. Slight changes for other targets, including working button repeat for up/down when there is no dual use. * Help text showing all possible buttons instead of forcing the user to try and find out. The text adapts to LCD resolution and selected font.
Solitaire: * Even more 'natural' bouncing cards. * Only load the config from disk once, and only save it on exit if it changed.
Looks like we need to explicitly say that we need signed chars.
Fix corruption in remains stack and simplify code where possible
Correct the help text for iriver HXXX players
More natural bouncing cards animation.
Solitaire: * Improved large suits for medium/large LCDs, and all new large suits for small LCDs, by Marianne Arnold. * Use the actual card dimensions in the code. Old values were one off. * #ifdef cleanup using the capabilities of the bitmap build system. * Some more tweaks.
Untested cursor display fix when no cards are left/drawn on the remains stack.
Add some yielding during the bouncing cards sequence (and only refresh what's needed)
Foreground color in menus
Bouncing cards when you win :)
Restore default background color when going back to menu after winning.
Some more remains' stack bug fixes. I must've been drunk when i wrote the original code...
Fix some more bugs found by amiconn:
(1) The bug I already described yesterday: If the draw
stack becomes completely empty, it reappears. Slightly
irritating
(2) When the cursor is placed on the remains' stack when
there is no card, and then a card is drawn, the cursor
disappears
(4) (easy one) The help texts refer to drawing 3 new cards,
but solitaire now has selectable draw one / draw three
Use consistant margins. If people still have ideas to make it look better on some of the targets, feel free to say so on IRC.
Some more tweaking so that it now looks really good on small screens
Fix solitaire card colors
Hopefully fix solitaire invisible card bug ... and add some more.
Removed too much...
Correct H10's #define indents, remove redundant lines
Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!
Yet some more fixes (mostly for small archos screens).
Barry Wardell's keymappings for H10
Remove some more useless code
Some graphics fixes for solitaire. (Numbers for hearts and diamonds still need to be colored red on color LCD screens)
Fix compile warning (and small diaply bug)
Cleanup solitaire code a bit. A side effect is that it should now be possible to play on small LCD screens like the recorder's (which had become impossible since revision 1.20).
* fix bug (when double clicking on a card on the remains' stack to automatically move it to the corresponding final stack, if the move worked, the cursor wasn't able to select a new card afterwards. - yeah, this sounds a bit complicated) * remove trailing spaces/tabs TODO: Fix/clean/rewrite the plugin. This whole code is a mess. It's impossible to read and maintain.
To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
Add cardback bitmap for colour LCDs smaller than 220x176.
More iPod 3G work from Seven Le Mesle
first gigabeat commit
code police strikes again
Button driver for iAudio X5
Minor cleaning - move card back bitmap to external bmp file, and define card size based on LCD size, not keypad type
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
Even more button fixes for solitaire
Even more iPod solitaire fixes
Solitaire fix for Archos and iPod models
H300: Colors for solitaire by Ben Basha
Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
iPod: Initial attempt at button mappings for plugins. All plugins now compile, but more work is needed with the more complex ones to make them iPod friendly
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
Patch #1264727 by Dave Hooper, Colorize red cards on screens with LCD_DEPTH > 1
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
Hristo Kovachev's keypad fixes for the H300 build
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
* use *rb->current_tick for srand * don't truncate last column on players that have screens larger than the recorder's
* fix some cursor bugs (patch 1222287) * added call to srand (patch 1223090)
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
Martin Arver's fix to properly adapt the menu for the chosen font.
Solitaire adapted to iRiver, based on patch #1121520 by Jonas Haggqvist.
Let's do an ifdef here to prevent builds for iriver since the keymapping isn't fixed for it (yet). Feel free to help!
adapted to build on iRiver
Plugin fixes: Correct button name for MODE key in help texts, conforming to the manual & wiki documentation (Ondio plugins). Alternate image is selected with MINUS, not MENU (rockbox_flash for player). Shortened some help lines that didn't fit on the display with the default font (solitaire). Fixed a number of typos.
Plugin rework 4: (solitaire) Fixed an array out-of-bounds access on game init. Help splashes are cleaned up after timeout. Compile-time keyboard configuration. Added USB handling using the default event handler
Patch #1011849 by Antoine Cellerier
fixed comments, added linefeeds to chop some of the longest lines
Minesweeper and Solitaire plugins by Antoine Cellerier
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| Admin: Björn Stenberg | ViewVC Help |
| Powered by ViewVC 1.1-dev |