This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10485 - Some changes for brickmania
Attached to Project:
Rockbox
Opened by Asael Reiter (AsaelReiter) - Monday, 03 August 2009, 15:34 GMT+2
Last edited by Tomer Shalev (tomers) - Monday, 22 February 2010, 05:37 GMT+2
Opened by Asael Reiter (AsaelReiter) - Monday, 03 August 2009, 15:34 GMT+2
Last edited by Tomer Shalev (tomers) - Monday, 22 February 2010, 05:37 GMT+2
|
DetailsAfter adding the enlarge&shrink powerups (
During the working on that, I notice some code that I thought I can improve, so I rewrite some parts of the code. To use this code, you need the BMPs of the parts of the pad. (brickmania_left_pads,brickmania_middle_pads,brickmania_right_pads) If your resolution is 220x176 or monochrome, you can use attached files (even they are a little ugly). However, don't forget to add them to apps/plugins/bitmaps/native/SOURCES |
This task depends upon
Closed by Tomer Shalev (tomers)
Monday, 22 February 2010, 05:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: Partly accepted. The author will open separate Flyspray items for the changes that were not committed yet.
Monday, 22 February 2010, 05:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: Partly accepted. The author will open separate Flyspray items for the changes that were not committed yet.
I would like to commit this patch. Can you please sync it?
This patch is rather large. It would be best if you can split it into several different patches (post them all here). e.g. have a separate patch to replace hard-coded constants with #defines.
Regards,
Tomer
Someone (kkurbjun?) changed the fire-brick check, to be more smart (I guess it's help when the speed of the fires is more than the height of the bricks).
I did not touch it yet. I will check if I can improve that later.
Asael, Can you please create an updated patch with what is left from the original patch? Thanks
קודד ביום חול ;-)
By the way, why is 'brick' a one-dimensional array?
If there is no reason, I will change it.
I also wondered about that. If you think it is better to have it two dimensional, please post a patch and we'll see (notice there is the interdiff utility to compare to patches, which allows you to easily develop plugins which are dependent on each other).
Can you please post each of your patches separately, and close this task? It is hard to follow what other modifications this patch contains, and it is not a good practice for one FlySpray item to hold several different patches.
Patch file naming: Please rename bm.diff to something nicer, like brickmania_powerups_rework.diff, this way it will be easier to follow.
FlySpray item naming: 'Some changes for brickmania' is not a very descriptive name.
It will be easier for the committer (me) to just put the FlySpray item's name in the commit log message. In r24755 I've used this item's name as log message and got responses on IRC that I should have used some more descriptive text.
I did not understand how to work with interdiff, so I diffed the versions of brickmania.c
Asael, I would like to close this FlySpray item. Could you please create a new FS item explicitly for this patch?
Also, please list whatever changes the original patch contains, otherwise it might be forgotten after this FS item is closed.
Thanks, Tomer