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
Nils Wallménius
0a51d3915c
Remove redundant definitions of SCROLLBAR_WIDTH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22114 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 15:44:40 +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
3c7c79189e
* Move DSP_CALLBACK_* enum to sound.h
...
* Add software based volume control for a certain range (SW_VOLUME_MIN -> SW_VOLUME_MAX)
* Make Onda VX747 use it
* Don't change volume or frequency in Ingenic Jz4740 codec driver when they're already set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22106 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 21:38:18 +00:00
Maurus Cuelenaere
1ace06a67d
Metadata parser: make adjust_mp3entry() not depend on id3_is_genre_string(), so there's no need to compare the string to the whole genre array (thanks to Mikael Magnusson)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22105 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 19:52:54 +00:00
Maurus Cuelenaere
faf37f9d21
MP3 metadata parser:
...
* Use ARRAYLEN()
* id3_is_genre_string(): loop over the whole array instead of comparing a pointer to the first and last item of an array of pointers (fixes crash on Onda VX747)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22104 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 19:37:09 +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
Thomas Martitz
5c882be608
Fix FS#10478 - Used wrong directory in Browse theme files by explicitely setting current[] to '\0' in an else case.
...
current[] was used unitialized, so browsing themes actually used current[] from a previous call to rockbox_browse()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22094 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 15:23:06 +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
Nils Wallménius
65140a2cd5
Slight whitespace cleanup, add a const qualifier. No functional changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22087 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 13:52:11 +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
Teruaki Kawashima
221cae987f
fix page up/down in list (FS# 10435).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22082 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 13:45:10 +00:00
Teruaki Kawashima
f495488b08
fix forcing scrolling title like "Scroll Speed Setting Example".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22081 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 13:35:00 +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
Michael Giacomelli
5bd339c9f9
Clean up a lot of old and ugly comments. Wrap some long lines. Remove unneeded fixed point function. Move some fixed point math functions out of wmadeci. No functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22077 a1c6a512-1295-4272-9138-f99709370657
2009-07-28 22:19:53 +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
Jonathan Gordon
74d4d0db0c
this file isnt used anymore and should have been removed with the rest of the cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22069 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 15:47:32 +00:00
Maurus Cuelenaere
95c25d6d27
Touchscreen targets: add basic progress bar & volume handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22068 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 13:27:38 +00:00
Mohamed Tarek
c08a2c7c53
Change enum codecs in apps/codecs/librm/rm.h to follow the coding guidelines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22067 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 12:29:06 +00:00
Mohamed Tarek
5f5d105755
Change the naming scheme for codecs found in different containers.
...
Like changing AFMT_AAC to AFMT_MP4_AAC and AFMT_RAAC to AFMT_RM_AAC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22066 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 12:13:22 +00:00
Mohamed Tarek
320bd1adb8
Fix a bug spotted by Maurus Cuelenaere; rockbox crashed on viewing the porperties of files with unsupported extensions due to the null ext list in
...
raac. Also add support for audio-only rmvb files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22065 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 11:36:26 +00:00
Mohamed Tarek
c393b1dc5c
Fix compilation of the standalone test program.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22064 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 11:28:14 +00:00
Jonathan Gordon
5e5fc64cb2
Start of some apps/ and wps cleanup work... Move everything related to the actual drawing of the wps into apps/gui/wps_engine, things related to the actual screen are in apps/gui/music_screen.c (names are temporary unless noone comes up with anything better)
...
No real code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22062 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 07:21:05 +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
Dave Hooper
a8d1cfdec8
Approx 10% speedup in cook on files tested: Remove some inner loops in favour of memcpy/memset/vect_add calls; remove multiplication from index arithmetic in loops in favour of pointer arithmetic; make use of the MULT31, MULT31_SHIFT15 and CLIP_TO_15 implementations from codelib instead of having their own implementations in cook
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22055 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 19:06:36 +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
Thomas Martitz
9e9fb929b4
Deactive the playlist viewer wps shortcut on the x5/m5 because of its hardware inability to do combos. Only combos with the power button work, but that one does the hardware power off and should be avoided (many thanks to Marianne Arnold for clearing this up).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22049 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 22:53:43 +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
Mohamed Tarek
fe1568a11c
Fix yellow - (Value in an enumeration not handled in a switch).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22032 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 15:54:05 +00:00
Mohamed Tarek
b8cccb5ae1
Adding support for playback of aac audio in rm container, with seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22031 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 15:47:13 +00:00
Mohamed Tarek
8f572ca525
Compile librm separately in preparation for addition of more codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22028 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 15:13:50 +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
Jonathan Gordon
eb0061411d
more cuesheet cleanup. pass the cuesheet into cue functions so they dont have to call audio_current_track()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22020 a1c6a512-1295-4272-9138-f99709370657
2009-07-24 01:13:30 +00:00
Michael Giacomelli
bd9156a4ad
Remove a divide in the cook's init function. Harmless but might as well drop it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22019 a1c6a512-1295-4272-9138-f99709370657
2009-07-24 00:03:01 +00:00