Commit graph

2952 commits

Author SHA1 Message Date
Jeffrey Goode
013fe35992 pcmbuf: better latency calculation, added debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23537 a1c6a512-1295-4272-9138-f99709370657
2009-11-05 17:32:32 +00:00
Teruaki Kawashima
fd8632fa37 FS#10649: calendar: make it selectable what day is first day of week.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23516 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 13:03:42 +00:00
Rafaël Carré
00997714ef brickmania: fix scrollwheel use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23492 a1c6a512-1295-4272-9138-f99709370657
2009-11-03 08:03:13 +00:00
Johannes Schwarz
2dbdfac86a FS#10620 - fix a bug in bubbles on c200 thanks to Sascha Wilde
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23449 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:08:00 +00:00
Maurus Cuelenaere
5ca112b21e Lua: return nil when function failed instead of returning nothing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23405 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 17:13:36 +00:00
Maurus Cuelenaere
b1a7511990 Also expose functions having (s)size_t or off_t as argument/return type to Lua.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23403 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 16:52:09 +00:00
Robert Kukla
3fa2e88b3f Fix FS#10734 - scoring in boomshine.lua is broken (r23391)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23399 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 11:15:14 +00:00
Kevin Ferrare
8d376d03be Boomshine plugin : make speed and ball sizes adapt to the target screen size to get a constant gameplay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23398 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 08:40:08 +00:00
Kevin Ferrare
19c3e77fa0 Boomshine plugin : port to Greyscale and B/W targets, and targets without touchscreen (currently using the virtual keyboard keymap)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23397 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 07:48:26 +00:00
Kevin Ferrare
c8f9f9cef8 Boomshine plugin : Better messages at the end of the game (fixes the nblevel+1 being displayed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23394 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 04:18:29 +00:00
Kevin Ferrare
c4079e0b12 Fixed the Boomshine plugin not to crash when there are no more levels to play
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23392 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 02:21:47 +00:00
Maurus Cuelenaere
97881c1a62 Add Boomshine to the games category
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23389 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:05:11 +00:00
Maurus Cuelenaere
4d668c7ae1 Add new Lua touchscreen-only game: Boomshine
Flyspray: FS#10727
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23387 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:25 +00:00
Maurus Cuelenaere
21bca65d04 Add Lua support to plugins Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23386 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:22 +00:00
Maurus Cuelenaere
8dbef6d8d0 Lua: add lib/helper.c wrappers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23360 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 17:07:56 +00:00
Jonathan Gordon
58c07fbfa8 FS#10724 - fix alignment issue in Codebuster by Clément Pit--Claudel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 07:21:05 +00:00
Teruaki Kawashima
6290f78177 Correct Id keyword and add svn:keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23346 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 13:40:24 +00:00
Alex Parker
791f9c2a19 Correct spelling and punctuation in Codebuster menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23334 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 19:40:45 +00:00
Johannes Schwarz
c12e5fc86a FS#10497 - New game codebuster, which is a clone of the classic game mastermind. It just runs on color LCD. Thank you to the author Clément Pit--Claudel (CFP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23332 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 18:54:48 +00:00
Maurus Cuelenaere
6314952ff1 Lua: add parts of the math library (all floating point functions are #ifdef'ed out)
Flyspray: FS#10389
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23321 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 10:49:55 +00:00
Maurus Cuelenaere
9dd25adae4 Lua: add do_menu() wrapper. Also fix potential NULL pointer dereference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23320 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 10:38:20 +00:00
Thomas Martitz
239002fe9e Fix red caused by ancient incorrect #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23303 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 22:17:13 +00:00
Thomas Martitz
d85c3ec410 Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar).
Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing).
Removed corresponding functions from the core and plugin api. Bump min version and sort.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:59 +00:00
Thomas Martitz
774bacc692 Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter.
Fixing it because correcting the event api prototypes causes many warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:44 +00:00
Teruaki Kawashima
3fa37e94d1 Use pointer to memos instead of accessing the array.
Adjust spaces.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23289 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 15:13:57 +00:00
Bertrik Sikken
d24d885aa4 Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with current_time, instead of comparing them directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 15:50:30 +00:00
Torne Wuff
27ece8c366 Pluginlib: make scroll functions clear screen if scrolled by >= screen size (from FS#10330)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23211 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:15:12 +00:00
Thomas Martitz
01702a4032 Fuze: Change the button to mark possibilities from a select+up combo to just select, which should be more easily discoverable.
Flyspray: FS#10459
Author: Nick Tryon

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23200 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 11:39:46 +00:00
Teruaki Kawashima
889436816e FS#10554: Rockpaint: enable to set canvas size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23188 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 13:11:31 +00:00
Nils Wallménius
afe08ed8b2 Remove private memcpy wrapper that is no longer needed since r19847 and may cause issues with newer gcc versions, inspired by patch in FS#10676 by Duy Nguyen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23178 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 22:34:11 +00:00
Robert Kukla
ab58cdc0b3 brickmania: There are only 9 powerups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23151 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 12:00:50 +00:00
Teruaki Kawashima
4d900bd786 New plugin theme_remove which offers a way to remove specified theme.
See the manual for usage.

Flyspray: FS#10187
Author: myself, manual by David Kauffmann

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23130 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 13:55:59 +00:00
Michael Sparmann
de310fba38 Ditch additional copyright notice quoted from iBugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23128 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 11:32:29 +00:00
Thomas Martitz
8855b0c613 Use PLUGINFLAGS in lua.make, instead of only CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23121 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 21:30:37 +00:00
Frank Gevaerts
e99dd1898e Make sure to use $(CFLAGS) to get all defines when preprocessing actions.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23119 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:55:47 +00:00
Dave Chapman
4fe2ee0221 Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 11:46:23 +00:00
Tom Ross
f5b312e043 Fix compilation of simulators on Mac OS X 10.6. Tested on 10.5.8 and 10.6.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23051 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 17:55:46 +00:00
Rafaël Carré
2b2b4f5559 rockboy: remove useless assignement for fuze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23032 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 07:34:08 +00:00
Rafaël Carré
8a4278f24b calculator: use home as clear button for sansa fuze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23027 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 06:30:32 +00:00
Michael Chicoine
162d3c6a09 add Seth Opgenorth to docs/CREDITS
correct web link in comment


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23023 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 03:01:16 +00:00
Nils Wallménius
4f914fdd28 FS#10661 by Seth Opgenorth, adding more levels to brickmania
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23012 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:26:07 +00:00
Thomas Martitz
db44178a3f Fix chopper to actually remember the level. instead of overriding it on start.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23011 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:18:11 +00:00
Thomas Martitz
284ccb8d4e Use TIME_BEFORE() and redo a macro slightly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23010 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:04:53 +00:00
Karl Kurbjun
5a435e62d0 PPM viewer - initial support for vertical strides - scaler needs to be modified for full support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23006 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 04:52:44 +00:00
Karl Kurbjun
573d3f2845 LCD scrolling routines: Fix the screen scrolling boundary with Vertical Strides.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23005 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 03:56:37 +00:00
Karl Kurbjun
6317bef3ce Brickmania: Paddle selection needs to be done with the integer portion, not in fixed point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23004 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 00:35:14 +00:00
Karl Kurbjun
f7a67625dc Brickmania: Fix the paddle drawing - The strides were wrong with paddles other than the standard one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23003 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 00:15:54 +00:00
Tomer Shalev
0f305827bf Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22969 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:37:00 +00:00
Karl Kurbjun
5f93489218 Brickmania: Add an extra check in the hit logic to make sure that the brick isn't /hit/ after it has been removed from play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22938 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 05:02:53 +00:00
Karl Kurbjun
1f4245be34 Brickmania: Fix the flip_sides powerup on touchscreens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22937 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 04:25:28 +00:00