Teruaki Kawashima
2357ec4178
calendar: fix bug when add new event text longer than last entry.
...
blackjack: fix bug that bet becomes 10 when resume saved game.
bubbles: save high level to sparate file.
clix, spacerocks, jewels, bubbles: correct text of menu item.
wormlet: clean up code: removed unused defines and functions.
pluginlib display_text: insert sleep so that the screen doesn't quit immediately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22143 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 16:30:08 +00:00
Thomas Martitz
3228756324
Fix yellows relvealed by the ABS() rework tonight. The abs() didn't seem to make much sense there anyway. Thanks Dave Chapman.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22142 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:49:46 +00:00
Thomas Martitz
2287dd9daa
Remove find_albumart() from the plugin API as it doesn't exist for them.
...
Remove lcd_set_viewport() too, and replace the calls with the appropriate multi-screen api calls as calling lcd_* functions should be avoided in favor of the api.
Bump API version and sort a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22140 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:09:41 +00:00
Karl Kurbjun
48b7e8ca27
Reversi: Make Reversi respect the global touchscreen setting when in a menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22134 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 03:01:04 +00:00
Karl Kurbjun
f011154728
Clix: Forgot ifdefs around touchscreen_set_mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:58:58 +00:00
Karl Kurbjun
4bc1646263
Clix: Make Clix respect the global touchscreen setting when in a menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22132 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:56:55 +00:00
Karl Kurbjun
e18b8f3856
Calculator: Enable absolute mode for touchscreens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22131 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:11:02 +00:00
Thomas Martitz
85ece84b1c
Remove various ABS() definitions with a single one using typeof (if using gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:38:58 +00:00
Karl Kurbjun
af6060a987
Fix X5/M5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22128 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:32:31 +00:00
Karl Kurbjun
85bdac9149
Fix warning and ZVM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22127 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:24:08 +00:00
Karl Kurbjun
50d3928901
Blackjack: Use standard menu and add playback menu, use pluginlib high scores.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22126 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:07:58 +00:00
Thomas Martitz
bbc9aebae3
Fix highest succeeded level from the highscores really this time, and don't confuse MIN() and MAX().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22125 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 23:26:02 +00:00
Thomas Martitz
5c09d3741a
Cap the level chooser to NUM_LEVELS (100) to avoid accessing level 101, which contains the secret Data Abort Bubble (which looks really funny but is not an Easter Egg). Fix a bug with loading the highest succeeded level from the highscores too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22124 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 23:06:06 +00:00
Thomas Martitz
5291d09aaa
Fix red - overlooked renaming in 1 place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22122 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 21:38:03 +00:00
Karl Kurbjun
d66bf05ad2
Reversi: Fix warning, change the text so that it does not resize the board (text does not scroll currently), and fix some target buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22121 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 20:48:04 +00:00
Thomas Martitz
4654b3c90b
New bubbles background for 176x220 (Sansa e200), heavily based off a mockup provided by Marianne Arnold.
...
Also implement some custom text positioning which is needed to display the text boxes horizontally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22120 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 20:26:25 +00:00
Karl Kurbjun
e21081040c
Brickmania: Statusbar should always be drawn at the top of the screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22119 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 17:24:16 +00:00
Thomas Martitz
374b21ef8a
Remove two left-over DEBUGFs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22118 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:47:06 +00:00
Thomas Martitz
322fae4299
A bit of rework in bubbles:
...
*) Change saving mechanism: always save into RAM on any exit button, and offer an additional quit item in the game menu (so that 1 item doesn't save -> no disk spinup)
*) Change loading mechanism: always load on entering the game, but delete the save file still on actually resuming (that fixes weirdnesses with the level choosing menu item)
*) Remove the highscores from the bubbles struct.
*) Swap the "Start New Game" and "Resume Game" menu items to help against accidental deletion of progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22116 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:41:30 +00:00
Karl Kurbjun
1060326f02
Reversi: Implement dynamic legend/board sixing when necessary for landscape targets based on font size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22115 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 15:44:52 +00:00
Teruaki Kawashima
ece0b227a4
Superdom: introduce new enum for value to be returned in many places instead of mix of PLUGIN_USB_CONNECTED and numbers.
...
improve number input screen. check size of labels and use sysfont if they are too large. put them at center of each box.
use simplelist to show inventory(part of FS #7593 ).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22113 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 14:30:09 +00:00
Teruaki Kawashima
e3f7184e60
brickmania: improve game saving to save current status.
...
fix position of message text and remove unused defines.
fix bug "Congratulations!" won't be shown when cleared all levels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22112 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 13:45:39 +00:00
Karl Kurbjun
0131a3873e
Pluginlib: Add support for general buttons. Add menu and quit buttons to Reversi. MRobe 500: Modify touch handler to return the previous data always rather than 0 when there is no touch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22110 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 07:05:30 +00:00
Maurus Cuelenaere
64b227e3ba
Doom: re-add the missing modulus operation I removed in r22097
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22098 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 16:10:25 +00:00
Maurus Cuelenaere
da0e0e564a
Doom: prevent division by zero
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22097 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 16:07:03 +00:00
Teruaki Kawashima
d657c690a8
pegbox: Fix bug it restarts the level when user choosed "Resume Game" in the menu.
...
Simplify menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22091 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 13:20:20 +00:00
Maurus Cuelenaere
a616f49f04
Ingenic Jz4740 targets: don't use IRAM in plugins as there's almost none available
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22089 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 17:07:39 +00:00
Teruaki Kawashima
aafbc559bb
fix deleteAnimation in calculator plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22088 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 14:02:46 +00:00
Wincent Balin
f95dc688cf
Minor additions to floating point math functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22086 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 21:35:38 +00:00
Teruaki Kawashima
37dd46e92f
Check if parameter is NULL in plugins which only works as viewer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22083 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 13:56:23 +00:00
Karl Kurbjun
ad1660074f
Reversi: Attempt to account for screen aspect, add preliminary absolute touchscreen support (Menu button and quit button need to be added to display)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22079 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 04:14:54 +00:00
Johannes Schwarz
0e83c80bfc
Upps, fix to r22071
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22073 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 17:15:53 +00:00
Johannes Schwarz
8ef07c8a2f
Fix some tiny bugs in the help screen from solitaire and star
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22071 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 16:55:37 +00:00
Maurus Cuelenaere
527b069653
Lua: implement the ^ and % operators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22070 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 16:06:51 +00:00
Karl Kurbjun
4e16015427
Reversi: Simplify screen sizing - now supports any resolution.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22061 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 05:08:26 +00:00
Karl Kurbjun
d884bbeb2e
Sudoku: Add support for 640xx480 screens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22060 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 04:33:52 +00:00
Robert Kukla
ec0429a170
updated help for r22057
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22058 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 20:46:40 +00:00
Robert Kukla
00c657f9cc
new powerup in brickmania
...
Author: Asael Reiter
Flyspray: FS #10463
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22057 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 19:51:44 +00:00
Maurus Cuelenaere
cece75eb42
Onda VX747: change PNG menu button to BUTTON_POWER
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22054 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:38:10 +00:00
Robert Kukla
275a30092e
initial commit of remote support for m:robe 100 courtesy of lowlight; simulator support including small fixes for the m:robe 500
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:26:14 +00:00
Frank Gevaerts
81d7bf9f21
Fix some casts from pointer to int, now cast to intptr_t
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22038 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 21:45:26 +00:00
Frank Gevaerts
a175e3a42a
Add a png viewer plugin
...
Author: Christophe Gouiran
Flyspray: FS#9493
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22037 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 21:36:11 +00:00
Teruaki Kawashima
7c4e65bc27
fix some bugs reported in FS#9707 (some of fix is from the patch by Yoshihisa Uchida). see the task for more details.
...
improve readability of code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22027 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 12:39:00 +00:00
Peter D'Hoye
840cd10692
Another pdbox patch by Wincent Balin (FS #10416 ): switch to using TLSF as memory allocator. Probably the last patch I commit for him, next changes are for him :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22017 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 21:37:35 +00:00
Johannes Schwarz
0d9b7ec73e
Fix wrong text colour in help, adapt pegbox manual to r21867
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22016 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 17:45:33 +00:00
Karl Kurbjun
e6d37f76ac
Fix Onda
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22011 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 04:46:12 +00:00
Karl Kurbjun
a883edf48e
Forgot to update sources for last revision (r22009)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22010 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 04:38:34 +00:00
Karl Kurbjun
8902404318
Superdom: Add support for 640x480 and 480x640 screens, simplify screen defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22009 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 04:33:10 +00:00
Maurus Cuelenaere
1fde0dd8e4
Lua: return nil when kbd_input() gets aborted and make it possible to preset the input string (based on FS#10455 by Christophe Gragnic)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22008 a1c6a512-1295-4272-9138-f99709370657
2009-07-23 00:54:35 +00:00
Frank Gevaerts
308522b60e
Decrease the text buffer a tiny bit to make it fit again on archos. This really should use plugin_get_buffer() (and possibly plugin_get_audio_buffer() for big files) though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21996 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 21:19:42 +00:00