summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
AgeCommit message (Collapse)Author
2008-02-17Plugins now enabled and working for the Gigabeat S.Will Robertson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 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
2007-10-03Minesweeper for the c200. The slightly smaller tiles made for this will also ↵Marianne Arnold
be used by the small H10 now, thought that was fair and it also complies with the comment about the number of tiles above. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14971 a1c6a512-1295-4272-9138-f99709370657
2007-07-27Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-06-25Minesweeper enhancements (FS #7327, FS #7335, some further changes by me): * ↵Jens Arnold
Make info splash display number of flags and number of mines. * Directions on iPod use Left/Right/Menu/Play now, with Select for flagging and long Select for exploring. Additionally, Scroll Left/Right goes left/right with wrapping to the previos/next line at the edges. * Make info splash work on Iaudios. * Swap main explore and flag buttons on recorder (and av300) to make them consistent with the other tragets and the rest of the minesweeper world. * On irivers, Rec can be used as an alternative for flagging, making one-handed playing easier on H1x0. * Removed unused macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13712 a1c6a512-1295-4272-9138-f99709370657
2007-06-03* minesweeper.c: Cosmetics.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13546 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Update some comments in menu.h to be hopefully more helpful.Jonathan Gordon
Fix all the wrong usage of rb->do_menu() (my fault, sorry) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
2007-05-19attempt to make the Gigabeat button mappings in the plugins more logical and ↵Marcoen Hirschberg
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-19remove useless button definesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13434 a1c6a512-1295-4272-9138-f99709370657
2007-03-28Adjust plugins to use the new menu API. Int settings still use the old API. ↵Tom Ross
Remove a nasty global in Star and add some error checking. Add a work-around for the gigabeat so that Star doesn't crash on target. The transition works fine on the sim and I see nothing obviously wrong with the code but it manages to crash on target everytime. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12946 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-01-14Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman
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
2006-11-15Hopefully clean up some errorsKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11528 a1c6a512-1295-4272-9138-f99709370657
2006-11-15Don't need to remove the backdrop for all plugins - leave it up for some.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-10-26Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell
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-08-23Add help string for Gigabeat. Fixes a warning.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10704 a1c6a512-1295-4272-9138-f99709370657
2006-08-19Added help text in minesweeper for iriver H10Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10658 a1c6a512-1295-4272-9138-f99709370657
2006-08-13Remove 3G compile warningAntoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10563 a1c6a512-1295-4272-9138-f99709370657
2006-08-13*: Enhance minesweeper graphicsAntoine Cellerier
minesweeper.c: clean source code (ipod keys still need to be changed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10562 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 * fix "number of mines" display on some target (previously didn't work on ↵Antoine Cellerier
iPod 5G). This closes http://www.rockbox.org/tracker/task/5701 * remove trailing spaces git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10341 a1c6a512-1295-4272-9138-f99709370657
2006-07-08Apply patch number 3 from http://www.rockbox.org/tracker/task/5430Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10186 a1c6a512-1295-4272-9138-f99709370657
2006-06-30To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare
from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-05-25The code police strikes back. * Simpler button wait.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9988 a1c6a512-1295-4272-9138-f99709370657
2006-05-25fix minesweeper for ondio (patch by Alexander Spyridakis)Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9986 a1c6a512-1295-4272-9138-f99709370657
2006-05-20Patch #5384 from Alexander Spyridakis - fixes bug report 4908Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9968 a1c6a512-1295-4272-9138-f99709370657
2006-03-03Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
2006-03-01Fixed grammar mistake, pointed out by Marianne Arnold.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8879 a1c6a512-1295-4272-9138-f99709370657
2006-02-24More iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24first gigabeat commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24Button driver for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2005-12-19Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman
identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-14iPod: Initial attempt at button mappings for plugins. All plugins now ↵Dave Chapman
compile, but more work is needed with the more complex ones to make them iPod friendly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
2005-11-16Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now ↵Jens Arnold
all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Ooops.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7198 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Use greyscale graphics in minesweeper.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7197 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-28Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold
converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 * number of columns and rows can now be changed in menuAntoine Cellerier
* remove trailing spaces git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6881 a1c6a512-1295-4272-9138-f99709370657
2005-06-24First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold
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
2005-02-10iRiver: Working buttons, better support for large fontsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5894 a1c6a512-1295-4272-9138-f99709370657
2005-02-04adapted to build on iRiverDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
2004-12-26Plugin fixes: Correct button name for MODE key in help texts, conforming to ↵Jens Arnold
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5512 a1c6a512-1295-4272-9138-f99709370657
2004-10-25Patch #1052007 by Philipp Pertermann, minesweeper no longer quits after ↵Linus Nielsen Feltzing
finishing a game. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5343 a1c6a512-1295-4272-9138-f99709370657
2004-10-18Plugin rework 2: (all) Compile-time keyboard configuration, for Ondio ↵Jens Arnold
adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (minesweeper,pong,snake,snake2) added USB handling. (mandelbrot,mosaique) Fixed return value. (minesweeper) fast moving with button repeat. (oscillograph) Fixed cleanup in USB case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5304 a1c6a512-1295-4272-9138-f99709370657
2004-08-18fixed comments, added linefeeds to chop some of the longest linesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5000 a1c6a512-1295-4272-9138-f99709370657