Commit graph

10 commits

Author SHA1 Message Date
Hardeep Sidhu
ab3e71cad9 Added reload_directory() to plugin api and modified text editor and sudoku plugins to call it when saving a new file. Fixes B#5360.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10053 a1c6a512-1295-4272-9138-f99709370657
2006-06-04 16:36:49 +00:00
Dave Chapman
506bac9cf7 Various clean-ups in preparation for 3.0: 1) Add a built-in default game which is used for the case when Sudoku is started as a plugin and no sudoku.ss exists - this prevents a time-consuming game generation; 2) Allow the user to abort a game generation by pressing any button; 3) Save the current state when user exits via the Quit button (previously, Sudoku only saved when quitting from the main menu); 4) Add a new "edit menu" for when the user is manually entering a new game, rather than displaying all options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9944 a1c6a512-1295-4272-9138-f99709370657
2006-05-15 20:08:37 +00:00
Dave Chapman
b4f0efc1dd Call rb->yield() during the random game generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9847 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 08:23:53 +00:00
Jens Arnold
f376eb576d Silence 2 gcc4 warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9838 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 12:24:55 +00:00
Dave Chapman
95325ff72a Build Sudoku for the iPod Nano - just use the 160x128 bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9689 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 20:38:15 +00:00
Dave Chapman
65293be9bf HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9579 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 14:20:14 +00:00
Christian Gmeiner
f03e0530c3 make use of cpu_boost to speed up generation of new sudoku field
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9578 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 13:47:28 +00:00
Dave Chapman
a698c3e43e Change (and hopefully simplify) the iPod button mappings and correct some comments. iPod mappings are now: Clickwheel for cursor movement, next/prev to increment/decrement number under cursor, MENU to bring up the menu, and PLAY to add a number to the scratchpad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9415 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 00:09:33 +00:00
Dave Chapman
bf99952140 Add audio playback menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9413 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 23:23:07 +00:00
Dave Chapman
0f619c65ba Move Sudoku plugin into its own subdirectory and add a random game generator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9407 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 18:38:34 +00:00