Commit graph

15 commits

Author SHA1 Message Date
Tomer Shalev
2f78fa114d Fractals: No need to have globals under ctx struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24285 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 20:05:19 +00:00
Tomer Shalev
39e51cc66e Fractals: Use overlay (do not clear the screen and paint the same region) when changing precision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24275 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 16:36:06 +00:00
Teruaki Kawashima
4ee5e5c896 Fractals: fix weird keymap for SAMSUNG_YH_PAD. adjust spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24273 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 14:02:36 +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
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