Commit graph

3149 commits

Author SHA1 Message Date
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