FS#8931 - Bubbles on Sansa c250

Attached to Project: Rockbox
Opened by Anon Amous (P33KAJ3W) - Wednesday, 23 April 2008, 20:46 GMT
Last edited by Jonathan Gordon (jdgordon) - Friday, 28 November 2008, 03:13 GMT
Task Type Bugs
Category Applications
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Level Select (+/-) does not work
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Friday, 28 November 2008, 03:13 GMT
Reason for closing:  Fixed
Comment by Marc Guay (Marc_Guay) - Tuesday, 08 July 2008, 05:24 GMT
Looking briefly at the code it looks as though the same button (up/play) is being used for both "start the game" and "level increase".
Comment by x (vmh) - Saturday, 12 July 2008, 15:08 GMT
The button assignment seems to be o.k. The problem is the initial value of the maximum level: There's only 1 level. It's not possible to change the level if there's only 1.

Here is a patch where I changed the initial value of levels to the maximum of available levels.
Therefore the user can choose on which level he wants to start with.
It looks like there's also the possiblity to set the number of levels through a configuration file.
Comment by x (vmh) - Saturday, 12 July 2008, 15:29 GMT
And here is a fix for the scroll direction (see FS8950).
Comment by Marc Guay (Marc_Guay) - Saturday, 12 July 2008, 15:36 GMT
Regarding the original bug: It doesn't make sense that the problem is universal if it works fine on other targets, does it?
Comment by x (vmh) - Saturday, 12 July 2008, 16:00 GMT
It is 'universal'. You can check it with other players (and make sure there's no bubbles.score around).
What I don't understand is why the number of levels is stored in the highscore file.
Comment by x (vmh) - Saturday, 12 July 2008, 17:10 GMT
Marc, you're right: The problem is the button mapping for the c200 (I misread it for the e200)

Now I understand why highlevel is stored in the highscore file:
in bubbles.c: * highlevel is the highest level beaten
It's the game's philosophy that the user can only change to a lower startlevel. To reach a higher level the user must beat the level he's on.