Commit graph

2917 commits

Author SHA1 Message Date
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
Johannes Schwarz
49866a762e Add a standard menu, add highscore table and clean up the code in spacerocks (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21995 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 17:29:46 +00:00
Teruaki Kawashima
3f7dfeed3a text_editor: don't set filename "/" before input new filename so that user can easily create copy in same directory.
select new last line if last line is cut/deleted or concatenated to above line.
fix bugs when changes are not saved (FS#9692, patch by Johannes Linke).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21994 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 14:35:29 +00:00
Peter D'Hoye
1a4b0cadd6 By Wincent Balin: add a new (better) memory allocation library for pdbox. Next commit will remove dbestfit and make pdbox use this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21993 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 14:01:51 +00:00
Peter D'Hoye
c8195d80bf By Wincent Balin: Cleaned up unneeded prototypes in s_path.c (ongoing FS #10416)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21992 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 11:59:04 +00:00
Karl Kurbjun
83cf0df563 Snake2: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21991 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 04:22:19 +00:00
Karl Kurbjun
70deae01ff Star, Flipit, Rockblox, Sokoban, Wormlet: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21990 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 03:52:59 +00:00
Karl Kurbjun
bebd3f735b Pegbox: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21987 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 02:58:13 +00:00
Karl Kurbjun
8f5264e618 Jewels: Add graphics for 640x480 screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21966 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 14:58:50 +00:00
Johannes Schwarz
5efd23fbc7 Replace bitmap menu with a standard menu, add highscore table, save last achieved level and add difficulty (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21964 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 23:26:50 +00:00
Dave Hooper
7a3845b753 Simplify my previous change, don't need separate defines for ipod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21962 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 21:08:38 +00:00
Johannes Schwarz
99f5299996 Commit FS#10350, prevents to save an unchanged highscore and move the function show_highscore to the lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 15:16:24 +00:00
Teruaki Kawashima
03cb2b83ae set YOFS to 0 for portrait LCDs.
set NUM_SCORES to 5 for all targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21959 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:51:07 +00:00