Commit graph

3068 commits

Author SHA1 Message Date
Teruaki Kawashima
5bd0823749 jpeg,png: Merge user interface code and plugin entry point of the two plugins (part of FS#6321).
* Created new directory, imageviewer/ and moved both jpeg/ and png/ under it.
- this still doesn't merge the two plugins. i.e. both jpeg.rock and png.rock will be made for color targets.
- I'm thinking to merge the two plugins to single image viewer later.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24272 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 12:46:19 +00:00
Torne Wuff
d10bcd6429 Fix warnings in frotz, one of which is a real bug :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24268 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 22:28:36 +00:00
Torne Wuff
7f28c94eda New plugin: frotz, a Z-machine interpreter, for playing interactive fiction.
The interpreter more or less passes all the tests in the z-machine test suite.
It should build for every target except Archos (for which it is disabled).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24267 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 22:15:13 +00:00
Tomer Shalev
563f2602f4 Fractals: Have helper functions in header file to keep them inlined
- Should fix performance degradation caused because of the split
- Thanks for all who noticed (amiconn et al.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24266 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 22:03:36 +00:00
Tomer Shalev
d812362905 Fractals: Use more colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24265 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 21:21:52 +00:00
Tomer Shalev
ab450a81ec Fractals: Prevent zooming more than deepest possible zoom
This prevent the mandelbrost set from being trashed if zooming too much


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24264 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 21:15:56 +00:00
Tomer Shalev
703e0d0e9c Fractals: Fix SAMSUNG_YH_PAD key assignment. Also fixes red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24262 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 18:20:13 +00:00
Tomer Shalev
d1357d8a13 Fractals: Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24261 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 16:10:43 +00:00
Tomer Shalev
977e6adc58 Fractals: Add forgotten FRACTAL_ZOOM_OUT_PRE to button_yield()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24259 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 15:37:13 +00:00
Tomer Shalev
55240a2e85 Fractals: Use constants for screen panning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24258 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 15:32:17 +00:00
Teruaki Kawashima
e3fc65cfff change dependencies in make files:
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator.
* lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed.
* plugins.make: object files don't depend on libpluginbitmaps.a.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24256 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 13:03:10 +00:00
Tomer Shalev
569bc33101 Fractals: Use defines for colors
This makes the code a bit more readable, and will allow me in the near future
to introduce support of more colors


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24236 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 12:00:57 +00:00
Tomer Shalev
da41706f65 Fractals: Fix yellow
- Have USEGSLIB be defined in fractals.h
- BTW the plugin name was renamed to fractals from mandelbrot, because it now
  provide the basis to use other fractals set, such as the Julia set.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24235 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 11:48:21 +00:00
Tomer Shalev
fafbfbc56c Mandelbrot: Another try at fixing reds
- A one letter type cause it :-(


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24232 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 06:26:34 +00:00
Tomer Shalev
4794891c97 Fractals: Fix red
- Define painting buffer inside fractal set implementation
- Add missing USEGLIB define
- Removed mandelbrot.c that was forgotten in last commit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24231 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 06:17:56 +00:00
Tomer Shalev
7719d297f2 FS#10911 - Plugins: Fractals (formerly Mandelbrot)
- Rename the mandelbrot plugin to fractals
- Update manual accordingly
- Separate plugin's functionality into separate files
- Lay the ground for having fractals sets other than the Mandelbrot set.
  For that the following will need to be implemented:
  - Create a new file for the new fracral set
  - Provide key mapping to switch between sets


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24230 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 05:53:15 +00:00
Teruaki Kawashima
ead28e174e mpegplayer:
* use upper case for enum constants.
* rename MPEG_START_TIME_SCROLL_DOWN/SCROLL_UP to MPEG_START_TIME_LEFT2/RIGHT2 as they are equivalent to MPEG_START_TIME_LEFT/RIGHT.
* simplify some code. no functional changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24224 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 12:55:52 +00:00
Torne Wuff
9e16161832 pluginlib: Support calling a function at exit time to clean up open files
or other similar work. This is not quite the same as atexit() on POSIX as
the function is *not* called if the plugin exits by returning from
plugin_start; only if exit() is called. No code overhead if it's not used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24189 a1c6a512-1295-4272-9138-f99709370657
2010-01-05 22:17:32 +00:00
Maurus Cuelenaere
6acbff4673 Onda VX747/VX777: cleanup linker files a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24169 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 16:34:56 +00:00
Bertrik Sikken
6fef14bd16 Set svn:keywords property on .c and .h files that didn't already have it. Correct svn:executable property on some files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24165 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 14:28:09 +00:00
Bertrik Sikken
b75b3e7557 Fix warning in chip8 plugin for simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24162 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 13:20:42 +00:00
Bertrik Sikken
f6017773a6 chip8 plugin:
* fix some more whitespace
* made functions/data static or const where possible
* correct suspicious interrupt timing code
* remove unused/unreachable code
* fix file descriptor leak path (open without close)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24159 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 13:01:19 +00:00
Andree Buschmann
5cebdcd06b More tabs removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24157 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 11:12:31 +00:00
Bertrik Sikken
be9cf570a7 Fix tabs in chip8 plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24149 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 22:51:29 +00:00
Jeffrey Goode
3b79698f19 xobox: show game stats when finishing level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24145 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 19:48:14 +00:00
Bertrik Sikken
799a0a5cd4 Simplify some boolean expressions that compare directly against 'true'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24144 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 16:03:30 +00:00
Karl Kurbjun
7746f94496 Brickmania: Change the drawing/collision detection to simplify position management.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24140 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 04:51:32 +00:00
Karl Kurbjun
3db58cfb38 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24139 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 04:00:03 +00:00
Karl Kurbjun
bac8b7bcae Brickmania: Scale bitmaps with the high-res bricks to fit them to the LCD width for the Gigabeat F/X/S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24138 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 03:49:11 +00:00
Bertrik Sikken
5c4ef78cc9 Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
2010-01-01 22:47:25 +00:00
Antoine Cellerier
d2e9828a28 Add bitmaps for correct and wrong flags when showing the full board. (Feel free to change the graphics)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24127 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 19:00:33 +00:00
Antoine Cellerier
3358f0e925 Clicking on a discovered tile with its number of adjacent mines already flagged now clicks on all adjacent undiscovered and unflagged tiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24126 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 16:15:01 +00:00
Karl Kurbjun
d9484b9251 Brickmania: Improve screen collision detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24100 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 03:52:50 +00:00
Johannes Schwarz
4ed7b0b8a0 blackjack: improve the menu and the buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24094 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 19:11:15 +00:00
Teruaki Kawashima
8ef2248f7c jpeg,png: Change "Off: Quit." to "Show Menu: Quit." so that the message is less confusable.
fix bug plug_buf is always false in simulator even when plugin buffer is used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24093 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 15:20:33 +00:00
Teruaki Kawashima
a2fc641570 properties,shortcuts_view: enable the theme while showing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24092 a1c6a512-1295-4272-9138-f99709370657
2009-12-21 13:32:43 +00:00
Teruaki Kawashima
ed1acf037c codebuster: save settings only if they are changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24082 a1c6a512-1295-4272-9138-f99709370657
2009-12-20 14:00:38 +00:00
Teruaki Kawashima
0cbf210d76 plugin: search,sort: Handle UTF-8 BOM at the start of file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24081 a1c6a512-1295-4272-9138-f99709370657
2009-12-20 12:59:25 +00:00
Teruaki Kawashima
dc010201a5 make sure plugin reset backlight setting before exit. do code polish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24076 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 14:17:28 +00:00
Teruaki Kawashima
3e2aba0c3e jpeg,png: Separate code to load file from load_and_show().
Add a way to abort loading to jpeg inspired by png.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24075 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 13:06:21 +00:00
Karl Kurbjun
069bafe215 Accept FS #10271 by Christian Beier: Automatically disable voice upon rockdoom startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24063 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 04:25:56 +00:00
Karl Kurbjun
e7f2a13609 Accept a form of FS #10561 by Clément Pit-Claudel: Fullscreen Brickmania for portrait players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24062 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 04:12:05 +00:00
Karl Kurbjun
fe452a0de3 Accept FS #10568 by Asael Reiter: Brickmania Lasers not working properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24061 a1c6a512-1295-4272-9138-f99709370657
2009-12-18 03:37:28 +00:00
Tomer Shalev
d3e6ca944e Mosaic: Add Cowon D2 keymaps, and update manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24047 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 17:28:27 +00:00
Johannes Schwarz
c50209ef7f Hide menu entries "Resume Game" and "Quit without Saving" if not available and clean up the code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24046 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 15:37:52 +00:00
Tomer Shalev
a60cc64b44 vumeter: Remove unused defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24027 a1c6a512-1295-4272-9138-f99709370657
2009-12-16 15:57:07 +00:00
Maurus Cuelenaere
3d3ec3402d Add stopwatch plugin replacement for touchscreen targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24026 a1c6a512-1295-4272-9138-f99709370657
2009-12-16 14:23:13 +00:00
Teruaki Kawashima
d9002eb94a sudoku: fix FS#7772: Sudoku: "Solve" Crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24024 a1c6a512-1295-4272-9138-f99709370657
2009-12-16 11:53:36 +00:00
Jonathan Gordon
e425371e10 Fix FS#10289 - screens showing a list need to check the show_icons setting before setting the callback. the List will now always draw icons if a callback is set (like its always done for voice)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24022 a1c6a512-1295-4272-9138-f99709370657
2009-12-16 08:36:46 +00:00
Tomer Shalev
47ddbaa47b Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and
to target naming conventions in general


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 20:51:41 +00:00