Commit graph

3120 commits

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