Maurus Cuelenaere
0feeb6e8b7
FFT plugin: init mutex
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24973 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 14:58:37 +00:00
Frank Gevaerts
4fa2ee7570
Draw a white rectangle around the empty spot to make it easier to distinghuish with dark pictures
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24972 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 14:56:40 +00:00
Teruaki Kawashima
d4ebc9268e
snake: use lib/highscore for highscore handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24964 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 11:27:05 +00:00
Tomer Shalev
985d0bb3f0
Brickmania: Test if power-up hit side of paddle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24949 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 18:45:37 +00:00
Tomer Shalev
ce8b00d540
Brickmania: Use helper function check_rect to test whether ball hits brick
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24948 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 18:23:46 +00:00
Teruaki Kawashima
3f8d4a5a0f
use same variable/macro name for highscore among plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24941 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:45:37 +00:00
Mustapha Senhaji
c3abab85ac
Silly editor, missing a ,.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24940 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:33:01 +00:00
Mustapha Senhaji
37e0f76c5a
Stats Plugin: Update the list of suported/counted music file extensions.
...
And like that is a stats plugin after all, here is one:
We do support by our codecs, 50 different file types now, wow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24939 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:23:30 +00:00
Teruaki Kawashima
778f5bb515
clix: make code to check whether game is end or not to a separate function to reduce indents. make holding key keep moving cursor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24938 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:01:28 +00:00
Tomer Shalev
b21b0c872e
Brickmania: Use NUMBER_OF_POWERUPS in enum
...
Thanks for kugel and linuxstb for this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24935 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 09:35:47 +00:00
Tomer Shalev
66916c6d67
Brickmania: Revert to using intersection checks for testing if powerup hit
...
paddle
r24925 introduced a potential bug: the collision detection with the paddle is
not using the line intersection checks and consequently could cause the powerup
to be missed if the drop speed is fast enough (which varies depending on the
target because of the speed scaling).
Thanks for Karl Kurbjun for noticing and alerting!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24934 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 08:24:45 +00:00
Tomer Shalev
45a14f31d0
Brickmania: Use static whenever possible
...
- Also fix some code styling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24933 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 08:02:12 +00:00
Tomer Shalev
e96f05822f
Brickmania: Fix inner loop used the same variable as outer loop, which trashed
...
powerups when paddle hit Normal or Fire powerups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24932 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 07:58:48 +00:00
Tomer Shalev
ebbfe872ac
Brickmania: Fix NUMBER_OF_POWERUPS and POWER_TYPE_COUNT were used for the same purpose
...
Thanks for Asael Reiter for spotting this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24928 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 15:02:50 +00:00
Tomer Shalev
410cb26cc8
Brickmania: Re-arrange code (no functional change)
...
- Remove use of typedefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24927 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:36:37 +00:00
Tomer Shalev
adcbb07303
Brickmania: Fix wrong power image in shown, caused by previous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24926 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:32:27 +00:00
Tomer Shalev
50cb86cff3
FS#11057 - brickmania: simplify the powerups
...
Author: Asael Reiter
Added some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24925 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 14:06:34 +00:00
Kevin Ferrare
c396e4161a
Remote support for the alarmclock plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24921 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 07:38:18 +00:00
Frank Gevaerts
ca755f767c
Fix pdbox makefile to actually take part in dependency generation
...
Change pdbox include paths to handle this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24916 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 23:35:16 +00:00
Rafaël Carré
99655d66bd
Alarm clock plugin for RTC targets
...
Author: Clément Pit-Claudel
Flyspray: FS#11056
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24912 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 14:45:06 +00:00
Teruaki Kawashima
0cf4cab431
plugins/lib: remove out-dated comments about plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24907 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 12:14:36 +00:00
Teruaki Kawashima
15f6bfc0e5
imageviewer: add button to quit plugin immediately if there is enough key for it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24904 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 11:11:41 +00:00
Tomer Shalev
6543b8629e
Viewer: Fix red cause by stupid lack of attention
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24897 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:47:15 +00:00
Tomer Shalev
04e3eb0c54
FS#10552 - Cowon D2: pgup/pgdn on minus/plus buttons in text viewer
...
Author: Nemtsev Alexey
Changes that were not part of the original patch:
- Updated corresponding manual entry
- Added support for having both buttons and touchscreen mapping to the same action
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24896 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:38:15 +00:00
Tomer Shalev
83d589dad1
Rockblox: Map touchscreen top-middle to rotate CW
...
- Add support for defining a secondary 'rotate CCW' action - could be needed by
future touchscreen targets
- Update manual accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24895 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:16:48 +00:00
Tomer Shalev
321843198d
Rockblox: For touchscreen targets, left/right goes to CCW/CW respectively, and
...
not the opposite.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24894 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:59:35 +00:00
Tomer Shalev
12332ded12
Rockblox: Rename Rotate Left|Right to Rotate CW|CCW
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24893 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:56:52 +00:00
Tomer Shalev
42552f8bf6
FS#10643 - Cowon D2: Chopper game control using hardware buttons
...
This is only part of the original patch. I didn't agree with all the original
changes to keymapping.
Author: Nemtsev Alexey
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24892 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:33:40 +00:00
Tomer Shalev
cee3b29729
FS#11049 - Brickmania: Make brick a two-dimensional array
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24890 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:08:30 +00:00
Dave Hooper
f7a30a4b08
kiss_fftr appears to perform two real-valued ffts in parallel -- so feed it only one signal of size N/2 (as opposed to splitting a single signal of size N into two interleaved parts which is what it seemed to be doing before)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24865 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 23:45:38 +00:00
Teruaki Kawashima
c1bb06c3af
plugin: implement highscore_show for player and use it in rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 13:45:24 +00:00
Teruaki Kawashima
56d29e8977
some changes to use of display_text.
...
* add parameter, wait_key to display_text().
- set this true to wait button press after all words is displayed.
* use ARRAYLEN macro instead of #define WORDS
* add macro to indicate end of style array.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24846 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:17:15 +00:00
Rafaël Carré
31eda59720
as3525v2: build normal firmware properly (Clipv2/+)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:58 +00:00
Tomer Shalev
cd08122e4e
Brickmania: Hopefully prevent dissappearing of the ball
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24810 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 17:16:07 +00:00
Tomer Shalev
3dc9d111b3
Brickmania: Use predefined macro definition when possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24809 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 16:13:43 +00:00
Tomer Shalev
73c047c8dc
FS#10485 - Some changes for brickmania
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24775 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 16:34:18 +00:00
Tomer Shalev
5bae969a3e
Brickmania: Use defines for score values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24771 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 12:52:31 +00:00
Tomer Shalev
320eab69d3
Brickmania: Remove spaces at the end of line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24769 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:36:56 +00:00
Tomer Shalev
ac9f850b7d
Brickmania: Forgotten one more hard-coded value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24768 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:35:47 +00:00
Tomer Shalev
804f67b8ce
Brickmania: Use constant for default value and rename variable of flip-sides delay
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24767 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:32:27 +00:00
Tomer Shalev
a745fab8ce
Brickmania: Use constants for number of bricks rows and columns, and for number of levels
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24766 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:28:49 +00:00
Tomer Shalev
9d8e07a3fc
Brickmania: Use constant for number of fires
...
Part of FS#10485 by Asael Reiter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24764 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:16:09 +00:00
Tomer Shalev
f3e0275671
Brickmania: Test returned value of file operations
...
This doesn't solve FS#11031, but it's a good practice to test returned values nevertheless.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24759 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 22:01:40 +00:00
Teruaki Kawashima
c4eea8f11f
FS#10535: bmp viewer plugin.
...
* changed bmp.c so that it loads bitmap larger than LCD correctly.
* removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 15:10:31 +00:00
Michael Sparmann
04ea85fb88
Revert accidental changes from r24723
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24724 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 16:12:21 +00:00
Michael Sparmann
e5c815272d
Add more information to the battery debug screen for Nano2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:57:53 +00:00
Maurus Cuelenaere
b1908e95e1
Only build Lua overlay on low-mem targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24702 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:31:16 +00:00
Tomer Shalev
82d456717e
Brickmania: Fix FS#10959 - Ball disappears
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24700 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 20:58:59 +00:00
Tomer Shalev
f38efac9e2
Brickmania: Fix continue message for Cowon D2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24671 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 19:52:29 +00:00
Szymon Dziok
7074a64d8a
Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 21:56:53 +00:00
Jonathan Gordon
1c2aa35371
FS#10984 - multifont! 2 major additions:
...
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.
Code should always use FONT_UI+screen_number to get the correct user font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:26:16 +00:00
Szymon Dziok
841cffab5b
Packard Bell Vibe 500: More plugin keymaps (second portion).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24634 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 15:46:34 +00:00
Maurus Cuelenaere
1251fa5766
Lua fscanf: use pointer of file descriptor instead of file descriptor itself to avoid 64-bit pointer<->int clash (aka fix yellow).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24633 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:51:38 +00:00
Maurus Cuelenaere
9bf28debd8
Fix FS#11007: Lua didn't parse negative numbers correct when reading from files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24632 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:41:00 +00:00
Teruaki Kawashima
5b27fe9d95
jpeg,png: some minor changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24621 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 14:41:52 +00:00
Teruaki Kawashima
20ce2448de
"remote_control: don't use goto.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24617 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 12:54:03 +00:00
Teruaki Kawashima
6878cf34ef
chopper: fix FS#11000: Drawing issue with steep mode. don't change level while in game.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24616 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 12:11:37 +00:00
Tomer Shalev
248969fd46
fft: fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24613 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 00:07:00 +00:00
Tomer Shalev
f6526bdde2
fft: fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24612 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 23:27:44 +00:00
Tomer Shalev
726088f9e6
fft plugin: add touchscreen key-mapping and enable plugin for touchscreen targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24611 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 23:10:09 +00:00
Szymon Dziok
05577e48a8
Packard Bell Vibe 500: Start committing plugin keymaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:40:17 +00:00
Frank Gevaerts
43264a946f
New plugin: FFT, A frequency analyzer plugin
...
There is some more work needed:
- Keymaps are definitely not perfect, touchscreen targets are disabled due to no keymap
- There is no manual yet
Author: Delyan Kratunov
Flyspray: FS#10065
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24587 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 19:44:11 +00:00
Thomas Martitz
fa4ab10bbb
Bubbles: Don't save scores when quit without saving is selected and reduce splash duration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24586 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 18:55:07 +00:00
Tomer Shalev
07a6de15bd
Brickmania: Use touchpad actions even if buttons are assigned to them (Cowon D2)
...
Thanks for Strife89DS and pixelma for spotting this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24554 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 20:19:34 +00:00
Tomer Shalev
ed0290d30f
Cowon D2: Use buttons for Brickmania instead of touchscreen, which hides the paddle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24553 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 19:16:21 +00:00
Andree Buschmann
4d5e88245a
Remove more tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24550 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 18:38:47 +00:00
Andree Buschmann
dfe46436b1
Remove tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24547 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 17:50:24 +00:00
Teruaki Kawashima
507d7bdb0e
superdom: check range of input in get_number(). stop scrolling text when leave the screen.
...
don't exit start menu by pressing Left.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24522 a1c6a512-1295-4272-9138-f99709370657
2010-02-05 15:02:22 +00:00
Teruaki Kawashima
ee074e35af
superdom: fix bug that "Human starting factories" setting is ignored (part of FS#10964).
...
humanstartfarms was used where humanstartinds shuold be used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24509 a1c6a512-1295-4272-9138-f99709370657
2010-02-04 12:50:13 +00:00
Andrew Mahone
bff5a35c3c
FS#10943, optimized division and clz routines to replace libgcc routines for ARM. Replaces libgcc support functions for unsigned and signed 32-bit division on ARMv4 and up, and leading-zero count on ARMv4.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24432 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 01:36:46 +00:00
Rafaël Carré
442084bce9
mandelbrot: start with bright colors on greyscale
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24378 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 08:35:16 +00:00
Rafaël Carré
82fafb2d55
mandelbrot: use correct colors on greyscale targets (FS#10935)
...
Tested on Clipv1 (sim/target) and Ipod3g (sim)
Each color would be calculated as 0
Note the iteration over the whole range of colors is quite weird, and I
can not really sense what max_iter represents (except it's a number of
different colors, right?)
It should be backported to branch after tomers check if color range is
correct (FS#10935 mentions much smaller range for color targets as well)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24377 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 07:16:16 +00:00
Dave Chapman
c5491758dd
Bugfix - buf_size was being used before being initialised.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24363 a1c6a512-1295-4272-9138-f99709370657
2010-01-28 11:17:01 +00:00
Rafaël Carré
515f65efe8
snake2: use select and not long select on fuze
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24342 a1c6a512-1295-4272-9138-f99709370657
2010-01-27 07:38:09 +00:00
Thomas Martitz
842e6e3f16
Fuze: Change pause/exit button in chopper to short home as it's nearly impossible to hold it
...
without dying.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24338 a1c6a512-1295-4272-9138-f99709370657
2010-01-26 21:35:09 +00:00
Thomas Martitz
5629d551d7
Accept the last patch FS#10797 with a few changes by me (fixing side effects and adding the new backdrop_hide() to the multi screen api). It changes the hide_bars parameter to mean hide_theme.
...
This makes plugins show the menu backdrop in their backdrop so that they don't look like crap if you have an sbs and look more integrated. I've test about all plugins and all work fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24335 a1c6a512-1295-4272-9138-f99709370657
2010-01-26 20:14:42 +00:00
Rafaël Carré
dbbb07767a
Disable DOOM for c200v2, it won't run
...
Reclaim 128kB of plugin buffer, audio buffer is now 4 times larger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24323 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 15:59:27 +00:00
Rafaël Carré
a9e2a7148f
*.link: depends on config file where plugin buffer size is set
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24322 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 15:32:23 +00:00
Teruaki Kawashima
576d0721d6
fractals: set svn:keywords property.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24310 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 13:18:27 +00:00
Teruaki Kawashima
e0dfa22cad
Fractals: this should fix bugs on simulator for greyscale LCD targets.
...
* moved #define USEGSLIB to fractal_sets.h and include only needed header file.
* include plugin.h so that LCD_DEPTH is defined.
* explicitly include fractal_sets.h in mandelbrot_set.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24309 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 12:27:07 +00:00
Teruaki Kawashima
7ebde8503b
mpegplayer: reset foreground/background color and clear display in case they are changed in menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24308 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 12:14:18 +00:00
Teruaki Kawashima
ccf8e4e8ba
jpeg,png: fix typo in comments and indentions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24307 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 12:06:02 +00:00
Amaury Pouly
b5d16e79e1
FS#10738: fix disktidy plugin crash when dealing with very long file/directory names.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24300 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 21:24:19 +00:00
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
99a7cdc46c
A simple rename in cube.c (s/USE_GSLIB/USEGSLIB) in order to have better consistency across plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24280 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 20:53:59 +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
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
Alexander Levin
aa57da3468
Enable calendar plugin for non-rtc targets (FS#10786 by Teruaki Kawashima)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23995 a1c6a512-1295-4272-9138-f99709370657
2009-12-14 21:51:42 +00:00
Tomer Shalev
f5e996532d
Bubbles: Rename defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23980 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 21:04:16 +00:00
Tomer Shalev
1737a401e4
Bubbles: Remove unused keymaps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23979 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 20:57:45 +00:00
Tomer Shalev
cfe82de670
PictureFlow: Add PF_MENU action to touchscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23976 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 20:27:55 +00:00
Tomer Shalev
7668e3fe51
Sokoban: Add keymaps for Cowon D2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23955 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 21:34:21 +00:00
Teruaki Kawashima
cfc50ec747
spacerocks: Fix FS#9380: spacerocks shows funny rocks.
...
Initialize seed for rand() at the beginning of plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23944 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 14:05:03 +00:00
Tomer Shalev
ca6dfdc3fe
Invadrox: Fix red caused by touchscreen targets with no buttons defined for movements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23943 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 11:16:13 +00:00
Tomer Shalev
be7170c89c
Invadrox: Add support for both touchscreen and buttons control of the game.
...
- Add buttons support for Cowon D2
- Introduce some mighty #ifdef hell :-(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23941 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 10:07:37 +00:00
Tomer Shalev
17e054a9fe
Use positive logic in #ifdef hell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23939 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:27:36 +00:00
Tomer Shalev
c9a11d24eb
CodeBuster: Replace mapping defines with direct use of PLA_* macros.
...
Add PLA_MENU as a way to exit to menu
Add PLA_START as a way to validate a combination
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23938 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:24:34 +00:00
Tomer Shalev
82a6fb0649
Cowon: Fix wrong pluginlib action
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23937 a1c6a512-1295-4272-9138-f99709370657
2009-12-12 07:21:41 +00:00
Teruaki Kawashima
6ac0fbb1cb
Rework spacerocks:
...
* Use consistent name for variables/field names.
* Consistent use of field of structures.
* Simplify draw_polygon().
* Add some helper functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23916 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 12:53:47 +00:00
Robert Menes
b4a40eb6f3
These are the last plugin keymaps needed for the GoGear SA9200.
...
Left to add in: a 128x160 backdrop for rockblox to stop errors
when compiling and then to finally enable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23915 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 01:23:51 +00:00